Jump to content

Module:Portal bar/styles.css

Page template-protected
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Izno (talk | contribs) at 22:30, 14 November 2021 (Protected "Module:Portal bar/styles.css": Highly visible template, match parent ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
/* {{pp|small=y}} */
.portal-bar {
	font-weight: bold;
	font-size: 88%;
	text-align: center;
}

.portal-bar-bordered {
	padding: 0.5em 2em 0.4em;
	background-color: #fdfdfd;
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	clear: both;
	margin: 1em auto 0;
}

.portal-bar-unbordered {
	padding: 0.4em 1.7em 0.1em;
	margin-left: 0;
}

.portal-bar > li {
	display: inline-block;
	white-space: nowrap;
}

.portal-bar > li > span {
	margin: 0 0.5em;
}

.navbox + script + .portal-bar,
/* .navbox + link + .portal-bar */
/* don't need this version b.c. should only be used once a page */
.portal-bar + .navbox, /* TODO remove transitional support */
.portal-bar + .navbox-styles /* when navbox is transitioned */ {
	margin-top: -1px;
}