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

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

来自奇葩栖息地
添加2,158字节 、​ 2023年10月2日 (星期一)
//Edit via InPageEdit
无编辑摘要
(//Edit via InPageEdit)
 
(未显示2个用户的14个中间版本)
第5行:
*/
 
/* content mostly taken from [[adodoz:MediaWiki:Gadget-site-styles.css]], also from [[mcw:zh:MediaWiki:Gadget-site-styles.css]] & [[moe:zh:MediaWiki:Gadget-site-styles.css]] */
 
/* 复制粘贴到别的地方的时候记得写原出处,而不要写这里。 */
 
 
/* Element animator */
#siteNotice .animated > *:not(.animated-active),
#localNotice .animated > *:not(.animated-active),
#bodyContent .animated > *:not(.animated-active),
#bodyContent .animated > .animated-subframe > *:not(.animated-active) {
display: none;
}
#bodyContent span.animated,
#bodyContent span.animated.animated-visible > *,
#bodyContent span.animated.animated-visible > .animated-subframe > * {
display: inline-block;
}
#bodyContent div.animated.animated-visible > *,
#bodyContent div.animated.animated-visible > .animated-subframe > * {
display: block;
}
 
/* MD Icons */
第64行 ⟶ 第82行:
gap: 0.6em;
align-items: center;
border: 1px solid #ccc;
border-left: 8px solid #36c;
background-color: #f8f9fa;
max-width: 80%;
margin: 0.5em auto;
padding: 0.3em 0.6em;
border-left: 1px8px solid #ccc36c;
background-color: #f8f9fa;
}
 
第88行 ⟶ 第105行:
.msgbox + .msgbox {
margin-top: -0.5em;
border-top: none1px solid #ccc;
}
 
.msgbox.red {msgbox-default,
.msgbox.bluemsgbox-notice {
background-color: #fdd;
border-left-color: #faa36c;
background-color: #f8f9fa;
}
 
.msgbox.orange {msgbox-red,
.msgbox.msgbox-warning {
background-color: #fec;
border-leftbackground-color: #dc8fcc;
border-left-color: 8px solid #36ce44;
}
 
.msgbox.yellow {msgbox-orange,
.msgbox.msgbox-content {
background-color: #fddfdb;
border-left-color: #9cdf90;
}
 
.msgbox.msgbox-yellow,
.msgbox.msgbox-style {
background-color: #ffc;
border-left-color: #dd8fc3;
}
 
.msgbox.msgbox-green {,
.msgbox.msgbox-status {
background-color: #dfd;
border-leftbackground-color: #9c9cfc;
border-left-color: #3a3;
}
 
.msgbox.blue {
.msgbox.msgbox-cyan,
background-color: #def;
.msgbox.msgbox-version {
border-left-color: #9cd;
background-color: #dfddff;
border-left-color: #6df;
}
 
.msgbox.msgbox-magenta {
background-color: #fdf;
border-left-color: #dadf9f;
}
 
.msgbox.msgbox-purple {,
.msgbox.msgbox-move {
background-color: #eef;
border-leftbackground-color: #aadecf;
border-left-color: #96c;
}
 
.msgbox.msgbox-gray,
.msgbox.msgbox-protection {
background-color: #defeee;
border-left-color: #ddd;
}
 
 
/* [[Template:Documentation]], [[模块:Documentation]] */
第244行 ⟶ 第281行:
 
/* Horizontal list */
#bodyContentmw-content-text .hlist ul {
display: inline;
margin: 0;
第250行 ⟶ 第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;
第269行 ⟶ 第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;
}
 
第624行 ⟶ 第670行:
transition: color .13s linear;
color: #BA0000;
}
 
/* CJK */
span[lang] {
font-family: initial;
font-feature-settings: "locl" on;
-webkit-font-feature-settings: "locl" on;
}
[style*="font:" i] span[lang],
[style*="font-family:" i] span[lang] {
font-family: inherit;
}
 
/* Japanese Italic */
@font-face {
font-family: JapaneseItalic;
src: local(meiryo);
}
i span[lang=ja i],
span[lang=ja i] i,
[style*=italic i] span[lang=ja i],
span[lang=ja i] [style*=italic i] {
font-family: JapaneseItalic, sans-serif;
}
[style*="font:" i] i span[lang=ja i],
[style*="font-family:" i] i span[lang=ja i],
[style*="font:" i] span[lang=ja i] i,
[style*="font-family:" i] span[lang=ja i] i,
[style*="font:" i] [style*=italic i] span[lang=ja i],
[style*="font-family:" i] [style*=italic i] span[lang=ja i],
[style*="font:" i] span[lang=ja i] [style*=italic i],
[style*="font-family:" i] span[lang=ja i] [style*=italic i] {
font-family: inherit;
}
2,007

个编辑