Template:Codesample/style.css: Difference between revisions

From Discord Client Modding Wiki
Jump to navigation Jump to search
(Undo revision 5934359 by Waldyrious (talk))
 
m (1 revision imported: Add Template:Codesample)
 
(No difference)

Latest revision as of 16:54, 8 March 2024

.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;
}