MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 1rem; | ||
justify-content: center; | justify-content: center; | ||
} | } |
Revision as of 14:16, 17 August 2024
/* CSS placed here will be applied to all skins */ /** Main Page */ .hhw-mp-icons { padding: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; } .hhw-mp-icon { display: flex; flex-direction: column; text-align: center; } .hhw-mp-icon-img { width: 64px; } /** Notice Boxes */ .hhw-noticebox { display: flex; padding: 1rem; margin: 0.5rem auto 0.5rem; font-weight: bold; border-radius: 0.5rem; border: solid 2px var(--color-progressive); border-left: solid 8px var(--color-progressive); } .hhw-noticebox-error { display: flex; padding: 1rem; margin: 0.5rem; font-weight: bold; border-radius: 0.5rem; border: solid 2px var(--color-error); border-left: solid 8px var(--color-error); } .hhw-noticebox-warning { display: flex; padding: 1rem; margin: 0.5rem; font-weight: bold; border-radius: 0.5rem; border: solid 2px var(--color-warning); border-left: solid 8px var(--color-warning); }