欢迎来到奇葩栖息地!欢迎加入Discord服务器:XfrfHCzfbW欢迎加入QQ频道:r01m9y3iz6请先至特殊:参数设置验证邮箱后再进行编辑。特殊:参数设置挑选自己想要使用的小工具!不会编辑?请至这里学习Wikitext语法。

MediaWiki:Gadget-site-styles.css:修订间差异

来自奇葩栖息地
添加1,975字节 、​ 2023年9月30日 (星期六)
//Edit via InPageEdit
(// Edit via Wikiplus)
(//Edit via InPageEdit)
标签已被回退
第80行:
.msgbox {
display: grid;
grid-template-columns: 1fr;
gap: 0.6em;
align-items: center;
第85行 ⟶ 第86行:
margin: 0.5em auto;
padding: 0.3em 0.6em;
border-left: 8px solid #36cvar(--custom-border-blue);
background-color: #f8f9favar(--custom-table-background);
 
.msgbox.has-image {
grid-template-columns: max-content 1fr;
}
 
第105行 ⟶ 第110行:
.msgbox + .msgbox {
margin-top: -0.5em;
border-top: 1px solid #cccvar(--theme-border-color);
}
 
.msgbox.msgbox-default,
.msgbox.msgbox-notice {
background-color: var(--custom-table-background);
border-left-color: #36c;
backgroundborder-left-color: #f8f9favar(--custom-border-blue);
}
 
.msgbox.msgbox-red,
.msgbox.msgbox-warning {
background-color: #fccvar(--custom-background-red);
border-left-color: #e44var(--custom-border-red);
}
 
.msgbox.msgbox-orange,
.msgbox.msgbox-content {
background-color: #fdbvar(--custom-background-orange);
border-left-color: #f90var(--custom-border-orange);
}
 
.msgbox.msgbox-yellow,
.msgbox.msgbox-style {
background-color: #ffcvar(--custom-background-yellow);
border-left-color: #fc3var(--custom-border-yellow);
}
 
.msgbox.msgbox-green,
.msgbox.msgbox-status {
background-color: #cfcvar(--custom-background-green);
border-left-color: #3a3var(--custom-border-green);
}
 
.msgbox.msgbox-cyan,
.msgbox.msgbox-version {
background-color: #dffvar(--custom-background-cyan);
border-left-color: #6dfvar(--custom-border-cyan);
}
 
.msgbox.msgbox-magenta {
background-color: #fdfvar(--custom-background-magenta);
border-left-color: #f9fvar(--custom-border-magenta);
}
 
.msgbox.msgbox-purple,
.msgbox.msgbox-move {
background-color: #ecfvar(--custom-background-purple);
border-left-color: #96cvar(--custom-border-purple);
}
 
.msgbox.msgbox-graygrey,
.msgbox.msgbox-protection {
background-color: #eeevar(--custom-background-grey);
border-left-color: #dddvar(--theme-border-color);
}
 
.msgbox-body.align-left {
text-align: left;
 
.msgbox-body.align-center {
/* [[Template:Documentation]], [[模块:Documentation]] */
text-align: center;
 
.msgbox-body.align-right {
text-align: right;
 
#mw-content-text .msgbox-text p {
margin: 0;
 
 
/* [[Template:Documentation]], [[模块:Documentation]] */
.documentation,
.documentation-headerdocpage.documentation-docpageheader {
border: 1px solid #AAAvar(--theme-border-color);
}
 
.documentation-docpage.documentation-header {
margin-bottom: 0.8em;
}
 
.documentation .documentation-header {
margin: -0.8em -1em 0.8em;
border-bottom: inherit;
}
 
.documentation-header .links,
.documentation-footer .links {
float: right;
}
 
.documentation-header .title {
margin-right: 1em;
font-size: 130%;
font-weight: bold;
line-height: 1;
}
 
.documentation .documentation-footer {
margin: 0.7em -1em -0.7em;
border-top: inherit;
clear: both;
}
 
.documentation {
margin-top: 1em;
}
 
第171行 ⟶ 第223行:
.documentation-header,
.documentation-footer {
background-color: #F8F9FAvar(--custom-documentation);
padding: 0.8em 10px1em 0.7em;
}
 
.documentation.documentation-nodoc {
background-color: #F9EAEAvar(--custom-documentation-nodoc);
}
 
.documentation.documentation-baddoc {
background-color: #F9F2EAvar(--custom-documentation-baddoc);
}
 
第273行 ⟶ 第326行:
/* [[Template:Shortcut]] */
.shortcut-box {
background-color: #f8f9favar(--custom-table-background);
border: 1px solid #CCCvar(--theme-border-color);
max-width: 400px;
min-width: 70px;
第366行 ⟶ 第419行:
/* [[Template:Archive box]] */
.archive-box {
background-color: #f8f9favar(--custom-table-background);
text-align: left;
border: 1px solid #CCCvar(--theme-border-color);
margin-top: 3px;
max-width: 16em;
第377行 ⟶ 第430行:
 
/* [[Template:Table Choice]] */
.tc-default {
background-color: #f8f9fa;
color: #222222;
.tc-always {
background-color: #5DCC5Dvar(--custom-table-choice-always-background);
color: #004100var(--custom-table-choice-always);
}
 
.tc-yes {
background-color: #C6EFCEvar(--custom-table-choice-yes-background);
color: #006100var(--custom-table-choice-yes);
}
 
.tc-no {
background-color: #FFC7CEvar(--custom-table-choice-no-background);
color: #9C0006var(--custom-table-choice-no);
}
 
.tc-never {
background-color: #FF5757var(--custom-table-choice-never-background);
color: #700005var(--custom-table-choice-never);
}
 
.tc-rarely {
background-color: #FDCE5Evar(--custom-table-choice-rarely-background);
color: #835400var(--custom-table-choice-rarely);
}
 
.tc-neutral {
background-color: #FFEB9Cvar(--custom-table-choice-neutral-background);
color: #9C6500var(--custom-table-choice-neutral);
}
 
.tc-partial {
background-color: #FFFFDDvar(--custom-table-choice-partial-background);
color: #8A7600var(--custom-table-choice-partial);
}
 
.tc-planned {
background-color: #DFDFFFvar(--custom-table-choice-planned-background);
color: #0131B7var(--custom-table-choice-planned);
}
 
.tc-unknown {
background-color: #CCCCCCvar(--custom-table-choice-unknown-background);
color: #222222var(--custom-table-choice-unknown);
}
 
.tc-in-off {
background-color: #006600var(--custom-table-choice-in-off-background);
color: #FFFFFFvar(--custom-table-choice-default);
}
 
.tc-in-on {
background-color: #00CC00var(--custom-table-choice-in-on-background);
color: #FFFFFFvar(--custom-table-choice-default);
}
 
.tc-out-off {
background-color: #990000var(--custom-table-choice-out-off-background);
color: #FFFFFFvar(--custom-table-choice-default);
}
 
.tc-out-on {
background-color: #FF0000var(--custom-table-choice-out-on-background);
color: #FFFFFFvar(--custom-table-choice-default);
.tc-na {
background-color: #FFFFFF;
color: #000000;
}
 
.tc-defaultna {
/* [[Template:Close topic]] */
background-color: var(--custom-table-choice-default);
.closed-topic-yes {
color: var(--custom-table-choice-na);
border: 1px dotted #AAA;
background-color: #efe;
padding: 0 10px;
.closed-topic-no {
border: 1px dotted #AAA;
background-color: #fee;
padding: 0 10px;
.closed-topic-neutral {
border: 1px dotted #AAA;
background-color: #eef;
padding: 0 10px;
 
/* [[Template:Quote]] */
2,007

个编辑