MediaWiki:Common.css:修订间差异
外观
无编辑摘要 |
无编辑摘要 |
||
第85行: | 第85行: | ||
/* 正文字重为 300, 强调字重为 600 */ | /* 正文字重为 300, 强调字重为 600 */ | ||
body, #firstHeading, button, input, select, textarea { | body, #firstHeading, button, input, select, textarea, | ||
.mw-body h1, .mw-body-content h1, .mw-body-content h2 { | |||
font-family: "Han Aho", -apple-system, BlinkMacSystemFont, | font-family: "Han Aho", -apple-system, BlinkMacSystemFont, | ||
'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif, | 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif, | ||
第101行: | 第102行: | ||
body:lang(zh-CN), #firstHeading:lang(zh-CN), button:lang(zh-CN), | body:lang(zh-CN), #firstHeading:lang(zh-CN), button:lang(zh-CN), | ||
input:lang(zh-CN), select:lang(zh-CN), textarea:lang(zh-CN) { | input:lang(zh-CN), select:lang(zh-CN), textarea:lang(zh-CN), | ||
.mw-body h1:lang(zh-CN), .mw-body-content h1:lang(zh-CN), | |||
.mw-body-content h2:lang(zh-CN){ | |||
font-family: 'Han Aho', 'PingFang SC', 'Lantinghei SC', | font-family: 'Han Aho', 'PingFang SC', 'Lantinghei SC', | ||
'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif', | 'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif', |
2021年6月23日 (三) 12:00的版本
body.page-希顶维基_首页 .firstHeading,
body.page-希顶维基_首页 #siteSub,
body.page-希顶维基_首页 #header-pagetitle{
display: none;
}
.xd-button {
align-items: center;
padding: 4px 12px;
margin-right: 4px;
border-radius: 4px;
transition: background 200ms ease, color 200ms ease;
}
.xd-button.xd-red a, .xd-button.xd-blue a {
color: white;
}
.xd-button.xd-red {
background: #dd3333
}
.xd-button.xd-red:hover {
background: #e35b5b
}
.xd-button.xd-red:active {
background: #b32424
}
.xd-button.xd-blue{
background: #3366cc
}
.xd-button.xd-blue:hover {
background: #5b84d6
}
.xd-button.xd-blue:active {
background: #2a4b8d
}
blockquote, figcaption, .thumbcaption {
font-style: normal;
}
#header-sitetitle img.mw-logo-wordmark,
#mw-drawer-logo img.mw-logo-wordmark,
#footer-sitetitle img.mw-logo-wordmark {
width: auto;
height: auto;
}
@media (prefers-color-scheme: dark) {
.xw-yellow {
background: #933
}
}
@media (prefers-color-scheme: light) {
.xw-yellow {
background: #CC9
}
}
@font-face {
font-family: 'Fira Xdi8 Variable';
src: url('https://cdn.jsdelivr.net/gh/edward-martyr/syyon-vencie@e791ea6/Fira%20Xdi8%20Variable-subset.woff2') format('woff2-variations');
font-weight: 100 900;
}
@font-face {
font-family: "Fira Xdi8";
src: url('https://cdn.jsdelivr.net/gh/Honoka55/Xdi8Fonts/Fira Xdi8 Variable.ttf') format('truetype')
}
@font-face {
font-family: "Han Aho";
src: url('/w/resources/assets/aho.otf') format('opentype')
}
@font-face {
font-family: "Xdi8 Reality Show";
src: url('/w/resources/assets/xdi8-reality-show.otf') format('opentype')
}
@font-face {
font-family: "Noto Emoji";
src: url('/w/resources/assets/NotoEmoji-Regular.ttf') format('truetype')
}
/* 正文字重为 300, 强调字重为 600 */
body, #firstHeading, button, input, select, textarea,
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: "Han Aho", -apple-system, BlinkMacSystemFont,
'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif,
'Noto Emoji';
font-weight: 300;
}
a {
font-weight: normal;
}
strong, b {
font-weight: 600;
}
body:lang(zh-CN), #firstHeading:lang(zh-CN), button:lang(zh-CN),
input:lang(zh-CN), select:lang(zh-CN), textarea:lang(zh-CN),
.mw-body h1:lang(zh-CN), .mw-body-content h1:lang(zh-CN),
.mw-body-content h2:lang(zh-CN){
font-family: 'Han Aho', 'PingFang SC', 'Lantinghei SC',
'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif',
'WenQuanYi Micro Hei', sans-serif, 'Noto Emoji';
}
span.xdi8-text {
font-family: "Fira Xdi8 Variable", "Fira Xdi8";
margin-left: -.844em; /* m 字符实际宽度 */
}
.disambiguation::before {
content: "🔀";
margin-left: 1em;
font-size: 1.2em;
}
.head-warning::before {
content: "⚠️";
margin-left: 1em;
font-size: 1.2em;
}
.disambiguation, .head-warning {
font-size: .9em;
}
.xdi8-ext {
font-family: "Xdi8 Reality Show";
}
@media screen and (min-width: 720px) {
.main-page-left {
width: 62%;
float: left;
}
.main-page-right {
width: 35%;
float: right;
}
}
.main-page-frame > h2 {
padding: 0.2rem;
font-size: 1.5rem;
border-bottom: 2px solid #c30;
}