Module:Portal bar/styles.css: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
give this a negative bottom margin when it's on top
 
m 1 revision imported
(No difference)

Revision as of 16:26, 5 December 2021

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