(建立内容为“→这里放置的CSS将应用于所有皮肤: →CSS placed here will be applied to all skins: /* 031 Start of wiki specific CSS (general customization opti…”的新页面) |
无编辑摘要 |
||
第1行: | 第1行: | ||
/* 这里放置的CSS将应用于所有皮肤 */ | /* 这里放置的CSS将应用于所有皮肤 */ | ||
/* | |||
/* ambox 2020 */ | |||
.ambox2020 { | |||
margin: 10px 0; | |||
border: 1px solid transparent; | |||
padding-left: 12px; | |||
min-height: 42px; | |||
line-height: 42px; | |||
display: flex; | |||
-webkit-box-align: center; | |||
-ms-flex-align: center; | |||
align-items: center; | |||
font-size: 14px; | |||
border-radius: 6px; | |||
white-space: nowrap; | |||
} | |||
.ambox-multi { | |||
line-height: 21px; | |||
margin: 10px 0 10px 0; | |||
} | |||
/* 最近更改角标 */ | |||
.eu4-badge{ | |||
background-color: #d9534f; | |||
position: absolute; | |||
margin-left: -1rem; | |||
padding: .5rem .25rem; | |||
font-weight: 700; | |||
color: #fff; | |||
text-align: center; | |||
white-space: nowrap; | |||
border-radius: 1rem; | |||
} | |||
.effect-green { color: green; } | |||
.effect-background-green { background: #E9E9E9; padding: 0px 2px; border-radius: 2px; } | |||
.effect-red { color: red; } | |||
.effect-background-red { background: #E9E9E9; padding: 0px 2px; border-radius: 2px; } | |||
.toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; } | |||
/* show link of icon after the image */ | |||
.game_property_show a:after { | |||
content: attr(title); | |||
text-transform: lowercase; | |||
} | |||
/* to negate paragraph line-height distortion */ | |||
.game_property img { margin: -7px -0px -6px -1px; } | |||
/* Better collapsing content */ | |||
.collapse-template .mw-collapsible-toggle { | |||
float: none; | |||
} | |||
.collapse-template .mw-collapsible-content[style="display: block;"] { | |||
padding: 15px 0px 0px 0px; | |||
border: 1px dashed #EEE; | |||
} | |||
/* Mildtable class */ | |||
.mildtable th { | |||
text-align: left; | |||
background: #F5F5F5; | |||
padding: 5px; | |||
font-size: 90%; | |||
} | |||
.mildtable td + td { padding-left: 5px; } | |||
.mildtable td { border-top: 2px solid #DDD; } | |||
/* Unbulleted lists */ | |||
.plainlist ol, | |||
.plainlist ul { | |||
line-height: inherit; | |||
list-style: none none; | |||
margin: 0 !important; | |||
} | |||
.plainlist ol li, | |||
.plainlist ul li { | |||
margin-bottom: 0 !important; | |||
} | |||
/* Infoboxes */ | |||
.eu4box { | |||
border: 2px solid #480601; | |||
border-radius: 6px; | |||
background: #780A02; | |||
color: white !important; | |||
padding: 5px; | |||
margin-bottom: 3px; | |||
margin-left: 3px; | |||
} | |||
.eu4box .heading { | |||
background: #480601; | |||
border-radius: 6px; | |||
padding: 0px 6px 0px; | |||
color: white !important; | |||
} | |||
.eu4box a { color: lightblue !important; } | |||
.eu4box * { list-style-image: none; } | |||
.eu4box .heading .mw-headline { color: white; } | |||
/* EU4Box master styles */ | |||
.eu4box .subheading { | |||
color: #FFCD51; | |||
font-weight: bold; | |||
} | |||
/* EU4box-inline overrides */ | |||
.eu4box-inline { | |||
background: #FDFDFD; | |||
color: #0E0E0E !important; | |||
border: 2px solid #b37570; | |||
border-radius: 4px; | |||
} | |||
.eu4box-inline .heading { | |||
background: #a8615c; | |||
border-radius: 3px; | |||
} | |||
.eu4box-inline hr { | |||
background: #CCC !important; | |||
margin: 5px 0px 5px; | |||
} | |||
.eu4box-inline .heading .mw-headline { color: white; } | |||
.eu4box-inline .heading .mw-headline img { margin-right: 5px; } | |||
.eu4box-inline .subheading, span[style="color: #FFCD51"] { color: #273442 !important; } | |||
.eu4box-inline a { color: darkblue !important; } | |||
.eu4box .mw-collapsible-toggle { float:none; } | |||
.eu4box h2 { margin-top: 0 !important; } | |||
.eu4box h3 { margin-top: 0 !important; } | |||
.header a { color: lightblue !important; } | |||
/* 高分辨率下简体logo */ | |||
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx), (min-resolution: 144dpi) { | |||
#p-logo a { | |||
background-image: url(//ck3.parawikis.com/images/logo/1.5x_wiki.png); | |||
background-size: 160px auto; | |||
} | |||
} | |||
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) { | |||
#p-logo a { | |||
background-image: url(//ck3.parawikis.com/images/logo/2x_wiki.png); | |||
background-size: 160px auto; | |||
} | |||
} | |||
/* 031 Start of wiki specific CSS (general customization options) */ | /* 031 Start of wiki specific CSS (general customization options) */ |
2020年12月17日 (四) 07:10的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* ambox 2020 */
.ambox2020 {
margin: 10px 0;
border: 1px solid transparent;
padding-left: 12px;
min-height: 42px;
line-height: 42px;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
font-size: 14px;
border-radius: 6px;
white-space: nowrap;
}
.ambox-multi {
line-height: 21px;
margin: 10px 0 10px 0;
}
/* 最近更改角标 */
.eu4-badge{
background-color: #d9534f;
position: absolute;
margin-left: -1rem;
padding: .5rem .25rem;
font-weight: 700;
color: #fff;
text-align: center;
white-space: nowrap;
border-radius: 1rem;
}
.effect-green { color: green; }
.effect-background-green { background: #E9E9E9; padding: 0px 2px; border-radius: 2px; }
.effect-red { color: red; }
.effect-background-red { background: #E9E9E9; padding: 0px 2px; border-radius: 2px; }
.toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; }
/* show link of icon after the image */
.game_property_show a:after {
content: attr(title);
text-transform: lowercase;
}
/* to negate paragraph line-height distortion */
.game_property img { margin: -7px -0px -6px -1px; }
/* Better collapsing content */
.collapse-template .mw-collapsible-toggle {
float: none;
}
.collapse-template .mw-collapsible-content[style="display: block;"] {
padding: 15px 0px 0px 0px;
border: 1px dashed #EEE;
}
/* Mildtable class */
.mildtable th {
text-align: left;
background: #F5F5F5;
padding: 5px;
font-size: 90%;
}
.mildtable td + td { padding-left: 5px; }
.mildtable td { border-top: 2px solid #DDD; }
/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0 !important;
}
.plainlist ol li,
.plainlist ul li {
margin-bottom: 0 !important;
}
/* Infoboxes */
.eu4box {
border: 2px solid #480601;
border-radius: 6px;
background: #780A02;
color: white !important;
padding: 5px;
margin-bottom: 3px;
margin-left: 3px;
}
.eu4box .heading {
background: #480601;
border-radius: 6px;
padding: 0px 6px 0px;
color: white !important;
}
.eu4box a { color: lightblue !important; }
.eu4box * { list-style-image: none; }
.eu4box .heading .mw-headline { color: white; }
/* EU4Box master styles */
.eu4box .subheading {
color: #FFCD51;
font-weight: bold;
}
/* EU4box-inline overrides */
.eu4box-inline {
background: #FDFDFD;
color: #0E0E0E !important;
border: 2px solid #b37570;
border-radius: 4px;
}
.eu4box-inline .heading {
background: #a8615c;
border-radius: 3px;
}
.eu4box-inline hr {
background: #CCC !important;
margin: 5px 0px 5px;
}
.eu4box-inline .heading .mw-headline { color: white; }
.eu4box-inline .heading .mw-headline img { margin-right: 5px; }
.eu4box-inline .subheading, span[style="color: #FFCD51"] { color: #273442 !important; }
.eu4box-inline a { color: darkblue !important; }
.eu4box .mw-collapsible-toggle { float:none; }
.eu4box h2 { margin-top: 0 !important; }
.eu4box h3 { margin-top: 0 !important; }
.header a { color: lightblue !important; }
/* 高分辨率下简体logo */
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
#p-logo a {
background-image: url(//ck3.parawikis.com/images/logo/1.5x_wiki.png);
background-size: 160px auto;
}
}
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) {
#p-logo a {
background-image: url(//ck3.parawikis.com/images/logo/2x_wiki.png);
background-size: 160px auto;
}
}
/* 031 Start of wiki specific CSS (general customization options) */
/* Hiding the main page's title (using an image instead) */
body.page-Empire_of_Sin_Wiki h1.firstHeading { display:none; }
/* Infobox colors */
.eu4box {
border: 2px solid #4E400A;
background: #786C3C;
}
.eu4box .heading {
background: #4E400A;
}
.eu4box-inline {
border: 2px solid #E1C563;
background: #FDFDFD !important; /*remove later*/
}
.eu4box-inline .heading {
background: #B59231;
}
/* background images */
.gridBG {
background: #786C3C url(/images/d/dc/MainBG.jpg) repeat left center;
}
.gridBG2 {
background: #786C3C url(/images/0/07/MainBG2.png) repeat left center;
}
/* 032 End of wiki specific CSS (general customization options) */