Template:Box/style.css

Revision as of 02:42, 20 July 2021 by Samwilson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.tpl-box {
	border: 1px solid black;
	border-left-width: 4px;
	border-radius: 0.5em;
	padding: 0.5em;
	margin: 0.5em 0;
	overflow: hidden;
}

.tpl-box-label {
	float: right;
	font-size: larger;
	font-variant: small-caps;
	transform: rotate( 270deg );
	transform-origin: top right;
	left: -1em;
	position: relative;
}

.tpl-box-colour-blue {
	border-color: #a4d2e1;
}

.tpl-box-colour-blue .tpl-box-label {
	color: #76bcd2;
}

.tpl-box-colour-orange {
	border-color: #f4c7b1;
}

.tpl-box-colour-orange .tpl-box-label {
	color: #f29653;
}

.tpl-box-content {
	margin-right: 1.3em;
}
Discuss this page