MediaWiki:Common.css:修订间差异
来自魔学
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的5个中间版本) | |||
| 第5行: | 第5行: | ||
body { | body { | ||
font-family: "HienMingLan Meiryo", "HienMingLan", "Source Han Sans KR", "明兰", "GenSekiGothic TW R"; | font-family: "HienMingLan Meiryo", "HienMingLan", "Source Han Sans KR", "明兰", "GenSekiGothic TW R"; | ||
line-height: | line-height: 1.25; | ||
overflow-x: hidden; | |||
} | } | ||
.screenplay, code, tt, kbd, pre, samp, .skin-timeless .wikiEditor-ui .ace_editor .monospace { | .screenplay, code, tt, kbd, pre, samp, .skin-timeless .wikiEditor-ui .ace_editor .monospace { | ||
| 第17行: | 第18行: | ||
background-color: #252525 | background-color: #252525 | ||
} | } | ||
.heimu,.heimu a,a .heimu,a.new .heimu,span.heimu a.new,span.heimu a.external,span.heimu a.external:visited,span.heimu a.extiw,span.heimu a.extiw:visited,span.heimu | .heimu,.heimu a,a .heimu,a.new .heimu,span.heimu a.new,span.heimu a.external,span.heimu a.external:visited,span.heimu a.extiw,span.heimu a.extiw:visited,span.heimu .mw-disambig,span.heimu .mw-redirect { | ||
transition: color 0.13s linear; | transition: color 0.13s linear; | ||
color: #252525; | color: #252525; | ||
| 第56行: | 第57行: | ||
margin: 0 auto; | margin: 0 auto; | ||
width: 80%; | width: 80%; | ||
box-sizing: border-box | box-sizing: border-box; | ||
} | } | ||
.infoBoxTitle { | .infoBoxTitle { | ||
| 第62行: | 第63行: | ||
padding: 0; | padding: 0; | ||
text-align: center; | text-align: center; | ||
font-weight: 700 | font-weight: 700; | ||
} | } | ||
.infoBoxIcon { | .infoBoxIcon { | ||
display: table-cell; | display: table-cell; | ||
padding: 2px 0 2px 0.5em; | padding: 2px 0 2px 0.5em; | ||
vertical-align: middle | vertical-align: middle; | ||
} | } | ||
.infoBoxText { | .infoBoxText { | ||
| 第73行: | 第74行: | ||
padding: 0.25em 0.5em 0.25em 1.3em; | padding: 0.25em 0.5em 0.25em 1.3em; | ||
width: 100%; | width: 100%; | ||
vertical-align: middle | vertical-align: middle; | ||
} | } | ||
.infoBoxContent { | .infoBoxContent { | ||
border: 1px solid #DDD; | border: 1px solid #DDD; | ||
border-left-width: 0; | border-left-width: 0; | ||
background: #FBFBFB | background: #FBFBFB; | ||
padding: 0.5em 0; | |||
} | } | ||
.infoBoxBelow { | .infoBoxBelow { | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 0; | padding: 0; | ||
text-align: center | text-align: center; | ||
} | |||
#toc{ | |||
display: block; | |||
position: fixed; | |||
top: 100px; | |||
right: 50px; | |||
min-width: 100px; | |||
max-width: 350px; | |||
max-height: 20px; | |||
overflow-y: scroll; | |||
border: 1px solid #aaa; | |||
background: rgb(249,249,249); | |||
background: rgba(249,249,249,0.8); | |||
padding: 12px; | |||
box-shadow: 0 1px 5px rgba(0,0,0,0.1); | |||
backdrop-filter: blur(2px); | |||
} | |||
#toc:hover{ | |||
max-height: 500px; | |||
} | } | ||
2023年4月2日 (日) 15:48的最新版本
/* 这里放置的CSS将应用于所有皮肤 */
.mw-body h1,.mw-body h2,.mw-body h3,.mw-body h4,.mw-body h5,.mw-body h6,.mw-body dt {
font-family: "澹雅明体A", "一点明体", "I.Ming", "Adobe 宋体 Std", "Adobe Song Std", 'Linux Libertine','Times New Roman','Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
}
body {
font-family: "HienMingLan Meiryo", "HienMingLan", "Source Han Sans KR", "明兰", "GenSekiGothic TW R";
line-height: 1.25;
overflow-x: hidden;
}
.screenplay, code, tt, kbd, pre, samp, .skin-timeless .wikiEditor-ui .ace_editor .monospace {
font-family: 'Sarasa Mono CL','Menlo','Consolas','Monaco','Noto Mono','Nimbus Mono L',monospace;
}
p {
margin: 0.5em 0;
}
.heimu,.heimu rt {
background-color: #252525
}
.heimu,.heimu a,a .heimu,a.new .heimu,span.heimu a.new,span.heimu a.external,span.heimu a.external:visited,span.heimu a.extiw,span.heimu a.extiw:visited,span.heimu .mw-disambig,span.heimu .mw-redirect {
transition: color 0.13s linear;
color: #252525;
text-shadow: none
}
span.heimu:hover,span.heimu:active {
color: white
}
span.heimu:hover a,a:hover span.heimu {
color: lightblue
}
span.heimu:hover a:visited,a:visited:hover span.heimu {
color: #C5CAE9
}
span.heimu:hover a.new,a.new:hover span.heimu {
color: #FCC
}
span.heimu a.new:hover:visited,a.new:hover:visited span.heimu {
color: #EF9A9A
}
span.heimu:hover a.extiw:visited,a.extiw:visited:hover span.heimu {
color: #D1C4E9
}
rb[data-id="template-ruby"]::before {
content: ""
}
rb[data-id="template-ruby"]::before,.template-ruby-hidden {
display: inline-block;
width: 0;
font-size: 0
}
.infoBox {
margin: 0 auto;
width: 80%;
box-sizing: border-box;
}
.infoBoxTitle {
margin: 3px auto;
padding: 0;
text-align: center;
font-weight: 700;
}
.infoBoxIcon {
display: table-cell;
padding: 2px 0 2px 0.5em;
vertical-align: middle;
}
.infoBoxText {
display: table-cell;
padding: 0.25em 0.5em 0.25em 1.3em;
width: 100%;
vertical-align: middle;
}
.infoBoxContent {
border: 1px solid #DDD;
border-left-width: 0;
background: #FBFBFB;
padding: 0.5em 0;
}
.infoBoxBelow {
margin: 0 auto;
padding: 0;
text-align: center;
}
#toc{
display: block;
position: fixed;
top: 100px;
right: 50px;
min-width: 100px;
max-width: 350px;
max-height: 20px;
overflow-y: scroll;
border: 1px solid #aaa;
background: rgb(249,249,249);
background: rgba(249,249,249,0.8);
padding: 12px;
box-shadow: 0 1px 5px rgba(0,0,0,0.1);
backdrop-filter: blur(2px);
}
#toc:hover{
max-height: 500px;
}