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

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

来自奇葩栖息地
删除1,736字节 、​ 2023年10月2日 (星期一)
//Edit via InPageEdit
(//Edit via InPageEdit)
标签已被回退
(//Edit via InPageEdit)
 
(未显示同一用户的4个中间版本)
第80行:
.msgbox {
display: grid;
grid-template-columns: 1fr;
gap: 0.6em;
align-items: center;
第86行 ⟶ 第85行:
margin: 0.5em auto;
padding: 0.3em 0.6em;
border-left: 8px solid var(--custom-border-blue)#36c;
background-color: var(--custom-table-background)#f8f9fa;
}
 
.msgbox.has-image {
grid-template-columns: max-content 1fr;
}
 
第110行 ⟶ 第105行:
.msgbox + .msgbox {
margin-top: -0.5em;
border-top: 1px solid var(--theme-border-color)#ccc;
}
 
.msgbox.msgbox-default,
.msgbox.msgbox-notice {
border-left-color: #36c;
background-color: var(--custom-table-background);
border-leftbackground-color: var(--custom-border-blue)#f8f9fa;
}
 
.msgbox.msgbox-red,
.msgbox.msgbox-warning {
background-color: var(--custom-background-red)#fcc;
border-left-color: var(--custom-border-red)#e44;
}
 
.msgbox.msgbox-orange,
.msgbox.msgbox-content {
background-color: var(--custom-background-orange)#fdb;
border-left-color: var(--custom-border-orange)#f90;
}
 
.msgbox.msgbox-yellow,
.msgbox.msgbox-style {
background-color: var(--custom-background-yellow)#ffc;
border-left-color: var(--custom-border-yellow)#fc3;
}
 
.msgbox.msgbox-green,
.msgbox.msgbox-status {
background-color: var(--custom-background-green)#cfc;
border-left-color: var(--custom-border-green)#3a3;
}
 
.msgbox.msgbox-cyan,
.msgbox.msgbox-version {
background-color: var(--custom-background-cyan)#dff;
border-left-color: var(--custom-border-cyan)#6df;
}
 
.msgbox.msgbox-magenta {
background-color: var(--custom-background-magenta)#fdf;
border-left-color: var(--custom-border-magenta)#f9f;
}
 
.msgbox.msgbox-purple,
.msgbox.msgbox-move {
background-color: var(--custom-background-purple)#ecf;
border-left-color: var(--custom-border-purple)#96c;
}
 
.msgbox.msgbox-greygray,
.msgbox.msgbox-protection {
background-color: var(--custom-background-grey)#eee;
border-left-color: var(--theme-border-color)#ddd;
}
 
.msgbox-body.align-left {
text-align: left;
}
 
/* [[Template:Documentation]], [[模块:Documentation]] */
.msgbox-body.align-center {
text-align: center;
}
 
.msgbox-body.align-right {
text-align: right;
}
 
#mw-content-text .msgbox-text p {
margin: 0;
}
 
 
/* [[Template:Documentation]] */
.documentation,
.documentation-docpageheader.documentation-headerdocpage {
border: 1px solid var(--theme-border-color)#AAA;
}
 
.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;
}
 
第223行 ⟶ 第171行:
.documentation-header,
.documentation-footer {
background-color: var(--custom-documentation)#F8F9FA;
padding: 0.8em 1em 0.7em;
}
 
.documentation.documentation-nodoc {
background-color: var(--custom-documentation-nodoc)#F9EAEA;
}
 
.documentation.documentation-baddoc {
background-color: var(--custom-documentation-baddoc)#F9F2EA;
}
 
第326行 ⟶ 第273行:
/* [[Template:Shortcut]] */
.shortcut-box {
background-color: var(--custom-table-background)#f8f9fa;
border: 1px solid var(--theme-border-color)#CCC;
max-width: 400px;
min-width: 70px;
第334行 ⟶ 第281行:
 
/* Horizontal list */
#bodyContentmw-content-text .hlist ul {
display: inline;
margin: 0;
第340行 ⟶ 第287行:
}
 
#bodyContentmw-content-text .hlist li {
display: inline;
}
 
#bodyContentmw-content-text .hlist li:not(:last-child) {
padding-right: 0.286em;
}
 
#bodyContentmw-content-text .hlist li:not(:last-child)::after {
content: "";
display: inline-block;
第359行 ⟶ 第306行:
}
 
#bodyContentmw-content-text .hlist li > ul li:first-child::before {
content: "(";
}
 
#bodyContentmw-content-text .hlist li > ul li:last-child::after {
content: ")";
}
 
#bodyContentmw-content-text .hlist li li li {
font-size: x-small;
}
 
/** hlist exception on MobileDiff **/
#mw-mf-diffarea .hlist.revision-history-links li {
display: inline-block;
padding-right: 0;
}
#mw-mf-diffarea .hlist.revision-history-links li::after {
display: none;
}
 
第419行 ⟶ 第375行:
/* [[Template:Archive box]] */
.archive-box {
background-color: var(--custom-table-background)#f8f9fa;
text-align: left;
border: 1px solid var(--theme-border-color)#CCC;
margin-top: 3px;
max-width: 16em;
第430行 ⟶ 第386行:
 
/* [[Template:Table Choice]] */
.tc-default {
background-color: #f8f9fa;
color: #222222;
}
.tc-always {
background-color: var(--custom-table-choice-always-background)#5DCC5D;
color: var(--custom-table-choice-always)#004100;
}
 
.tc-yes {
background-color: var(--custom-table-choice-yes-background)#C6EFCE;
color: var(--custom-table-choice-yes)#006100;
}
 
.tc-no {
background-color: var(--custom-table-choice-no-background)#FFC7CE;
color: var(--custom-table-choice-no)#9C0006;
}
 
.tc-never {
background-color: var(--custom-table-choice-never-background)#FF5757;
color: var(--custom-table-choice-never)#700005;
}
 
.tc-rarely {
background-color: var(--custom-table-choice-rarely-background)#FDCE5E;
color: var(--custom-table-choice-rarely)#835400;
}
 
.tc-neutral {
background-color: var(--custom-table-choice-neutral-background)#FFEB9C;
color: var(--custom-table-choice-neutral)#9C6500;
}
 
.tc-partial {
background-color: var(--custom-table-choice-partial-background)#FFFFDD;
color: var(--custom-table-choice-partial)#8A7600;
}
 
.tc-planned {
background-color: var(--custom-table-choice-planned-background)#DFDFFF;
color: var(--custom-table-choice-planned)#0131B7;
}
 
.tc-unknown {
background-color: var(--custom-table-choice-unknown-background)#CCCCCC;
color: var(--custom-table-choice-unknown)#222222;
}
 
.tc-in-off {
background-color: var(--custom-table-choice-in-off-background)#006600;
color: var(--custom-table-choice-default)#FFFFFF;
}
 
.tc-in-on {
background-color: var(--custom-table-choice-in-on-background)#00CC00;
color: var(--custom-table-choice-default)#FFFFFF;
}
 
.tc-out-off {
background-color: var(--custom-table-choice-out-off-background)#990000;
color: var(--custom-table-choice-default)#FFFFFF;
}
 
.tc-out-on {
background-color: var(--custom-table-choice-out-on-background)#FF0000;
color: var(--custom-table-choice-default)#FFFFFF;
}
.tc-na {
background-color: #FFFFFF;
color: #000000;
}
 
/* [[Template:Close topic]] */
.tc-na {
.closed-topic-yes {
background-color: var(--custom-table-choice-default);
border: 1px dotted #AAA;
color: var(--custom-table-choice-na);
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

个编辑