MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
/** Main Page */ | /** Main Page */ | ||
.hhw- | .hhw-mp-icons { | ||
padding: 1rem; | |||
padding: | |||
display: flex; | display: flex; | ||
flex-wrap: wrap; | |||
row-gap: 1rem; | |||
justify-content: center; | justify-content: center; | ||
} | } | ||
.hhw- | .hhw-mp-icon { | ||
display: flex; | |||
flex-direction: column; | |||
gap: 0.25rem; | |||
} | } | ||
/** Notice Boxes */ | /** Notice Boxes */ | ||
.hhw-noticebox { | .hhw-noticebox { | ||
display: flex; | display: flex; | ||
padding: | padding: 1rem; | ||
margin: 0.5rem auto 0.5rem; | margin: 0.5rem auto 0.5rem; | ||
Line 51: | Line 32: | ||
.hhw-noticebox-error { | .hhw-noticebox-error { | ||
display: flex; | display: flex; | ||
padding: | padding: 1rem; | ||
margin: 0.5rem; | margin: 0.5rem; | ||
Line 63: | Line 44: | ||
.hhw-noticebox-warning { | .hhw-noticebox-warning { | ||
display: flex; | display: flex; | ||
padding: | padding: 1rem; | ||
margin: 0.5rem; | margin: 0.5rem; | ||
Revision as of 14:07, 17 August 2024
/* CSS placed here will be applied to all skins */ /** Main Page */ .hhw-mp-icons { padding: 1rem; display: flex; flex-wrap: wrap; row-gap: 1rem; justify-content: center; } .hhw-mp-icon { display: flex; flex-direction: column; gap: 0.25rem; } /** 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); }