Template:Codesample/style.css: Difference between revisions

From Bonkipedia
[[mw:]]>BDavis (WMF)
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:06, 12 November 2022

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