MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Replaced content with "→CSS placed here will be applied to all skins: →remove header on Main_Page: body.page-Main_Page.ns-subject h1.firstHeading { display: none; } →* INFOBOXES *: div.infobox{ float:right; position:relative; width:300px; background:#FFF; font-size:.923em; border:1px solid #AAA; margin:0 0 1em 1em; padding:0; }") Tag: Replaced |
No edit summary |
||
Line 6: | Line 6: | ||
/** INFOBOXES **/ | /** INFOBOXES **/ | ||
.infobox { | |||
border: 1px solid #020202; | |||
background-color: #f9f9f9; | |||
color: black; | |||
margin-bottom: 0.2em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
} | |||
.infobox td, | |||
.infobox th { | |||
vertical-align: top; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
} | |||
.infobox.bordered { | |||
border-collapse: collapse; | |||
} | |||
.infobox.bordered td, | |||
.infobox.bordered th { | |||
border: 1px solid #020202; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | } |
Revision as of 18:28, 11 September 2022
/* CSS placed here will be applied to all skins */
/*remove header on Main_Page*/
body.page-Main_Page.ns-subject h1.firstHeading {
display: none;
}
/** INFOBOXES **/
.infobox {
border: 1px solid #020202;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.2em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #020202;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}