MediaWiki:Common.css
来自康健生活
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/* 这里放置的CSS将应用于所有皮肤 */
div.wiki-template-box.wiki-template-box-tip {
background-color: #dfd;
border-color: #bdb;
}
div.wiki-template-box {
padding: 5px;
border: thin solid black;
margin: 0.5em 0;
overflow: hidden;
}
#content pre, #content code, #content tt {
background-color: #ebf1f5;
font-family: monospace;
}
#content pre {
border: 1px solid #bbccdd;
overflow: auto;
word-break: break-all;
white-space: pre-wrap !important;
}
#content table, #content h1, #content h2, #content h3, #content h4, #content h5, #content pre, #content code, #content tt {
color: #222222;
}
/* 模板文档皮肤 */
.template-documentation {
background: aliceblue;
padding: 1em;
border: 1px solid #aaa;
}
.template-documentation-header {
padding-bottom:3px;
border-bottom: 1px solid #aaa;
margin-bottom:1ex;
}
.template-documentation-header span {
font-weight: bold;
font-size: 125%;
}
.template-documentation-header span.plainlinks {
font-size:small;
}
#template_doc_page_transcluded {
font-size:84%;
}
.pageBoxGreen {
background: #E9FBE9;
padding: .5em;
margin: .5em 0;
page-break-inside: avoid;
border-left: .5em solid #52E052;
}
.wikiLeftRightBoxMain {
height: auto;
display: flex;
border: 1px dashed #cccccc;
margin: auto;
}
.wikiLeftRightBoxMain .left, .wikiLeftRightBoxMain .right {
flex: 0;
}
.wikiLeftRightBoxMain div {
margin: .5em;
flex: 1;
}
div.wiki-shc-background pre{
background: #222222 !important;
color: #f6f6f6 !important;
}
div.wiki-hc-background>div {
border-top: 1px dashed #bbccdd !important;
padding: 0 !important;
}
div.wiki-hc-background>div pre {
margin: 0 !important;
border-top: none !important;
}
div.wiki-hcdiff-main div.right pre {
border-left: none !important;
}
div.wiki-codepen .tabs-content {
width: 100%;
}
div.wiki-codepen .tabs-content, div.wiki-codepen .tabs-content .mw-highlight, div.wiki-codepen .tabs-content .mw-highlight pre {
margin: 0;
}
No categories