Template:Main Page/styles.css: Difference between revisions

Undo revision 2254 by AZMindroma (talk)
Tags: Undo Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
#mp-topbanner {
/* {{pp|small=yes}} */
position: relative;
.mp-box {
box-sizing: border-box;
border: 1px solid #aaa; /* all colors overriden on specific elements in @media screen */
min-width: 47em;
padding: 0 0.5em 0.5em;
border-color: #ddd;
margin-top: 4px;
background-color: #f9f9f9;
white-space: nowrap;
}
}


.mp-bordered,
.mp-h2,
.mp-h2,
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */
border-width: 1px;
border: 1px solid #aaa; /* all colors overriden on specific elements in @media screen */
border-style: solid;
margin: 0.5em 0;
padding: 0.2em 0.4em;
font-size: 120%;
font-weight: bold;
font-family: inherit;
}
}


#mp-topbanner,
.mp-later {
.mp-h2,
font-size: 85%;
#mp-left {
font-weight: normal;
color: #000;
}
}


#mp-welcomecount {
#mp-welcomecount {
text-align: center;
margin: 0.4em;
margin: 0.4em;
width: 22em;
text-align: center;
}
}


Line 30: Line 29:
font-size: 162%;
font-size: 162%;
padding: 0.1em;
padding: 0.1em;
}
#mp-welcome h1,
#mp-welcome .mw-heading1 {
font-size: inherit;
font-family: inherit;
display: inline;
border: none;
}
}


Line 40: Line 47:
}
}


#mp-portals {
#articlecount > ul {
position: absolute;
margin: 0;
right: -1em;
padding: 0;
top: 50%;
margin-top: -2.4em;
width: 38%;
min-width: 25em;
font-size: 95%;
}
}


#mp-portals li {
#articlecount > ul > li {
position: absolute;
margin: 0;  
left: 0;
display: inline;
top: 0;
}
}


#mp-portals .portal-hmid {
#articlecount > ul > li::after {
left: 33%;
content: " · ";
font-weight: bold;
}
}


#mp-portals .portal-hright {
#articlecount > ul > li:last-child::after {
left: 66%;
content: "";
}
}


#mp-portals .portal-vmid {
#mp-banner {
top: 1.6em;
text-align: center;
padding-top: 0.5em;
}
}


#mp-portals .portal-vbot {
/* clear fix */
top: 3.2em;
.mp-contains-float::after {
}
content: "";
 
display: block;
#mp-portals li:last-child {
clear: both;
font-weight: bold;
}
 
#mp-banner {
margin-top: 4px;
padding: 0.5em;
background-color: #fffaf5;
border-color: #f2e0ce;
}
}