Jump to content

Worldpedia:Main Page/styles.css

From Worldpedia, the free encyclopedia
Revision as of 06:46, 15 May 2020 by enwiki>Izno (fix the bold)
/* {{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;
	white-space: initial;
}

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

body.skin-minerva #mp-welcomecount {
	width: auto;
}

#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;
}

#mp-upper h2,
#mp-middle h2,
#mp-lower h2,
#mp-other-lower h2.mp-h2 {
	margin: 0.5em;
	padding: 0.2em 0.4em;
	border-width: 1px;
	border-style: solid;
	font-weight: bold;
	font-family: inherit;
	font-size: 120%;
}

body.skin-timeless h2::after {
	border: none;
}




/* 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;
}