Difference between revisions of "MediaWiki:Common.css"
From JellyRO Wiki
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
div.printfooter { display: none;} | div.printfooter { display: none;} | ||
| + | |||
| + | /* Maps */ | ||
| + | div.mapname { | ||
| + | position: relative; | ||
| + | width: 100%; | ||
| + | height: 0; | ||
| + | text-align: center; | ||
| + | } | ||
| + | div.mapname > span { | ||
| + | display: inline-block | ||
| + | position:relative; | ||
| + | bottom: 2em; | ||
| + | width: 100px; | ||
| + | |||
| + | background: rgba(0,0,0,0.2); | ||
| + | color:white; | ||
| + | text-shadow: 1px 1px black; | ||
| + | text-align: center; | ||
| + | |||
| + | } | ||
/* Navboxes */ | /* Navboxes */ | ||
Revision as of 22:48, 2 December 2013
/* CSS placed here will be applied to all skins */
div.printfooter { display: none;}
/* Maps */
div.mapname {
position: relative;
width: 100%;
height: 0;
text-align: center;
}
div.mapname > span {
display: inline-block
position:relative;
bottom: 2em;
width: 100px;
background: rgba(0,0,0,0.2);
color:white;
text-shadow: 1px 1px black;
text-align: center;
}
/* Navboxes */
table.navbox {
border: 1px solid #aaa;
clear: both;
font-size: 88%;
padding: 1px;
width: 100%;
}
table.navbox > tbody > tr > td.bodystyle {
background: #fdfdfd;
width: 100%;
vertical-align: middle;
}
table.navbox > tbody > tr > td.titlestyle {
background: #ccccff;
font-weight: bold;
padding: 0em 1em;
text-align: center;
}
table.navbox > tbody > tr > td.abovestyle,
table.navbox > tbody > tr > td.belowstyle {
background: #ddddff;
padding: 0em 1em;
text-align: center;
}
table.navbox > tbody > tr > td.groupstyle {
background: #ddddff;
padding: 0em 1em;
text-align: right;
font-weight: bold;
}
table.navbox > tbody > tr > td.oddstyle {
background: transparent;
text-align: left;
}
table.navbox > tbody > tr > td.evenstyle {
background: #f7f7f7;
text-align: left;
}
table.navbox > tbody > tr > td.liststyle > ul {
margin: 0;
padding: 0.125em 0;
}
table.navbox > tbody > tr > td.liststyle > ul > li {
display: inline;
}
table.navbox > tbody > tr > td.liststyle > ul > li:after {
content: " · ";
font-weight: bold;
}
table.navbox > tbody > tr > td.liststyle > ul > li:last-child:after {
content: " "
}