MediaWiki:Common.css:修订间差异

W​(留言 | 贡献)
无编辑摘要
W​(留言 | 贡献)
无编辑摘要
 
(未显示同一用户的10个中间版本)
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
/* 这里放置的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 {
.heimu,.heimu rt {
     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 .mw-disambig,span.heimu .mw-redirect {
.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 a.mw-disambig,span.heimu a.mw-redirect {
     transition: color 0.13s linear;
     transition: color 0.13s linear;
     color: #252525;
     color: #252525;
     text-shadow: none
     text-shadow: none
}
}
span.heimu:hover,span.heimu:active {
span.heimu:hover,span.heimu:active {
     color: white
     color: white
}
}
span.heimu:hover a,a:hover span.heimu {
span.heimu:hover a,a:hover span.heimu {
     color: lightblue
     color: lightblue
}
}
span.heimu:hover a:visited,a:visited:hover span.heimu {
span.heimu:hover a:visited,a:visited:hover span.heimu {
     color: #C5CAE9
     color: #C5CAE9
}
}
span.heimu:hover a.new,a.new:hover span.heimu {
span.heimu:hover a.new,a.new:hover span.heimu {
     color: #FCC
     color: #FCC
}
}
span.heimu a.new:hover:visited,a.new:hover:visited span.heimu {
span.heimu a.new:hover:visited,a.new:hover:visited span.heimu {
     color: #EF9A9A
     color: #EF9A9A
}
}
span.heimu:hover a.extiw:visited,a.extiw:visited:hover span.heimu {
span.heimu:hover a.extiw:visited,a.extiw:visited:hover span.heimu {
     color: #D1C4E9
     color: #D1C4E9
第39行: 第46行:
     content: ""
     content: ""
}
}
rb[data-id="template-ruby"]::before,.template-ruby-hidden {
rb[data-id="template-ruby"]::before,.template-ruby-hidden {
     display: inline-block;
     display: inline-block;
第51行: 第57行:
     margin: 0 auto;
     margin: 0 auto;
     width: 80%;
     width: 80%;
     box-sizing: border-box
     box-sizing: border-box;
}
}
.infoBoxTitle {
.infoBoxTitle {
     margin: 3px auto;
     margin: 3px auto;
     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 {
     display: table-cell;
     display: table-cell;
     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;
}
}