MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
a:visited { | |||
color: #3366CC; | |||
} | } | ||
/** Main Page */ | |||
body.page-Main_Page h1.firstHeading { display: none; } | |||
} | |||
. | .hhw-mp-icons { | ||
padding: 1rem; | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 1rem; | |||
justify-content: center; | justify-content: center; | ||
} | } | ||
.hhw-mp-icon { | |||
.hhw- | |||
display: flex; | display: flex; | ||
flex-direction: column; | |||
text-align: center; | |||
} | } | ||
.hhw- | .hhw-mp-icon-img { | ||
width: 64px; | |||
} | } | ||
/** Notice Boxes */ | /** Notice Boxes */ | ||
.hhw-noticebox { | .hhw-noticebox { | ||
display: flex; | display: flex; | ||
padding: 1rem; | |||
padding: | margin: 0.5rem auto 0.5rem; | ||
border-radius: 0.5rem; | border-radius: 0.5rem; | ||
Line 72: | Line 38: | ||
.hhw-noticebox-error { | .hhw-noticebox-error { | ||
border: solid 2px var(--color-error); | border: solid 2px var(--color-error); | ||
border-left: solid 8px var(--color-error); | border-left: solid 8px var(--color-error); | ||
Line 84: | Line 43: | ||
.hhw-noticebox-warning { | .hhw-noticebox-warning { | ||
border: solid 2px var(--color-warning); | border: solid 2px var(--color-warning); | ||
border-left: solid 8px var(--color-warning); | border-left: solid 8px var(--color-warning); | ||
} | } |
Latest revision as of 21:50, 3 September 2024
/* CSS placed here will be applied to all skins */ a:visited { color: #3366CC; } /** Main Page */ body.page-Main_Page h1.firstHeading { display: none; } .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; border-radius: 0.5rem; border: solid 2px var(--color-progressive); border-left: solid 8px var(--color-progressive); } .hhw-noticebox-error { border: solid 2px var(--color-error); border-left: solid 8px var(--color-error); } .hhw-noticebox-warning { border: solid 2px var(--color-warning); border-left: solid 8px var(--color-warning); }