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 05:31, 28 November 2021 (give this a negative bottom margin when it's on top). 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 + link + .portal-bar */
/* don't need the link version b.c. should only be used once a page */
.navbox + style + .portal-bar {
	margin-top: -1px;
}

.portal-bar + .navbox-styles {
	margin-bottom: -1px;
}