MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
| Line 110: | Line 110: | ||
} | } | ||
li::before {content: "•"; color: #00528C; | |||
display: inline-block; width: 1em; | |||
margin-left: -1em} | |||
display: inline-block; | |||
} | |||
Revision as of 19:02, 27 January 2020
/* CSS placed here will be applied to all skins */
/* Hiding the main page's title (using an image instead */
body.page-Main_Page h1.firstHeading { display:none; }
/*Infoboxes*/
.eu4box {
border: 2px solid #3d2334;
border-radius: 6px;
background: #58324B;
color: white !important;
padding: 5px;
margin-bottom: 3px;
margin-left: 3px;
}
.eu4box .heading {
background: #3d2334;
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: #111d17;
color: #fdfdfd !important;
border: 2px solid #000000;
border-radius: 4px;
}
.eu4box-inline .heading {
background-image: url("https://wiki.geministation.com/images/6/61/Earth_space_500px.png");
background-repeat: no-repeat;
background-size: auto;
background-size: cover;
border-radius: 3px;
height:117px;
}
.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: #ffffff !important; }
.eu4box-inline a { color: #90c8ff !important; }
.eu4box .mw-collapsible-toggle { float:none; }
.eu4box h2 { margin-top: 0 !important; }
.eu4box h3 { margin-top: 0 !important; }
/*Color Templates*/
.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; }
.effect-yellow { color: #FFA500; }
.effect-background-yellow { background: #E9E9E9; padding: 0px 2px; border-radius: 2px; }
.effect-blue { color: blue; }
.effect-background-blue { 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; }
/* 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; }
.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; }
/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ol li,
.plainlist ul li {
margin-bottom: 0;
}
/* 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;
}
ul {
list-style: none; /* Remove default bullets */
}
li::before {content: "•"; color: #00528C;
display: inline-block; width: 1em;
margin-left: -1em}