Jump to content

Template:Featured box/styles.css

From the Vrienden Universe, a fictional wiki
Revision as of 09:53, 14 May 2026 by Walter61 (talk | contribs) (Created page with ".featured-box { width: 100%; max-width: 820px; margin: 0.5em 0; border: 1px solid #a2a9b1; border-radius: 8px; background: #ffffff; overflow: hidden; } .featured-box-title { padding: 0.5em 0.75em; font-size: 110%; font-weight: bold; background: #eaecf0; border-bottom: 1px solid #a2a9b1; } .featured-box-body { display: flex; gap: 0.8em; padding: 0.8em; font-size: 105%; align-items: flex-start; } .featured-box-image { flex: 0 0 auto; max-width: 160px;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.featured-box {
	width: 100%;
	max-width: 820px;
	margin: 0.5em 0;
	border: 1px solid #a2a9b1;
	border-radius: 8px;
	background: #ffffff;
	overflow: hidden;
}

.featured-box-title {
	padding: 0.5em 0.75em;
	font-size: 110%;
	font-weight: bold;
	background: #eaecf0;
	border-bottom: 1px solid #a2a9b1;
}

.featured-box-body {
	display: flex;
	gap: 0.8em;
	padding: 0.8em;
	font-size: 105%;
	align-items: flex-start;
}

.featured-box-image {
	flex: 0 0 auto;
	max-width: 160px;
}

.featured-box-image img {
	border-radius: 6px;
}

.featured-box-text {
	flex: 1 1 auto;
	min-width: 0;
}

.featured-box-headline {
	margin-top: 0.35em;
}

.featured-box-actions {
	margin-top: 0.75em;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
}

.featured-box-actions a {
	display: inline-block;
	padding: 0.25em 0.55em;
	border: 1px solid #a2a9b1;
	border-radius: 6px;
	background: #f8f9fa;
	text-decoration: none;
}

.featured-box-actions a:hover {
	background: #eaecf0;
}