MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: div.ambox { border: 1px solid orange; border-left: 5px solid orange; width: 70%; margin-left: auto; margin-right: auto; backgr..." |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* article message box, used by templates like Stub /* | |||
div.ambox { | div.ambox { | ||
border: 1px solid orange; | border: 1px solid orange; | ||
| Line 9: | Line 10: | ||
background: #fbfbfb; | background: #fbfbfb; | ||
padding: 5px; | padding: 5px; | ||
margin-bottom: 5px; | |||
} | |||
/* infobox styling */ | |||
div.infobox { | |||
float: right; | |||
clear: right; | |||
width: 250px; | |||
border: 3px solid black; | |||
border-radius: 5px; | |||
background-color: #dfdfdf; | |||
padding-top: 5px; | |||
} | |||
div.infobox div { | |||
text-align: center; | |||
margin-bottom: 8px; | |||
font-size:26px; | |||
} | |||
div.infobox hr { | |||
color: black; | |||
background-color: black; | |||
height: 2px; | |||
margin-bottom: 3px; | |||
} | } | ||
Revision as of 17:18, 8 August 2011
/* CSS placed here will be applied to all skins */
/* article message box, used by templates like Stub /*
div.ambox {
border: 1px solid orange;
border-left: 5px solid orange;
width: 70%;
margin-left: auto;
margin-right: auto;
background: #fbfbfb;
padding: 5px;
margin-bottom: 5px;
}
/* infobox styling */
div.infobox {
float: right;
clear: right;
width: 250px;
border: 3px solid black;
border-radius: 5px;
background-color: #dfdfdf;
padding-top: 5px;
}
div.infobox div {
text-align: center;
margin-bottom: 8px;
font-size:26px;
}
div.infobox hr {
color: black;
background-color: black;
height: 2px;
margin-bottom: 3px;
}