MediaWiki:Common.css: Difference between revisions
Appearance
Forgottenman (talk | contribs) +navbox class |
Forgottenman (talk | contribs) prettytable, message box |
||
| Line 39: | Line 39: | ||
font-size: 0.9em; | font-size: 0.9em; | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.prettytable | |||
{ | |||
margin: 1em 1em 1em 0; | |||
background-color: #f9f9f9; | |||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
} | |||
table.prettytable th, | |||
table.prettytable td | |||
{ | |||
padding: 0.2em; | |||
border: 1px #aaa solid; | |||
} | |||
table.prettytable th | |||
{ | |||
background-color: #f2f2f2; | |||
text-align: center; | |||
} | |||
/* messagebox */ | |||
.messagebox | |||
{ | |||
width: 80%; | |||
margin: 0 auto 1em; | |||
padding: 0.2em; | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
text-align: justify; | |||
} | |||
.messagebox.standard-talk | |||
{ | |||
border: 1px solid #C0C090; | |||
background-color: #F8EABA; | |||
} | |||
/* Hide heading on main page */ | /* Hide heading on main page */ | ||
body.page-Main_Page h1.firstHeading { display:none; } | body.page-Main_Page h1.firstHeading { display:none; } | ||
Revision as of 13:15, 10 November 2010
/* CSS placed here will be applied to all skins */
/* make the list of references look smaller and highlight clicked reference in blue */
ol.references { font-size: 100%; }
.references-small { font-size: 90%;}
ol.references > li:target { background-color: #ddeeff; }
sup.reference:target { background-color: #ddeeff; }
/* general look; align infobox to the right */
.infobox {
background-color:#F9F9F9;
border:1px solid #AAAAAA;
clear:right;
color:black;
float:right;
margin:0.5em 0 0.5em 1em;
padding:0.2em;
}
/* Side box formatting */
.sidebox {
clear: right;
padding: 4px;
border: 1px solid #a3b0bf;
background: #f1f5fc;
margin: 0 0 1em 1em;
font-size: 0.9em;
text-align: left;
float: right;
}
/* Navbox formatting */
.navbox {
padding: 4px;
border: 1px solid #a3b0bf;
background: #f1f5fc;
margin: 0 0 1em 1em;
font-size: 0.9em;
text-align: center;
}
table.prettytable
{
margin: 1em 1em 1em 0;
background-color: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.prettytable th,
table.prettytable td
{
padding: 0.2em;
border: 1px #aaa solid;
}
table.prettytable th
{
background-color: #f2f2f2;
text-align: center;
}
/* messagebox */
.messagebox
{
width: 80%;
margin: 0 auto 1em;
padding: 0.2em;
border: 1px solid #aaa;
background-color: #f9f9f9;
text-align: justify;
}
.messagebox.standard-talk
{
border: 1px solid #C0C090;
background-color: #F8EABA;
}
/* Hide heading on main page */
body.page-Main_Page h1.firstHeading { display:none; }