打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模块:Documentation/styles.css

来自星露谷物语扩展百科
.documentation {
  --doc-bg-r: 234;
  --doc-bg-g: 244;
  --doc-bg-b: 249;
  background-color: rgba(var(--doc-bg-r), var(--doc-bg-g), var(--doc-bg-b), 0.49);
  border: 1px solid #bbb;
  padding: 0.8em 1em 0.7em;
  margin-top: 1em;
  clear: both;
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .documentation {
		--doc-bg-r: 57;
		--doc-bg-g: 62;
		--doc-bg-b: 63;
		border-color: hsl(0, 0%, 36%);
	}
}

html.skin-theme-clientpref-night .documentation {
  --doc-bg-r: 57;
  --doc-bg-g: 62;
  --doc-bg-b: 63;
  border-color: hsl(0, 0%, 36%);
}

.documentation-header-top,
.documentation-header-bottom {
  --doc-header-r: 234;
  --doc-header-g: 244;
  --doc-header-b: 249;
  padding: 0.8em 1em 0.7em;
  background-color: rgba(var(--doc-header-r), var(--doc-header-g), var(--doc-header-b), 0.49);
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .documentation-header-top,
	html.skin-theme-clientpref-os .documentation-header-bottom {
	  --doc-header-r: 57;
	  --doc-header-g: 62;
	  --doc-header-b: 63;
	}
}

html.skin-theme-clientpref-night .documentation-header-top,
html.skin-theme-clientpref-night .documentation-header-bottom {
  --doc-header-r: 57;
  --doc-header-g: 62;
  --doc-header-b: 63;
}

.documentation-header-top {
  margin: -0.8em -1em 0.8em;
  border-bottom: inherit;
}

.documentation-header-bottom {
  margin: 0.7em -1em -0.7em;
  border-top: inherit;
  clear: both;
}

.documentation #documentation-jump-to-code {
  white-space: nowrap;
}

.documentation #documentation-header-tools {
  float: right;
  margin-left: 1.5em;
}

.documentation-header-title {
  font-weight: bold;
  font-size: 130%;
  margin-right: 0.6em;
  line-height: 1;
}

.documentation-badDoc {
  --doc-bg-r: 249;
  --doc-bg-g: 242;
  --doc-bg-b: 234;
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .documentation-badDoc {
	  --doc-bg-r: 63;
	  --doc-bg-g: 60;
	  --doc-bg-b: 57;
	}
}

html.skin-theme-clientpref-night .documentation-badDoc {
  --doc-bg-r: 63;
  --doc-bg-g: 60;
  --doc-bg-b: 57;
}

.documentation-noDoc {
  --doc-bg-r: 249;
  --doc-bg-g: 234;
  --doc-bg-b: 234;
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .documentation-noDoc {
	  --doc-bg-r: 63;
	  --doc-bg-g: 57;
	  --doc-bg-b: 57;
	}
}

html.skin-theme-clientpref-night .documentation-noDoc {
  --doc-bg-r: 63;
  --doc-bg-g: 57;
  --doc-bg-b: 57;
}

/* Custom */

@media (max-width: 350px) {
  .documentation .documentation-header-top #documentation-header-tools {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .documentation .documentation-header-bottom #documentation-header-tools {
    width: 100%;
  }
}

.mw-content-ltr.mw-highlight-lines pre,
.mw-content-ltr.content .mw-highlight-lines pre {
  box-shadow: inset 2.75em 0 0 rgba(240, 240, 240, 0.51);
}

.documentation code {
  background-color: unset;
  border: unset;
}

.documentation .infoboxborder::before {
  border: 0;
}

.documentation .wikitable>*>tr>th a::after,
.documentation .infoboxsection a::after {
  content: "";
  background-image: unset;
  width: unset;
}

#documentation-header-tools a.external,
.shortcut-box a.external {
  background-position: unset;
  padding-right: unset;
  background: none !important;
  background-image: none !important;
}