“MediaWiki:Timeless.css”的版本间的差异

来自「荏苒之境」
第74行: 第74行:
@media screen and (max-width: 851px) {
@media screen and (max-width: 851px) {
#p-logo-text {
#p-logo-text {
     left: 3em;
     left: 2.5em;
}
}
.mw-body h1.firstHeading {
.mw-body h1.firstHeading {

2021年9月1日 (三) 19:43的版本

/* 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);

body {
	font-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, #personal h2 {
	font-family: "Noto Serif SC" !important;
}

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

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

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

.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) {
	#personal h2 {
		font-size: 1.2em;
		padding: 0.25em 0 0 25px;
	}

	.color-left { background: #BBBBBB; }
	.color-right { background: #BBBBBB; }
	.color-middle { background: #999999; }
	
	.mw-wiki-title {
		padding-top: 0.12em !important;
	}
	.mw-wiki-logo {
		height: 9em !important;
	}
}

@media screen and (max-width: 851px) {
	#p-logo-text {
    	left: 2.5em;
	}
	.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.23em 4.5em 0.2em 2em !important;
}

a { color: #999999 !important; }