Template:Hubs/styles.css: Difference between revisions

From Bonkipedia
[[mw:]]>Shirayuki
(+background-color)
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:05, 12 November 2022

.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;
}