Template:TemplateBox/styles.css: Difference between revisions

From HKVFS Wiki
Jump to navigation Jump to search
(Dark mode support)
 
m (1 revision imported)
 

Latest revision as of 05:51, 11 September 2024

.templatebox-desc {
	font-size: 1.2em;
	font-weight: bolder;
	padding: 0.2em;
}
.templatebox-usagesample {
	font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono',
		'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace;
}
.templatebox-languagedependant {
	background: rgba(255, 255, 255, 0.5);
	padding: 0.2em;
}
.templatebox-example {
	border:1px solid var(--border-color-base,#a2a9b1);
	width: 90%;
	padding: 1.5em;
}
.templatebox-example:after {
	display: block;
	content: "";
	clear: both;
}
hr.templatebox-examples-separator {
	margin: 1em 0;
}