Module:Hatnote/styles.css

From Estfor Kingdom
< Module:Hatnote
Revision as of 22:44, 28 February 2023 by Arod (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.hatnote-container {
	display: flex;
	align-items: center;
	padding: var( --space-sm ) var( --space-md );
	margin-top: var( --space-xs );
	margin-bottom: var( --space-md );
	background: var( --color-surface-2 );
	border-radius: var( --border-radius--medium );
	color: var( --color-base--subtle );
	font-size: 0.875rem;
	line-height: var( --line-height-xs );
}

.hatnote-icon img {
	width: 14px;
	height: auto;
	margin-right: var( --space-xs );
	opacity: var( --opacity-icon-base );
}

/* Dark theme */
html.skin-citizen-dark .hatnote-icon img {
	filter: invert( 1 );
}