MediaWiki:Timeless.css

来自「荏苒之境」
Sicusa讨论 | 贡献2021年9月1日 (三) 14:26的版本

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer / Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* All CSS here will be loaded for users of the Timeless skin */

@import url(https://googlefonts.wp-china-yes.net/css?family=Noto+Serif+SC);

.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt,
#p-logo-text a {
	font-family: "Noto Serif SC" !important;
}

.wikiEditor-ui-text textarea.mw-editfont-monospace {
	font-family: "Noto Serif SC", 'Menlo','Consolas','Monaco','Noto Mono','Nimbus Mono L',monospace !important;
}

.mw-body h1 {
	padding-bottom: 3px !important;
}

.mw-body .mw-parser-output h2:after {
	padding-bottom: 3px !important;
}

body {
	font-family: "Noto Serif SC";
}

.color-left { background: white; }
.color-right { background: white; }
.color-middle { background: white; }

.mw-footer-container a { color: #DDDDDD !important; }

.mw-parser-output a.external, .link-https {
	-webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}

#mw-content-container { border-bottom: solid 4px #BBBBBB; }
.mw-footer-container { border-top: solid 1px #BBBBBB !important; }

.mw-body h1.firstHeading { border-bottom: solid 4px #BBBBBB; }
.tools-inline li.selected { border-bottom-color: #BBBBBB; }

.mw-wiki-title {
	color: black !important;
	font-size: 1.7em !important;
	height: 100% !important;
	padding-top: 0.2em !important;
	vertical-align: middle !important;
	display: table-cell !important;
}

@media screen and (min-width: 851px) {
	.color-left { background: #BBBBBB; }
	.color-right { background: #BBBBBB; }
	.color-middle { background: #999999; }
	
	.mw-wiki-title {
		padding-top: 0.11em !important;
	}
	.mw-wiki-logo {
		height: 9em !important;
	}
}

@media screen and (max-width: 851px) {
	.mw-body h1.firstHeading {
		padding-top: 0.3em !important;
	}
	#mw-header-hack {
		box-shadow: 0 3px 3px 2px rgba(0,0,0,0.075);
	}
	.mw-body {
		margin-bottom: 15px;
	}
}

#searchInput {
	padding: 0.25em 4.5em 0.2em 2em !important;
}

a { color: #999999 !important; }