MediaWiki:Common.css: Difference between revisions
TitoSmooth (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: →CSS used for https://www.mediawiki.org/wiki/MediaWiki/Homepage_improvements_2018 :: .mainpage_row { display: flex; flex-direction: row; flex-flow: row wrap; justify-content: space-between; padding: 0; margin: 0 -5px 0 -5px; } .mainpage_box { flex: 1; margin: 5px; min-width: 210px; border: 1px solid #a2a9b1; padding: 0 10px 10px 10px; box-shadow: 0 2px 2px rgba( 0, 0, 0, 0.2 ); } .mainpage_box h3 { /* R...") |
TitoSmooth (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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; | |||
} | } |
Latest revision as of 01:09, 22 August 2024
/* 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;
}