Template:Hubs/styles.css

From Bonkipedia
< Template:Hubs
Revision as of 11:02, 11 March 2021 by [[mw:]]>Shirayuki (+background-color)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.hubs {
	display: flex;
}
.hubs-pagedir-ltr {
	margin: 0 0.5em 0.5em 0;
}
.hubs-pagedir-rtl {
	margin: 0 0 0.5em 0.5em;
}
.hubs-pagedir-ltr.hubs-align-right {
	margin: 0 0 0.5em 1em;
}
.hubs-pagedir-rtl.hubs-align-right {
	margin: 0 1em 0.5em 0;
}
.hubs-align-left.hubs-pagedir-ltr,
.hubs-align-right.hubs-pagedir-rtl {
	float: left;
}
.hubs-align-right.hubs-pagedir-ltr,
.hubs-align-left.hubs-pagedir-rtl {
	float: right;
}
.hubs-align-center::before,
.hubs-align-center::after {
	display: inline-block;
	content: "";
	flex-grow: 1;
}
.hubs li {
	display: inline-block;
	margin: 0;
	border: 1px solid #a2a9b1;
	padding: 5px;
	background-color: #f8f9fa;
}
.hubs li:not(:first-child) {
	margin-left: -1px;
}
.hub-highlighted {
	font-size: 100%;
	font-weight: bold;
	background-color: #cff;
}