Template:Navbox/styles.css

From Mainlining Wiki
Jump to navigation Jump to search
.navbox {
	background-color: var(--background-color-neutral-subtle, #f8f9fa);
	border: 1px solid var(--border-color-base, #a2a9b1);
	line-height: 1.4em;
    text-align: center;
    max-width: 14em;
}

.navbox .navbox-header {
	padding: 2px;
	font-size: 1.35em;
	font-weight: bold;
}

.navbox:not(.no-header-bg) .navbox-header {
	background-color: var(--background-color-neutral, #eaecf0);
	border-bottom: 1px solid var(--border-color-base, #a2a9b1);
	padding: 4px;
}

.navbox .navbox-content .subheading {
	padding: 2px;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.5em;
}

.navbox .navbox-content {
	padding: 2px;
}

.navbox .navbox-content ul,
.navbox .navbox-content ol {
	margin: 0.25em 0;
	list-style-type: none;
}
.navbox .navbox-content li {
	padding: 0.05em 0;
}
.navbox .navbox-content li:before {
	content: "•";
	margin-right: 0.35em;
}
.navbox .navbox-content li:after {
	content: "•";
	margin-left: 0.35em;
}

@media (max-width: 640px) {
	.navbox { max-width: 100%; }
}