MediaWiki:Common.css: Difference between revisions
Created page with "→CSS placed here will be applied to all skins: .minerva-search-form { justify-content: center; }" |
No edit summary |
||
(56 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 { | |||
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); | |||
} | } |
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); }