Toggle menu
Toggle preferences menu
Toggle personal menu
Ikke logget på
Your IP address will be publicly visible if you make any edits.

Modul:Hatnote/styles.css: Forskelle mellem versioner

Fra Kammeraterikrig.dk
kik>Izno
per my talk page
 
m 1 version importeret
 
(2 mellemliggende versioner af 2 andre brugere ikke vist)
Linje 1: Linje 1:
/* {{pp|small=y}} */
.hatnote-container {
.hatnote {
display: flex;
font-style: italic;
align-items: center;
padding: var(--space-sm) var(--space-md);
margin-block: var(--space-md);
background: var(--color-surface-1);
border: 1px solid var(--border-color-base);
border-radius: var(--border-radius-medium);
font-size: var(--font-size-small);
line-height: var(--line-height-xx-small);
}
}


/* Limit structure CSS to divs because of [[Module:Hatnote inline]] */
.hatnote-icon img {
div.hatnote {
display: block;
/* @noflip */
width: var(--font-size-small);
padding-left: 1.6em;
height: auto;
margin-bottom: 0.5em;
margin-right: var(--space-xs);
}
opacity: var(--opacity-icon-base);
 
filter: var(--filter-invert);
.hatnote i {
font-style: normal;
}
 
/* The templatestyles element inserts a link element before hatnotes.
* TODO: Remove link if/when WMF resolves T200206 */
.hatnote + link + .hatnote {
margin-top: -0.5em;
}
}

Nuværende version fra 7. mar. 2026, 19:11

.hatnote-container {
	display: flex;
	align-items: center;
	padding: var(--space-sm) var(--space-md);
	margin-block: var(--space-md);
	background: var(--color-surface-1);
	border: 1px solid var(--border-color-base);
	border-radius: var(--border-radius-medium);
	font-size: var(--font-size-small);
	line-height: var(--line-height-xx-small);
}

.hatnote-icon img {
	display: block;
	width: var(--font-size-small);
	height: auto;
	margin-right: var(--space-xs);
	opacity: var(--opacity-icon-base);
	filter: var(--filter-invert);
}