MediaWiki:Common.css

来自DOLLARS
Admin讨论 | 贡献2016年3月5日 (六) 13:09的版本
跳转到导航 跳转到搜索

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

  • 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
/* 放置于这里的 CSS 将应用于所有皮肤 */
/* html {
	-webkit-filter:invert(100%);
	filter:invert(100%);
}
 
img {
	-webkit-filter:invert(100%);
	filter:invert(100%);
}
 
.wikiEditor-preview-spinner {
	-webkit-filter:invert(0%);
	filter:invert(0%);
} */

html {
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	text-size-adjust: none;
}

code, pre {
	font-family: Menlo, Consolas, monospace !important;
}

/* http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	display: table;
	content: "";
}

.clearfix:after {
	clear: both;
}

.col {
	float: left;
	box-sizing: border-box;
	padding: .6rem;
}

.col-3 {
	width: 25%;
}

.col-4 {
	width: 33.3333%;
	width: calc(100% / 3);
}

.col-6 {
	width: 50%;
}

.col-12 {
	width: 100%;
}

.col.gray { background: #f1f1f1; }
.col.yellow { background: #FDF5EB; }
.col.blue { background: #EBF8FD; }

@media (max-width: 800px) {
	.col-3 {
		width: 50%;
	}
	
	.col-4,
	.col-6 {
		width: 100%;
	}
}

/* Custom styles copied from Wikipedia
   https://en.wikipedia.org/wiki/MediaWiki:Common.css
*/