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

添加2,535字节 、​ 2023年10月2日 (星期一)
//Edit via InPageEdit
(// Edit via InPageEdit)
(//Edit via InPageEdit)
 
(未显示2个用户的19个中间版本)
第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]] */
 
/* 复制粘贴到别的地方的时候记得写原出处,而不要写这里。 */
 
/* Reset tab size */
body {
tab-size: 4;
-moz-tab-size: 4;
}
 
/* Element animator */
th.mbox-text,
#siteNotice .animated > *:not(.animated-active),
td.mbox-text {
#localNotice .animated > *:not(.animated-active),
border: none;
#bodyContent .animated > *:not(.animated-active),
padding: 0.25em 0.9em;
#bodyContent .animated > .animated-subframe > *:not(.animated-active) {
width: 100%
display: none;
}
#bodyContent span.animated,
 
#bodyContent span.animated.animated-visible > *,
td.mbox-image {
#bodyContent span.animated.animated-visible > .animated-subframe > * {
border: none;
display: inline-block;
padding: 2px 0 2px 0.9em;
text-align: center
}
#bodyContent div.animated.animated-visible > *,
 
#bodyContent div.animated.animated-visible > .animated-subframe > * {
td.mbox-imageright {
borderdisplay: noneblock;
padding: 2px 0.9em 2px 0;
text-align: center
}
 
/* MD Icons */
td.mbox-empty-cell {
@font-face {
border: none;
font-family: 'Material Icons';
padding: 0px;
font-style: normal;
width: 1px
font-weight: 400;
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(https://fonts.gstatic.com/s/materialicons/v70/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'),
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.woff) format('woff'),
url(//cdn.bootcss.com/material-design-icons/3.0.2/iconfont/MaterialIcons-Regular.ttf) format('truetype');
}
 
.material-icons {
table.ambox {
font-family: 'Material Icons';
margin: 0px 10%;
font-weight: normal;
border-left: 10px solid #36c;
font-style: normal;
background: #f8f9fa
font-size: 24px;
}
/* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
 
/* Support for all WebKit browsers. */
table.ambox+table.ambox {
-webkit-font-smoothing: antialiased;
margin-top: -1px
/* Support for Safari and Chrome. */
}
text-rendering: optimizeLegibility;
 
/* Support for Firefox. */
.ambox th.mbox-text,
-moz-osx-font-smoothing: grayscale;
.ambox td.mbox-text {
padding: 0.25em 0.5em
}
 
/* Support for IE. */
.ambox td.mbox-image {
font-feature-settings: 'liga';
padding: 2px 0 2px 0.5em
}
 
vertical-align: bottom;
.ambox td.mbox-imageright {
padding: 2px 0.5em 2px 0
}
 
/* table fix on mobile */
table.ambox-notice {
.content table.ambox {
border-left: 10px solid #36c
margin-left: 0;
margin-right: 0;
}
 
table.ambox-speedy {
border-left: 10px solid #b32424;
background: #fee7e6
}
 
table.ambox-delete {
border-left: 10px solid #b32424
}
 
table.ambox-content {
border-left: 10px solid #f28500
}
 
table.ambox-style {
border-left: 10px solid #fc3
}
 
table.ambox-move {
border-left: 10px solid #9932cc
}
 
table.ambox-protection {
border-left: 10px solid #a2a9b1
}
 
/* MD Icons */
/* fallback */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/materialicons/v70/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}
 
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-smoothing: antialiased;
vertical-align: bottom;
}
 
/** Template stylings **/
第123行 ⟶ 第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: 8px solid #36c;
background-color: #f8f9fa;
}
 
第147行 ⟶ 第105行:
.msgbox + .msgbox {
margin-top: -0.5em;
border-top: none1px solid #ccc;
}
 
.msgbox.red {msgbox-default,
.msgbox.msgbox-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: #e44;
}
 
.msgbox.yellow {msgbox-orange,
.msgbox.msgbox-content {
background-color: #fdb;
border-left-color: #f90;
}
 
.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: #dff;
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: #eee;
border-left-color: #ddd;
}
 
 
/* [[Template:Documentation]], [[模块:Documentation]] */
第303行 ⟶ 第281行:
 
/* Horizontal list */
#bodyContentmw-content-text .hlist ul {
display: inline;
margin: 0;
第309行 ⟶ 第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;
第328行 ⟶ 第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;
}
 
第483行 ⟶ 第470行:
align-items: center;
max-width: max-content;
}
 
.quote-mark {
font: bold 3.3em Times, serif;
}
 
.quote-mark-start {
align-self: start;
}
 
.quote-mark-end {
line-height: 0.5;
align-self: end;
}
 
.quote-attribution {
grid-column: -3 / span 1;
text-align: right;
font-size: smaller;
}
 
.quote-content, .quote-content:lang(zh-Hans), .quote-content:lang(zh-Hans-CN) {
font-size: 107.143%;
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti SC", "AR PL UKai CN", "Adobe Kaiti Std", "AR PL UKai TW", KaiTi, STKaiti, BiauKai, DFKai-SB, sans-serif;
}
 
.quote-content:lang(zh-Hant), .quote-content:lang(zh-Hant-TW) {
font-family: Garamond, Optima, "Times New Roman", "Liberation Serif", "Kaiti TC", "AR PL UKai TW", "Adobe Kaiti Std", "AR PL UKai CN", BiauKai, DFKai-SB, KaiTi, STKaiti, sans-serif;
}
 
第655行 ⟶ 第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

个编辑