Template:Tracked/styles.css: Difference between revisions

From Bonkipedia
[[mw:]]>Tacsipacsi
(use left margin for boxes floated to the right, not right margin (this restores the old wikitext behavior and also makes much more sense))
 
m (1 revision imported: Infobox templates)
 
(No difference)

Latest revision as of 17:54, 12 November 2022

/**
 * Styles for [[Template:Tracked]].
 */
.tpl-tracked {
	background-color: #EAECF0;
	border: 1px solid #72777D;
	border-radius: 2px;
	font-size: 85%;
	margin-bottom: 1em;
	padding: 0.5em;
	text-align: center;
	width: 12em;
}

.tpl-tracked.float-left {
	/* @noflip */
	float: left;
	/* @noflip */
	clear: left;
	/* @noflip */
	margin-right: 1em;
}

.tpl-tracked.float-right {
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	/* @noflip */
	margin-left: 1em;
}

/* Status line */
.tpl-tracked .status {
	color: black;
	font-weight: bold;
	text-transform: uppercase;
}

.tpl-tracked .status.resolved {
	color: green;
}