Template:T/styles.css

From Bonkipedia
< Template:T
Revision as of 19:32, 14 August 2021 by [[mw:]]>ExE Boss (Set `font‑weight` on `.phui‑tag‑wrapper`)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* Phabricator-like tag styling */
.phui-tag-wrapper,
.phui-tag {
	color: black;
	font: 13px 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol', 'Lato',
		'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: 1.51em;
	font-weight: bold;
}

.phui-tag-wrapper .phui-tag-core,
.phui-tag {
	background-color: #EBECEE;
	border: 1px solid #C7CCD9;
	border-radius: 3px;
	padding: 0 4px;
}

.phui-tag-wrapper > a:hover .phui-tag-core,
.phui-tag:hover {
	border-color: #A1A6B0;
}

.phui-tag > a.external {
	/* copied from `.plainlinks a.external { ... }`: */
	background: none !important;
	padding: 0 !important;
}

.phui-tag-wrapper > a,
.phui-tag-wrapper > a:visited,
.phui-tag > a,
.phui-tag > a:visited {
	color: black;
}