Jump to content

Template:Documentation/styles.css

From The Perfect Tower II
Revision as of 01:40, 7 October 2026 by Speedybrain (talk | contribs) (Created page with "→Template:Documentation (TemplateStyles): the documentation box on template pages, in theme colors.: .tpl-doc { clear: both; margin-top: 1em; background-color: var(--tpt-surface); color: var(--tpt-ink); border-style: solid; border-width: 1px; border-top-color: var(--tpt-line); border-right-color: var(--tpt-line); border-bottom-color: var(--tpt-line); border-left-color: var(--tpt-line); border-radius: 4px; } .tpl-doc-header { background-color: var(--tpt-s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* Template:Documentation (TemplateStyles): the documentation box on template pages, in theme colors. */
.tpl-doc {
	clear: both;
	margin-top: 1em;
	background-color: var(--tpt-surface);
	color: var(--tpt-ink);
	border-style: solid;
	border-width: 1px;
	border-top-color: var(--tpt-line);
	border-right-color: var(--tpt-line);
	border-bottom-color: var(--tpt-line);
	border-left-color: var(--tpt-line);
	border-radius: 4px;
}

.tpl-doc-header {
	background-color: var(--tpt-surface-alt);
	padding: .642857em 1em .5em;
	border-radius: 4px 4px 0 0;
}

.tpl-doc-heading {
	display: inline-block;
	font-size: 1.5em;
}

.tpl-doc .mw-editsection-like {
	display: inline-block;
	line-height: 24px;
	margin-left: 1em;
}

.tpl-doc-content {
	display: flow-root;
	padding: .214286em 1em;
}