Main Page/styles.css: Difference between revisions
From AlternateWiki
Content deleted Content added
Created page with "→{{pp|small=yes}}: .mp-box { border: 1px solid #aaa; →all border colors overriden on specific elements: padding: 0 0.5em 0.5em; margin-top: 4px; } .mp-h2, body.skin-timeless .mp-h2 { →Timeless needs a higher specificity: border: 1px solid #aaa; →all border colors overriden on specific elements: margin: 0.5em 0; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold; font-family: inherit; } .mp-later { font-size: 85%; font-weight: normal; }..." |
No edit summary Tag: Reverted |
||
Line 1:
.mainpage-body {
margin:auto;
}
#mainpage-banner span
{
display: inline-block;
border-radius:12px;
}
.mainpage-banner-overlay {
position: absolute;
width: 100%;
}
.mainpage-header {
display: flex;
margin: 2em 5em;
align-items:baseline;
}
.header-intro {
flex: 2;
}
.header-intro h1 {
border: none;
margin: 0 0 .15em;
}
.header-intro p {
line-height: 1.7em;
}
.header-stats {
display: flex;
align-items: center;
margin:auto;
}
.header-stats ul {
list-style: none;
}
@media screen and (max-width: 800px) {
.mainpage-header {
flex-direction: column;
margin:2em;
}
}
.mainpage-frame {
box-shadow: 0 0 .3em #999;
border-
width:100%;
}
.mainpage-frame:after {
display: block;
content: "";
clear: both;
}
.separator {
width:5%;
margin:1em auto;
}
.frame-header {
background-color:#b50014;
border-radius: 1em 1em 0.25em 0.25em;
padding: .4em .8em .5em;
font-weight: bold;
}
.frame-header:before {
display: inline-block;
/* Add some content in order to get normal line height, then make it transparent */
content: "x";
color: transparent;
width: 40px;
opacity: .7;
background-size: contain;
background-repeat: no-repeat;
background-position: left center;
}
.frame-body {
padding: 1em;
}
|