MediaWiki:Timeless.css

来自「荏苒之境」

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

  • 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: 4px !important;
}

.mw-body h2 {
	font-size: 1.7em !important;
}

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

.mw-indicator {
	display: inherit;
}

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

.mw-footer-container a { color: #ddd !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 #bbb;
	background-image: none;
}
.mw-footer-container { border-top: solid 1px #bbb !important; }

.mw-body h1.firstHeading {
	margin-top: 0.33em !important;
	border-bottom: solid 4px #bbb;
}
.tools-inline li.selected { border-bottom-color: #bbb; }

#mw-content-container a, .toctogglelabel, .mw-portlet-body a { color: #7e8390 !important; }
#mw-content-container a.new { color: #c98e8e !important; }

.mw-wiki-title {
	color: black !important;
	font-size: 1.62em !important;
	height: 100% !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: #bbb; }
	.color-right { background: #bbb; }
	.color-middle { background: #999; }
	
	.mw-wiki-title {
		padding-top: 0.13em !important;
	}
	.mw-wiki-logo {
		height: 9em !important;
	}
}

@media screen and (max-width: 851px) {
	.mw-wiki-title {
		font-size: 1.5em !important;
		padding-top: 0.32em !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;
}

abbr[title], .explain[title] {
    border-bottom: 0;
    text-decoration: none;
}