Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| Line 25: | Line 25: | ||
} | } | ||
| + | /* Home stuff */ | ||
#mp-topbanner { | #mp-topbanner { | ||
| Line 36: | Line 37: | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
white-space: nowrap; | white-space: nowrap; | ||
| + | } | ||
| + | |||
| + | .mp-bordered, | ||
| + | .mp-h2, | ||
| + | body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */ | ||
| + | border-width: 1px; | ||
| + | border-style: solid; | ||
| + | } | ||
| + | |||
| + | #mp-topbanner, | ||
| + | .mp-h2, | ||
| + | #mp-left { | ||
| + | color: #000; | ||
| + | } | ||
| + | |||
| + | #mp-welcomecount { | ||
| + | margin: 0.4em; | ||
| + | width: 22em; | ||
| + | text-align: center; | ||
| + | } | ||
| + | |||
| + | #mp-welcome { | ||
| + | font-size: 162%; | ||
| + | padding: 0.1em; | ||
| + | } | ||
| + | |||
| + | #mp-free { | ||
| + | font-size: 95%; | ||
| + | } | ||
| + | |||
| + | #articlecount { | ||
| + | font-size: 85%; | ||
| + | } | ||
| + | |||
| + | #mp-portals { | ||
| + | position: absolute; | ||
| + | right: -1em; | ||
| + | top: 50%; | ||
| + | margin-top: -2.4em; | ||
| + | width: 38%; | ||
| + | min-width: 25em; | ||
| + | font-size: 95%; | ||
} | } | ||
Revision as of 08:28, 12 August 2020
/* 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;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}
/* Home stuff */
#mp-topbanner {
clear: both;
position: relative;
box-sizing: border-box;
width: 100%;
margin-top: 1.2em;
min-width: 47em;
border-color: #ddd;
background-color: #f9f9f9;
white-space: nowrap;
}
.mp-bordered,
.mp-h2,
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */
border-width: 1px;
border-style: solid;
}
#mp-topbanner,
.mp-h2,
#mp-left {
color: #000;
}
#mp-welcomecount {
margin: 0.4em;
width: 22em;
text-align: center;
}
#mp-welcome {
font-size: 162%;
padding: 0.1em;
}
#mp-free {
font-size: 95%;
}
#articlecount {
font-size: 85%;
}
#mp-portals {
position: absolute;
right: -1em;
top: 50%;
margin-top: -2.4em;
width: 38%;
min-width: 25em;
font-size: 95%;
}