Worldpedia:Main Page/styles.css: Difference between revisions
Appearance
see if we can kill the border on timeless |
add an easy batch to add, will remove from mp shortly |
||
| Line 1: | Line 1: | ||
/* {{pp|small=yes}} */ | /* {{pp|small=yes}} */ | ||
#mp-topbanner { | |||
clear: both; | |||
position: relative; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
width: 100%; | |||
margin: 1.2em 0 6px; | |||
min-width: 47em; | |||
border: 1px solid #ddd; | |||
background-color: #f9f9f9; | |||
color: #000; | |||
white-space: nowrap; | |||
} | } | ||
body.skin-minerva #mp-topbanner { | body.skin-minerva #mp-topbanner { | ||
min-width: 0 !important; | min-width: 0 !important; | ||
white-space: initial !important; | white-space: initial !important; | ||
} | } | ||
body.skin-minerva #mp- | |||
#mp-welcomecount { | |||
margin: 0.4em; | |||
width: 22em; | |||
text-align: center; | |||
} | |||
body.skin-minerva #mp-welcomecount { | |||
width: auto !important; | |||
} | |||
#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%; | |||
} | |||
body.skin-minerva #mp-portals { | |||
display: none; | display: none; | ||
} | } | ||
body.skin-minerva | |||
width: | #mp-portals li { | ||
position: absolute; | |||
left: 0; | |||
top: 0; | |||
} | |||
#mp-portals .portal-hmid { | |||
left: 33%; | |||
} | |||
#mp-portals .portal-hright { | |||
left: 66%; | |||
} | |||
#mp-portals .portal-vmid { | |||
top: 1.6em; | |||
} | |||
#mp-portals .portal-vbot { | |||
top: 3.2em; | |||
} | |||
.portal-hright .portal-vbot { | |||
font-weight: bold; | |||
} | |||
#mp-banner { | |||
margin-top: 4px; | |||
padding: 0.5em; | |||
background-color: #fffaf5; | |||
border: 1px solid #f2e0ce; | |||
} | |||
/* SKIN-MINERVA */ | |||
body.skin-minerva table, | |||
body.skin-minerva tr, | |||
body.skin-minerva td, | |||
body.skin-minerva tbody { | |||
display: block !important; | |||
width: 100% !important; | |||
box-sizing: border-box; | |||
} | } | ||
body.skin-minerva #mp-tfp tr td:first-child a { | body.skin-minerva #mp-tfp tr td:first-child a { | ||
text-align: center; | text-align: center; | ||
display: block; | display: block; | ||
} | } | ||
body.skin-minerva #sister-projects-list > div { | body.skin-minerva #sister-projects-list > div { | ||
width: 49%; | width: 49%; | ||
} | } | ||
/* SKIN-TIMELESS */ | |||
body.skin-timeless h2::after { | body.skin-timeless h2::after { | ||
border: none; | border: none; | ||
} | } | ||
Revision as of 06:01, 15 May 2020
/* {{pp|small=yes}} */
#mp-topbanner {
clear: both;
position: relative;
box-sizing: border-box;
width: 100%;
margin: 1.2em 0 6px;
min-width: 47em;
border: 1px solid #ddd;
background-color: #f9f9f9;
color: #000;
white-space: nowrap;
}
body.skin-minerva #mp-topbanner {
min-width: 0 !important;
white-space: initial !important;
}
#mp-welcomecount {
margin: 0.4em;
width: 22em;
text-align: center;
}
body.skin-minerva #mp-welcomecount {
width: auto !important;
}
#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%;
}
body.skin-minerva #mp-portals {
display: none;
}
#mp-portals li {
position: absolute;
left: 0;
top: 0;
}
#mp-portals .portal-hmid {
left: 33%;
}
#mp-portals .portal-hright {
left: 66%;
}
#mp-portals .portal-vmid {
top: 1.6em;
}
#mp-portals .portal-vbot {
top: 3.2em;
}
.portal-hright .portal-vbot {
font-weight: bold;
}
#mp-banner {
margin-top: 4px;
padding: 0.5em;
background-color: #fffaf5;
border: 1px solid #f2e0ce;
}
/* SKIN-MINERVA */
body.skin-minerva table,
body.skin-minerva tr,
body.skin-minerva td,
body.skin-minerva tbody {
display: block !important;
width: 100% !important;
box-sizing: border-box;
}
body.skin-minerva #mp-tfp tr td:first-child a {
text-align: center;
display: block;
}
body.skin-minerva #sister-projects-list > div {
width: 49%;
}
/* SKIN-TIMELESS */
body.skin-timeless h2::after {
border: none;
}