MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
/* Infobox container */ | /* Infobox container */ | ||
.infobox { | .infobox { | ||
width: 300px; | width: 300px!important; | ||
border: 1px solid #aaa; | border: 1px solid #aaa!important; | ||
background-color: #f9f9f9; | background-color: #f9f9f9!important; | ||
font-family: Arial, sans-serif; | font-family: Arial, sans-serif!important; | ||
font-size: 14px; | font-size: 14px!important; | ||
color: #333; | color: #333!important; | ||
padding: 10px; | padding: 10px!important; | ||
float: right; | |||
margin: 0 0 10px 10px; | |||
} | } | ||
/* H1 title style */ | /* H1 title style */ | ||
.infobox h1 { | .infobox h1 { | ||
font-size: 18px; | font-size: 18px!important; | ||
text-align: center; | text-align: center!important; | ||
margin-bottom: 10px; | margin-bottom: 10px!important; | ||
} | } | ||
/* Image style */ | /* Image style */ | ||
.infobox img { | .infobox img { | ||
display: block; | display: block!important; | ||
margin: 0 auto 10px auto; | margin: 0 auto 10px auto!important; | ||
max-width: 100%; | max-width: 100%!important; | ||
height: auto; | height: auto!important; | ||
border: 1px solid #ccc; | border: 1px solid #ccc!important; | ||
} | } | ||
/* Section header style */ | /* Section header style */ | ||
.infobox .section-title { | .infobox .section-title { | ||
background-color: #ddd; | background-color: #ddd!important; | ||
padding: 5px; | padding: 5px!important; | ||
font-weight: bold; | font-weight: bold!important; | ||
margin-top: 10px; | margin-top: 10px!important; | ||
margin-bottom: 5px; | margin-bottom: 5px!important; | ||
} | } | ||
/* Numbered list style */ | /* Numbered list style */ | ||
.infobox ol { | .infobox ol { | ||
padding-left: 20px; | padding-left: 20px!important; | ||
margin: 0; | margin: 0!important; | ||
} | } | ||
Latest revision as of 13:38, 28 January 2026
/* CSS placed here will be applied to all skins */
/* Infobox container */
.infobox {
width: 300px!important;
border: 1px solid #aaa!important;
background-color: #f9f9f9!important;
font-family: Arial, sans-serif!important;
font-size: 14px!important;
color: #333!important;
padding: 10px!important;
float: right;
margin: 0 0 10px 10px;
}
/* H1 title style */
.infobox h1 {
font-size: 18px!important;
text-align: center!important;
margin-bottom: 10px!important;
}
/* Image style */
.infobox img {
display: block!important;
margin: 0 auto 10px auto!important;
max-width: 100%!important;
height: auto!important;
border: 1px solid #ccc!important;
}
/* Section header style */
.infobox .section-title {
background-color: #ddd!important;
padding: 5px!important;
font-weight: bold!important;
margin-top: 10px!important;
margin-bottom: 5px!important;
}
/* Numbered list style */
.infobox ol {
padding-left: 20px!important;
margin: 0!important;
}