“MediaWiki:Common.css”的版本间的差异
来自「荏苒之境」
小 |
|||
(未显示同一用户的78个中间版本) | |||
第1行: | 第1行: | ||
/* 这里放置的CSS将应用于所有皮肤 */ | /* 这里放置的CSS将应用于所有皮肤 */ | ||
@import url(https://googlefonts.wp-china-yes.net/ | @import url(https://googlefonts.wp-china-yes.net/css2?family=Noto+Serif+SC:wght@200..900&display=swap); | ||
@font-face { | |||
font-family: Shohna; | |||
src: url(https://gilatod.art/wp-content/uploads/custom_fonts/Shohna.ttf); | |||
font-weight: normal; | |||
} | |||
@font-face { | |||
font-family: DoulosSIL-Regular; | |||
src: url(https://gilatod.art/wp-content/uploads/custom_fonts/DoulosSIL-Regular.ttf); | |||
font-weight: normal; | |||
} | |||
body { | body { | ||
font-family: "Noto Serif SC"; | font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna"; | ||
font-size: 1em; | font-size: 1em; | ||
line-height: 1.6em | |||
} | } | ||
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt, | .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt, | ||
#p-logo-text a, #personal h2 { | #p-logo-text a, #personal h2 { | ||
font-family: "Noto Serif SC" !important; | font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna" !important; | ||
} | } | ||
.wikiEditor-ui-text textarea.mw-editfont-monospace { | .wikiEditor-ui-text textarea.mw-editfont-monospace, .screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace { | ||
font-family: 'Menlo','Consolas','Monaco','Noto Mono','Nimbus Mono L', "Noto Serif SC" !important; | font-family: 'Menlo','Consolas','Monaco','Noto Mono','Nimbus Mono L', "Noto Serif SC", "Shohna" !important; | ||
} | } | ||
第21行: | 第33行: | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
float: right; | float: right; | ||
font-size: 0.77em; | font-size: 0.77em; | ||
border-collapse: collapse; | margin-left: 15px; | ||
margin-bottom: 15px; | |||
width: 300px; | |||
} | |||
.overflowed { | |||
margin: 0; | |||
position: inherit; | |||
} | |||
.infobox table { | |||
border-collapse: collapse; | |||
width: 100%; | |||
} | |||
.infobox tr:only-child { | |||
display: none; | |||
} | |||
@media screen and (max-width: 660px) { | |||
.infobox { | |||
font-size: 0.9em; | |||
width: 100%; | |||
} | |||
} | } | ||
.infobox th { | .infobox th { | ||
padding-top: 0. | padding-top: 0.45em; | ||
padding-bottom: 0. | padding-bottom: 0.45em; | ||
padding-left: 0. | padding-left: 0.7em; | ||
text-align: left; | text-align: left; | ||
vertical-align: top; | vertical-align: top; | ||
width: | width: 35%; | ||
border-top: 1px solid #d4d4d4; | border-top: 1px solid #d4d4d4; | ||
} | } | ||
.infobox td { | .infobox td { | ||
padding-top: 0. | width: 65%; | ||
padding-bottom: 0. | padding-top: 0.45em; | ||
padding-right: 0. | padding-bottom: 0.45em; | ||
padding-right: 0.7em; | |||
vertical-align: top; | vertical-align: top; | ||
border-top: 1px solid #d4d4d4; | border-top: 1px solid #d4d4d4; | ||
} | } | ||
.infobox tr:last-child > th { padding-bottom: 0.53em; } | |||
.infobox tr:last-child > td { padding-bottom: 0.53em; } | |||
th.infobox-title { | th.infobox-title { | ||
border-top: none; | |||
text-align: center; | text-align: center; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
padding-left: 0; | |||
padding-right: 0; | |||
padding-top: 0.7em; | padding-top: 0.7em; | ||
padding-bottom: 0.7em; | padding-bottom: 0.7em; | ||
} | } | ||
th.infobox-header { | th.infobox-header { | ||
text-align: center; | text-align: center; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 1em; | font-size: 1em; | ||
margin-top: 0.5em; | margin-top: 0.5em; | ||
padding-left: 0; | |||
padding-right: 0; | |||
padding-top: 0.7em; | padding-top: 0.7em; | ||
padding-bottom: 0.7em; | padding-bottom: 0.7em; | ||
} | } | ||
th.infobox-image { | th.infobox-image { | ||
padding- | padding: 0; | ||
border-top: none; | |||
text-align: center; | text-align: center; | ||
} | } | ||
th.infobox-caption { | th.infobox-caption { | ||
border-top: none; | border-top: none; | ||
font-size: 1em; | font-size: 1em; | ||
font-weight: lighter; | |||
text-align: center; | text-align: center; | ||
color: #999999; | color: #999999; | ||
padding: 0; | padding-left: 0; | ||
padding-right: 0; | |||
} | |||
.quote { | |||
margin-top: 0.5em; | |||
margin-bottom: 0.5em; | |||
background: #FFFFFF; | |||
font-size: 15px; | |||
color: #444444; | |||
border-left: 4px solid #AAAAAA; | |||
padding:14px 20px 14px 20px | |||
} | } |
2024年6月16日 (日) 15:46的最新版本
/* 这里放置的CSS将应用于所有皮肤 */
@import url(https://googlefonts.wp-china-yes.net/css2?family=Noto+Serif+SC:wght@200..900&display=swap);
@font-face {
font-family: Shohna;
src: url(https://gilatod.art/wp-content/uploads/custom_fonts/Shohna.ttf);
font-weight: normal;
}
@font-face {
font-family: DoulosSIL-Regular;
src: url(https://gilatod.art/wp-content/uploads/custom_fonts/DoulosSIL-Regular.ttf);
font-weight: normal;
}
body {
font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna";
font-size: 1em;
line-height: 1.6em
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt,
#p-logo-text a, #personal h2 {
font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna" !important;
}
.wikiEditor-ui-text textarea.mw-editfont-monospace, .screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace {
font-family: 'Menlo','Consolas','Monaco','Noto Mono','Nimbus Mono L', "Noto Serif SC", "Shohna" !important;
}
.infobox {
background: #f8f9fa;
border: 1px solid #a2a9b1;
float: right;
font-size: 0.77em;
margin-left: 15px;
margin-bottom: 15px;
width: 300px;
}
.overflowed {
margin: 0;
position: inherit;
}
.infobox table {
border-collapse: collapse;
width: 100%;
}
.infobox tr:only-child {
display: none;
}
@media screen and (max-width: 660px) {
.infobox {
font-size: 0.9em;
width: 100%;
}
}
.infobox th {
padding-top: 0.45em;
padding-bottom: 0.45em;
padding-left: 0.7em;
text-align: left;
vertical-align: top;
width: 35%;
border-top: 1px solid #d4d4d4;
}
.infobox td {
width: 65%;
padding-top: 0.45em;
padding-bottom: 0.45em;
padding-right: 0.7em;
vertical-align: top;
border-top: 1px solid #d4d4d4;
}
.infobox tr:last-child > th { padding-bottom: 0.53em; }
.infobox tr:last-child > td { padding-bottom: 0.53em; }
th.infobox-title {
border-top: none;
text-align: center;
font-weight: bold;
font-size: 1.2em;
padding-left: 0;
padding-right: 0;
padding-top: 0.7em;
padding-bottom: 0.7em;
}
th.infobox-header {
text-align: center;
font-weight: bold;
font-size: 1em;
margin-top: 0.5em;
padding-left: 0;
padding-right: 0;
padding-top: 0.7em;
padding-bottom: 0.7em;
}
th.infobox-image {
padding: 0;
border-top: none;
text-align: center;
}
th.infobox-caption {
border-top: none;
font-size: 1em;
font-weight: lighter;
text-align: center;
color: #999999;
padding-left: 0;
padding-right: 0;
}
.quote {
margin-top: 0.5em;
margin-bottom: 0.5em;
background: #FFFFFF;
font-size: 15px;
color: #444444;
border-left: 4px solid #AAAAAA;
padding:14px 20px 14px 20px
}