Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Module:Note/styles.css: Difference between revisions

From Amaranth Legacy, available at amaranth-legacy.community
Content deleted Content added
imported>Tesinormed
m 1 revision imported
m Protected "Module:Note/styles.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.module-note-container {
/* {{pp|small=y}} */
display: flex;
.hatnote {
gap: var(--space-sm);
font-style: italic;
align-items: center;
padding: var(--space-sm);
margin-top: var(--space-xs);
margin-bottom: var(--space-md);
background: #384f94;
color: var(--color-inverted-primary);
border-radius: var(--border-radius-medium);
}
}


.module-note-icon img {
/* Limit structure CSS to divs because of [[Module:Hatnote inline]] */
display: block;
div.hatnote {
filter: var(--filter-invert-fixed);
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
}


.module-note a,
.hatnote i {
.module-note a:visited,
font-style: normal;
.module-note a:hover,
}
.module-note a:visited:hover {

color: #00fae1 !important;
/* The templatestyles element inserts a link element before hatnotes.
* TODO: Remove link if/when WMF resolves T200206 */
.hatnote + link + .hatnote {
margin-top: -0.5em;
}
}

Latest revision as of 10:52, September 11, 2025

.module-note-container {
	display: flex;
	gap: var(--space-sm);
	align-items: center;
	padding: var(--space-sm);
	margin-top: var(--space-xs);
	margin-bottom: var(--space-md);
	background: #384f94;
	color: var(--color-inverted-primary);
	border-radius: var(--border-radius-medium);
}

.module-note-icon img {
	display: block;
	filter: var(--filter-invert-fixed);
}

.module-note a,
.module-note a:visited,
.module-note a:hover,
.module-note a:visited:hover {
	color: #00fae1 !important;
}