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

per tper
per phab:T258290, use skin--responsive instead
Line 216: Line 216:
@media (max-width: 875px) {
@media (max-width: 875px) {
body.skin-minerva #mp-welcomecount,
body.skin--responsive #mp-welcomecount {
body.skin-timeless #mp-welcomecount {
width: auto;
width: auto;
}
}


body.skin-minerva #mp-topbanner,
body.skin--responsive #mp-topbanner {
body.skin-timeless #mp-topbanner {
min-width: 0;
min-width: 0;
white-space: normal;
white-space: normal;
}
}
body.skin-minerva #mp-portals,
body.skin--responsive #mp-portals {
body.skin-timeless #mp-portals {
display: block;
display: block;
position: static;
position: static;
Line 240: Line 237:
}
}
body.skin-minerva #mp-portals li,
body.skin--responsive #mp-portals li {
body.skin-timeless #mp-portals li {
position: static;
position: static;
display: inline;
display: inline;
Line 247: Line 243:
}
}
body.skin-minerva #mp-topbanner .portal-hright,
body.skin--responsive #mp-topbanner .portal-hright {
body.skin-timeless #mp-topbanner .portal-hright {
white-space: nowrap;
white-space: nowrap;
}
}
body.skin-minerva table,
body.skin--responsive table,
body.skin-minerva tr,
body.skin--responsive tr,
body.skin-minerva td,
body.skin--responsive td,
body.skin-minerva tbody,
body.skin--responsive tbody {
body.skin-timeless table,
body.skin-timeless tr,
body.skin-timeless td,
body.skin-timeless tbody {
display: block !important;
display: block !important;
width: 100% !important;
width: 100% !important;
Line 265: Line 256:
}
}


body.skin-minerva #mp-tfp tr:first-child td:first-child a,
body.skin--responsive #mp-tfp tr:first-child td:first-child a {
body.skin-timeless #mp-tfp tr:first-child td:first-child a {
text-align: center;
text-align: center;
display: table;
display: table;