MediaWiki:Common.css:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第148行: 第148行:
color: #fff;  
color: #fff;  
}
}
blockquote>div.mw-highlight>pre, blockguote>pre {
blockquote>div.mw-highlight>pre, blockquote>pre {
background: #d0ee87 !important;
background: #d0ee87 !important;
}
}

2020年6月3日 (三) 09:20的版本

/* 这里放置的CSS将应用于所有皮肤 */
html body {
	font-family: Times New Roman,Trebuchet MS,Sans Serif,Arial;
}
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;
    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 div.wikiLeftRightBoxMain {
	width: 100%;
}
div.wiki-codepen div.wikiLeftRightBoxMain .tabs-tabbox{
	margin: 0;
}
div.wiki-codepen div.wikiLeftRightBoxMain .tabs-tabbox .tabs-container {
	margin: 0;
    padding: 0;
    height: 300px;
    border-radius: 0;
}
div.wiki-codepen .tabs-content {
    width: 100%;
    height: 100%;
}
div.wiki-codepen .tabs-content .mw-highlight {
    display: table;
    height: 100%;
    width: 100%;
}
div.wiki-codepen .tabs-content .mw-highlight pre{
    border: none !important;
    height: 100%;
}
div.wiki-codepen .tabs-content, div.wiki-codepen .tabs-content .mw-highlight, div.wiki-codepen .tabs-content .mw-highlight pre {
    margin: 0;
}
div.wiki-codepen .wiki-codepen-iframe{
    margin: 0;
}
div.wiki-codepen .wiki-codepen-iframe iframe{
    width: 100%;
    height: 300px;
    margin-top: 25px;
    border: 1px solid #AAA;
    padding: 0;
    overflow: auto;
    display: block;
}
table.wikitable div.mw-highlight pre, table.wikitable div.shc-content pre{
	margin: 0;
}
div.wiki-test-content{
	display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    border: 1px solid black;
    width: 50px;
    height: 50px;
    color: white;
    text-align: center;
    border-radius: 10px;
}
.wikiLeftRightBoxMain .wiki-hc-background>div, .wikiLeftRightBoxMain .wiki-hc-background>div>div.mw-highlight {
	margin: 0 !important;
}
div#Consoleoutstyle {
	margin:0;
	padding:0;
}
div#Consoleoutstyle * {
	background-color: #000;
	color: #fff; 
}
blockquote>div.mw-highlight>pre, blockquote>pre {
	background: #d0ee87 !important;
}
blockquote>div.mw-highlight>pre span.nt{
	color: #247ff0 !important;
}
blockquote>div.mw-highlight>pre span.p{
	color: red !important;
}