Template:Tracked/styles.css

From "PTTLink Wiki"
< Template:Tracked
Revision as of 06:25, 6 August 2021 by Mediawiki>ExE Boss (Add styles for `.tracked .status` (match mw:Template:Tracked/styles.css))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
/**
 * Styles for [[Template:Tracked]].
 */
.tracked { 
	float: right;
	clear: right;
	border: 1px solid #999;
	border-radius: 0.5em;
	background-color: #eee;
	background-image: linear-gradient(to bottom, #ddd,#eee);
	font-size: 85%;
	text-align: center;
	padding: 0.5em;
	margin-left: 1em;
	margin-bottom: 1em;
	width: 12em;
	color: black;
}

.tracked p {
	margin: 0;
}

.tracked-url {
	font-weight: bold;
}

/* status line */
.tracked .status,
.tracked-status {
	font-weight: bold;
	text-transform: uppercase;
}

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

.tracked .status.critical,
.tracked-critical {
	color: red;
	font-size: 1.5em;
}