MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
小无编辑摘要 |
无编辑摘要 |
||
第23行: | 第23行: | ||
code, pre { | code, pre { | ||
font-family: Menlo, Consolas, monospace !important; | font-family: Menlo, Consolas, monospace !important; | ||
} | |||
/* http://nicolasgallagher.com/micro-clearfix-hack/ */ | |||
.clearfix:before, | |||
.clearfix:after { | |||
display: table; | |||
content: ""; | |||
} | |||
.clearfix:after { | |||
clear: both; | |||
} | } | ||
2016年3月5日 (六) 13:09的版本
/* 放置于这里的 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
*/