MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
color: #333!important; | color: #333!important; | ||
padding: 10px!important; | padding: 10px!important; | ||
float: right; | |||
margin: 0 0 10px 10px; | |||
} | } | ||
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;
}