MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
For prettifying documentation, from svip |
tweaks, from svip |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
| Line 10: | Line 11: | ||
} | } | ||
.infobox th { | .infobox th { | ||
text-align: right; | text-align: right; | ||
padding-right: 5px; | |||
} | } | ||
.infobox td { | .infobox td { | ||
text-align: left; | text-align: left; | ||
padding-left: 5px; | |||
} | } | ||
.infoboxCentre, | .infoboxCentre, | ||
| Line 19: | Line 22: | ||
.infoboxTitle { | .infoboxTitle { | ||
text-align: center !important; | text-align: center !important; | ||
} | |||
.infoboxTitle, | |||
.infoboxHeader { | |||
background: #bbb; | |||
} | } | ||
.infoboxTitle { | .infoboxTitle { | ||
font-size: 150%; | font-size: 150%; | ||
padding: 4px; | padding: 4px; | ||
} | } | ||
.infoboxHeader { | .infoboxHeader { | ||
font-size: 120%; | font-size: 120%; | ||
} | } | ||
| Line 36: | Line 41: | ||
background: #ddd; | background: #ddd; | ||
} | } | ||
.infobox th, | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
.template-documentation { | .template-documentation { | ||
background: #ccf; | background: #ccf; | ||
Latest revision as of 16:01, 28 August 2012
/* CSS placed here will be applied to all skins */
.infobox {
float: right;
width: 250px;
margin: 0 0 10px 15px;
text-align: center;
}
.infobox table {
background: #eee;
}
.infobox th {
text-align: right;
padding-right: 5px;
}
.infobox td {
text-align: left;
padding-left: 5px;
}
.infoboxCentre,
.infoboxHeader,
.infoboxTitle {
text-align: center !important;
}
.infoboxTitle,
.infoboxHeader {
background: #bbb;
}
.infoboxTitle {
font-size: 150%;
padding: 4px;
}
.infoboxHeader {
font-size: 120%;
}
.infoboxCaption {
font-size: 85%;
}
.infobox .odd th,
.infobox .odd td {
background: #ddd;
}
.infobox th,
.infobox td {
vertical-align: top;
}
.template-documentation {
background: #ccf;
padding: 3px 5px;
border: 1px solid #77a;
}
.template-documentation .fake-h2 {
font-size: 18pt;
border-bottom: 1px solid #77a;
margin: 8px 0px 4px;
font-weight: bold;
}