Welcome to the geofictician wiki.
MediaWiki:Common.css
From Geofictician
Revision as of 05:13, 10 March 2018 by imported>Luciano (Created page with "→CSS placed here will be applied to all skins: table.infobox { width:22em; float:right; clear:right; border-collapse:collapse; border:1px solid #aaaaaa; background-color:#...")
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
table.infobox {
width:22em;
float:right;
clear:right;
border-collapse:collapse;
border:1px solid #aaaaaa;
background-color:#f9f9f9;
color:#000000;
margin:0.5em 0 0.5em 1em;
padding:0.2em;
text-align:left;
font-size:88%;
line-height:1.2em;
table-layout: fixed;
}
table.infobox th, table.infobox td {
padding: 0.4em 0.6em 0.4em 0.6em;
vertical-align: top;
}
table.infobox tr {
border-bottom:1px solid #aaaaaa;
}
table.infobox tr.cont {
border-bottom: none;
}
table.infobox tr.cont td, table.infobox tr.cont th {
padding-bottom: 0;
margin-bottom: 0;
}
table.infobox th {
font-size:1.25em;
}
.note_box {
padding: 7px 7px;
border: 1px solid #D6E434;
background-color: #F6FDEA;
margin: 5px 5px;
}
.warning_box {
padding: 7px 7px;
border: 1px solid #cc3333;
background-color: #F0E7E7;
margin: 5px 5px;
}
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
white-space: nowrap;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ }