MediaWiki:Timeless.css

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

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

  • 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 .mw-parser-output h2:after, .mw-body h2 {
	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 {
	margin-top: 0.35em !important;
	border-bottom: solid 4px #BBBBBB;
}
.tools-inline li.selected { border-bottom-color: #BBBBBB; }

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

.mw-wiki-title {
	color: black !important;
	font-size: 1.63em !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: #BBBBBB; }
	.color-right { background: #BBBBBB; }
	.color-middle { background: #999999; }
	
	.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.3em !important;
		padding-top: 0.42em !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;
}