Template:Category/Guide/styles.css

From Miniscope
Jump to: navigation, search
/* TemplateStyles for {{Category/Guide}} — extends the document
   masthead with guide-specific facets and an optional workflow
   section. Visual tokens follow the --labki-* convention used by
   Category/Document/styles.css; override those in MediaWiki:Common.css
   to retheme per wiki. */

.guide-parent-breadcrumb {
	font-size: 0.9rem;
	color: var(--labki-text-muted, #5a6a7a);
	margin: 0 0 0.6em 0;
}

.guide-facets {
	font-size: 0.9rem;
	color: var(--labki-text, #2c2c2c);
	margin: 0.6em 0 1em 0;
	line-height: 1.6;
}

.guide-facets .guide-facet-label {
	color: var(--labki-text-muted, #5a6a7a);
	font-weight: 600;
	margin-right: 0.25em;
}

/* Container variant — full-width workflow overview on the landing page. */
.guide-workflow-container {
	margin: 1.5em 0;
	padding: 1em 1.25em;
	border: 1px solid var(--labki-border, #d0d7de);
	border-radius: 6px;
	background: var(--labki-bg-subtle, #f4f6f8);
}

.guide-workflow-container > h2 {
	margin-top: 0;
	border-bottom: none;
	font-size: 1.15rem;
}

/* Node variant — right-floating sidebox so the article body wraps around it. */
.guide-workflow-node {
	float: right;
	width: 360px;
	max-width: 100%;
	margin: 0 0 1em 1.5em;
	padding: 0.75em 1em;
	border: 1px solid var(--labki-border, #d0d7de);
	border-radius: 6px;
	background: var(--labki-bg-subtle, #f4f6f8);
	font-size: 0.9rem;
}

.guide-workflow-node > h2 {
	margin-top: 0;
	border-bottom: none;
	font-size: 1rem;
}

/* On narrow viewports, let the sidebox stack above the body rather than
   shrinking to an unreadable column. */
@media (max-width: 720px) {
	.guide-workflow-node {
		float: none;
		width: auto;
		margin: 1em 0;
	}
}

.guide-workflow-nav {
	margin-top: 0.5em;
}

.guide-workflow-nav-section {
	margin: 0.5em 0;
}

.guide-workflow-nav-label {
	font-weight: 600;
	color: var(--labki-text-muted, #5a6a7a);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: 0.2em;
}

.guide-workflow-nav-section ul {
	margin: 0.2em 0 0 1.2em;
	padding: 0;
}