Template:Helpbox/styles.css

From Bradshaw, the companion guide to On Our Lines
Revision as of 15:53, 4 February 2024 by Jarley (talk | contribs) (Created page with ".help-box { background: #f5faff; line-height: 1.6em; } .help-box .sidebar-title { background: #cee0f2; font-size: 130%; padding-left: 0.4em; padding-right: 0.4em; →‎gap before first heading/content: margin-bottom: 6px; } .help-box .sidebar-heading { background: #cee0f2; padding: 0.1em 0.7em 0.15em; } .help-box .sidebar-content, →‎conservatively target subgroups since we're working with a metatemplate: .help-box .sidebar-content-with-subgroup { padding-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.help-box {
	background: #f5faff;
	line-height: 1.6em;
}

.help-box .sidebar-title {
	background: #cee0f2;
	font-size: 130%;
	padding-left: 0.4em;
	padding-right: 0.4em; /* gap before first heading/content */
	margin-bottom: 6px;
}

.help-box .sidebar-heading {
	background: #cee0f2;
	padding: 0.1em 0.7em 0.15em;
}

.help-box .sidebar-content,
/* conservatively target subgroups since we're working with a metatemplate */
.help-box .sidebar-content-with-subgroup {
	padding-top: 0.15em;
}

@media all and (min-width: 720px) {
	.help-box {
		width: auto;
		max-width: 22em;
	}
}