MediaWiki:Common.css: Difference between revisions

From Metroid Wiki
m
needs a bit more padding
(move colouring styles to skin-specific page)
m (needs a bit more padding)
 
(11 intermediate revisions by the same user not shown)
Line 49: Line 49:
.client-js .NavFrame.collapsed > .NavContent {
.client-js .NavFrame.collapsed > .NavContent {
display: none;
display: none;
}
/* Standard layout */
.outer-box {
border-radius: 20px;
border: 2px solid;
margin-bottom: 10px;
}
.content-box {
border-radius: 15px;
border: 1px solid;
margin: 3px;
padding: 0.4em 0.4em 1.2em;
}
/* Template:Notice */
.notice.outer-box {
width: 50%;
margin-left: 10%;
}
.notice .content-box {
text-align: center;
}
/* Infobox styles */
.infobox {
float: right;
width: 300px;
font-family: arial, sans-serif;
font-size: 11px;
margin: 0 0 1em 1em;
border: 1px solid #a2a9b1;
}
.infobox-sub {
width: 100%;
margin-left: auto;
margin-right: auto;
border-spacing: 0;
}
.infobox-sub th,
.infobox-sub td {
border: 1px solid #a2a9b1;
padding: 0.4em;
}
.infobox-sub th {
width: 30%;
text-align: right;
}
.infobox-sub td > p {
margin: 0;
}
}