MediaWiki:Common.css:修订间差异
外观
无编辑摘要 |
无编辑摘要 |
||
第12行: | 第12行: | ||
border-radius: 8px; | border-radius: 8px; | ||
transition: background 200ms ease, color 200ms ease; | transition: background 200ms ease, color 200ms ease; | ||
} | |||
.xd-button.xd-red, .xd-button.xd-blue { | |||
color: white; | |||
} | } | ||
.xd-button.xd-red { | .xd-button.xd-red { | ||
background: #dd3333 | background: #dd3333 | ||
} | } | ||
.xd-button.xd-red:hover { | .xd-button.xd-red:hover { | ||
第24行: | 第26行: | ||
} | } | ||
.xd-button.xd-blue{ | .xd-button.xd-blue{ | ||
background: #3366cc | background: #3366cc | ||
} | } | ||
.xd-button.xd-blue:hover { | .xd-button.xd-blue:hover { |
2021年5月21日 (五) 22:13的版本
/* 这里放置的CSS将应用于所有皮肤 */
body.page-希顶维基_首页 .firstHeading,
body.page-希顶维基_首页 #siteSub,
body.page-希顶维基_首页 #header-pagetitle{
display: none;
}
.xd-button {
align-items: center;
padding: 8px 12px;
margin-right: 4px;
border-radius: 8px;
transition: background 200ms ease, color 200ms ease;
}
.xd-button.xd-red, .xd-button.xd-blue {
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";
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')
}
html, body, #firstHeading {
font-family: "Han Aho";
}
span:lang(art-x-xdi8) {
font-family: "Fira Xdi8"
}
/*.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;
}*/
.disambiguation {
background-color: #FED;
}
.head-warning {
background-color: #FEE;
}
.disambiguation, .head-warning {
color: #555;
font-size: .8em;
padding: 5px;
}