Jump to content

Template:Codesample/style.css

From wikiNonStop
Revision as of 08:20, 12 April 2026 by Majestix (talk | contribs) (1 revision imported: Initial Setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.wt-codesample-wrapper {
	margin: 1em 0;
}
.wt-codesample-header {
	display: flex;
}
.wt-codesample-header div {
	border: 0 solid var( --border-color-muted, #dadde3 );
}
.wt-codesample-header .wt-codesample-title {
	font-weight: bold;
	padding: .5em 1em;
	border-width: 1px 1px 0 1px;
	border-radius: .5em .5em 0 0;
}
.wt-codesample-header .wt-codesample-fill {
	border-width: 0 0 1px 0;
	flex: 2;
}
.wt-codesample-wrapper pre {
	font-family: "Source Code Pro",Menlo,Consolas,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New", monospace, monspace;
	margin: 0;
}
.wt-codesample-header + .mw-highlight pre {
	border-top: none;
}
.wt-codesample-wrapper div.mw-highlight,
.wt-codesample-header + div.mw-highlight {
	margin-top: 0;
}