Template:Codesample/style.css

From Discord Client Modding Wiki
Revision as of 15:49, 20 May 2023 by mediawikiwiki:Template:Codesample>Waldyrious (Undo revision 5934359 by Waldyrious (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.wt-codesample-wrapper {
	margin: 1em 0;
}
.wt-codesample-header {
	display: flex;
}
.wt-codesample-header div {
	border-color: #c8ccd1;
	border-style: solid;
	border-width: 0;
}
.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;
}