MediaWiki:Timeless.css

来自「荏苒之境」
Sicusa讨论 | 贡献2021年9月2日 (四) 11:35的版本

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

  • 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 */

.mw-body h1 {
	padding-bottom: 3.5px !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-content-container a { color: #999999 !important; }
#mw-content-container a.new { color: #c98e8e !important; }

.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) {
	.mw-wiki-title {
		font-size: 1.5em !important;
		padding-top: 0.3em !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-right: 0 !important;
	}
	#p-logo-text {
    	left: 3em;
	}
	#personal-extra ul {
		margin-right: 0;
	}
	.mw-body h1.firstHeading {
		padding-top: 0.3em !important;
	}
	#mw-header-hack {
		box-shadow: 3px 3px 3px 2px rgba(0,0,0,0.075);
	}
	.mw-body {
		margin-bottom: 15px;
	}
}

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