Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
background: #f9f9f9; | background: #f9f9f9; | ||
margin-left: 1em; | margin-left: 1em; | ||
+ | width: 20em; | ||
} | } | ||
.infobox .details > ul >li { | .infobox .details > ul >li { | ||
Line 55: | Line 56: | ||
.infobox dt { | .infobox dt { | ||
clear: left; | clear: left; | ||
+ | } | ||
+ | .infobox dd { | ||
+ | clear: right; | ||
} | } | ||
.infobox dt:after { | .infobox dt:after { |
Revision as of 09:41, 24 April 2012
/* CSS placed here will be applied to all skins */
/*
Clearfix for floats and columns
*/
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */
.column {
float: left;
margin: 0;
padding: 0;
}
.w50 {
width: 50%;
}
.w25 {
width: 25%
}
/*
infoboxes
*/
.infobox {
float: right;
padding: .5em;
border: 1px solid #999;
background: #f9f9f9;
margin-left: 1em;
width: 20em;
}
.infobox .details > ul >li {
list-style:none;
padding:0;
margin:0;
}
.infobox .divider {
padding-bottom:.5m;
margin-bottom:.5em;
border-bottom:1px solid #ccc;
}
.infobox .title {
text-align: center;
}
.infobox dt, .infobox dd {
float: left;
padding: 0;
margin: 0;
}
.infobox dt {
clear: left;
}
.infobox dd {
clear: right;
}
.infobox dt:after {
content: ": ";
font-weight:bold;
}
.infobox.game {
float:right; width: 20em; background-color: #5CDFA7; border: 2px solid white; margin: 0 0 2em 2em; padding: 0.5em 1em 1.5em 1em; -moz-border-radius: 2em; -webkit-border-radius: 2em;
}
.infobox.game h1 {
color:white; font-size:2.5em; font-weight:bold; border:0; margin:0; padding-bottom:0.25em; line-height: 120%;text-align:center;
}
.infobox.game .tagline {
font-size:1.25em; line-height:150%; text-align:center; font-style: italic; padding: 0 0 1em 0;
}
/*
Top boxes
*/
.topbox {
border: 1px solid #ccc;
background: #fcfcfc;
padding: 1em;
margin: 0 0 1em;
}
.topbox.stub {
border-color: #9cd;
background-color: #f0f6fc;
}
.topbox.stub > a.image {
float: left;
margin-right: 1em;
}
/*
Specific class
*/
.mission {
font-size: 1.5em;
line-height: 125%;
padding: .5em 0 1.5em;
font-style: italic;
color: #036;
}