MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 404: | Line 404: | ||
} | } | ||
/* | /* Layout siteNotice as two columns: text left, CTA right */ | ||
#siteNotice { | |||
display: flex; | |||
align-items: center; | |||
gap: 20px; | |||
} | |||
/* Let text take available space */ | |||
#siteNotice > *:not(a) { | |||
flex: 1 1 auto; | |||
} | |||
/* Keep donate button fixed on the right */ | |||
#siteNotice a { | #siteNotice a { | ||
flex: 0 0 auto; | |||
white-space: nowrap; | |||
} | } | ||