MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Testing global Tag: Replaced |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Infobox CSS */ | |||
.infobox { | |||
width: 256px; | |||
background-color: #222; | |||
font-size: 85%; | |||
border-radius: 7px; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0 ; | |||
float: right; | |||
clear: right | |||
} | |||
.infobox2 { | |||
text-align: center; | |||
background-color: #070707; | |||
margin: 0; | |||
font-size: 120%; | |||
padding: 0.25em; | |||
border-radius: 4px; | |||
} | |||
.infobox3 { | |||
font-weight: normal; | |||
text-align: center; | |||
font-family: 'Courier New'; | |||
background-color: #070707; | |||
margin: 0; | |||
padding: 0; | |||
border-radius: 4px; | |||
} | |||
.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 #aaaaaa; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | |||
Revision as of 21:21, 21 December 2018
/* CSS placed here will be applied to all skins */
/* Infobox CSS */
.infobox {
width: 256px;
background-color: #222;
font-size: 85%;
border-radius: 7px;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0 ;
float: right;
clear: right
}
.infobox2 {
text-align: center;
background-color: #070707;
margin: 0;
font-size: 120%;
padding: 0.25em;
border-radius: 4px;
}
.infobox3 {
font-weight: normal;
text-align: center;
font-family: 'Courier New';
background-color: #070707;
margin: 0;
padding: 0;
border-radius: 4px;
}
.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 #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}