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

删除4,289字节 、​ 2023年10月2日 (星期一)
//Edit via InPageEdit
(//Edit via InPageEdit)
标签已被回退
(//Edit via InPageEdit)
 
(未显示同一用户的3个中间版本)
第8行:
 
/* 复制粘贴到别的地方的时候记得写原出处,而不要写这里。 */
 
:root {
--custom-background-blue: #ccf;
--custom-background-cyan: #cef;
--custom-background-green: #cfc;
--custom-background-gray: #d2d2d2;
--custom-background-grey: var(--custom-background-gray);
--custom-background-magenta: #fdf;
--custom-background-orange: #fdb;
--custom-background-purple: #ecf;
--custom-background-red: #fcc;
--custom-background-yellow: #ffc;
--custom-border-blue: #36e;
--custom-border-cyan: #9df;
--custom-border-green: #5d5;
--custom-border-gray: #bbb;
--custom-border-grey: var(--custom-border-gray);
--custom-border-magenta: #f9f;
--custom-border-orange: #f90;
--custom-border-purple: #96c;
--custom-border-red: #e44;
--custom-border-yellow: #fc3;
--custom-closed-topic-neutral: #eef;
--custom-closed-topic-no: #fee;
--custom-closed-topic-yes: #efe;
--custom-documentation: #eaf4f9;
--custom-documentation-baddoc: #f9f2ea;
--custom-documentation-nodoc: #f9eaea;
--custom-load-page-button-color: #fff8;
--custom-main-page-background: #fcfcfc;
--custom-main-page-border: var(--custom-border-gray);
--custom-main-page-edition-subheader: #333;
--custom-mcwiki-header-color: #bcd4f5;
--custom-navbox-background: #fff;
--custom-navbox-top: #ccc;
--custom-navbox-middle: #ddd;
--custom-navbox-thru: #eee;
--custom-nbt-inherit-color: #e6e6fa;
--custom-table-background: #f8f9fa;
--custom-table-alternate-background: #f0f1f2;
--custom-table-choice-always: #004100;
--custom-table-choice-always-background: #5dcc5d;
--custom-table-choice-default: #fff;
--custom-table-choice-in-off-background: #060;
--custom-table-choice-in-on-background: #0c0;
--custom-table-choice-na: #000;
--custom-table-choice-neutral: #9c6500;
--custom-table-choice-neutral-background: #ffeb9c;
--custom-table-choice-never: #700005;
--custom-table-choice-never-background: #ff5757;
--custom-table-choice-no: #9c0006;
--custom-table-choice-no-background: #ffc7ce;
--custom-table-choice-out-off-background: #900;
--custom-table-choice-out-on-background: #f00;
--custom-table-choice-partial: #8a7600;
--custom-table-choice-partial-background: #ffd;
--custom-table-choice-planned: #0131b7;
--custom-table-choice-planned-background: #dfdfff;
--custom-table-choice-rarely: #835400;
--custom-table-choice-rarely-background: #fdce5e;
--custom-table-choice-unknown: #222;
--custom-table-choice-unknown-background: #ccc;
--custom-table-choice-yes: #006100;
--custom-table-choice-yes-background: #c6efce;
--custom-table-header-background: #eaecf0;
--custom-topic-30-days: #bbb;
--custom-topic-7-days: #ddd;
}
 
/* Element animator */
第146行 ⟶ 第80行:
.msgbox {
display: grid;
grid-template-columns: 1fr;
gap: 0.6em;
align-items: center;
第152行 ⟶ 第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;
}
 
第176行 ⟶ 第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;
}
 
第289行 ⟶ 第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;
}
 
第392行 ⟶ 第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;
第400行 ⟶ 第281行:
 
/* Horizontal list */
#bodyContentmw-content-text .hlist ul {
display: inline;
margin: 0;
第406行 ⟶ 第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;
第425行 ⟶ 第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;
}
 
第485行 ⟶ 第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;
第496行 ⟶ 第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

个编辑