Module:Note/styles.css: Difference between revisions
From Amaranth Legacy, available at amaranth-legacy.community
More actions
Content deleted Content added
en-wikipedia>Izno per my talk page |
Tesinormed (talk | contribs) m Protected "Module:Note/styles.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading] |
||
| (23 intermediate revisions by 3 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); |
|||
| ⚫ | |||
| ⚫ | |||
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; |
|||
| ⚫ | |||
} |
} |
||
.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 { |
|||
| ⚫ | |||
} |
} |
||
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;
}