Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em;...") |
|||
Line 2: | Line 2: | ||
.infobox { | .infobox { | ||
− | + | background-color: #ffff00; | |
− | + | border: 2px solid #008600; | |
− | + | float: right; | |
− | + | margin: 0 0 1em 1em; | |
− | + | padding: 1em; | |
− | + | width: 400px; | |
+ | } | ||
+ | .infobox-title { | ||
+ | border: 1px solid #000000; | ||
+ | font-size: 1.5em; | ||
+ | text-align: center; | ||
+ | background-color: #ff0000; | ||
} | } | ||
− | .infobox- | + | .infobox-subtitle { |
− | + | font-size: 1em; | |
− | + | text-align: center; | |
+ | background-color: #fff00; | ||
} | } | ||
.infobox-image { | .infobox-image { | ||
− | + | text-align: center; | |
− | + | background-color: #ffff00; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 13:43, 8 December 2022
/* CSS placed here will be applied to all skins */
.infobox {
background-color: #ffff00;
border: 2px solid #008600;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
border: 1px solid #000000;
font-size: 1.5em;
text-align: center;
background-color: #ff0000;
}
.infobox-subtitle {
font-size: 1em;
text-align: center;
background-color: #fff00;
}
.infobox-image {
text-align: center;
background-color: #ffff00;
}