MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
} | } | ||
/** Main Page */ | |||
.hhw-main-page { | |||
display: grid; | |||
grid-template-areas: | |||
"a a a" | |||
"b b c" | |||
"d e f"; | |||
grid-template-columns: repeat(3, 1fr); | |||
grid-gap: 2px; | |||
padding: 2px; | |||
background-color: #f0f0f0; | |||
} | |||
.hhw-item { background-color: #fff; padding: 1rem } | |||
.hhw-item-1 { grid-area: a; } | |||
.hhw-item-2 { grid-area: b; } | |||
.hhw-item-3 { grid-area: c; } | |||
.hhw-item-4 { grid-area: d; } | |||
.hhw-item-5 { grid-area: e; } | |||
.hhw-item-6 { grid-area: f; } | |||
/** Notice Boxes */ | |||
.hhw-noticebox { | .hhw-noticebox { | ||
display: flex; | display: flex; |
Revision as of 20:49, 12 August 2024
/* CSS placed here will be applied to all skins */ @import url('https://fonts.googleapis.com/css2?family=Neuton:ital,wght@0,200;0,300;0,400;0,700;0,800;1,400&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap'); #content { font-family: 'Raleway', sans-serif } .mw-page-title-main .mw-headline { font-family: 'Neuton', 'Raleway', serif; font-weight: bold; } .branding-box { font-weight: bold; } .minerva-search-form { justify-content: center; } /** Main Page */ .hhw-main-page { display: grid; grid-template-areas: "a a a" "b b c" "d e f"; grid-template-columns: repeat(3, 1fr); grid-gap: 2px; padding: 2px; background-color: #f0f0f0; } .hhw-item { background-color: #fff; padding: 1rem } .hhw-item-1 { grid-area: a; } .hhw-item-2 { grid-area: b; } .hhw-item-3 { grid-area: c; } .hhw-item-4 { grid-area: d; } .hhw-item-5 { grid-area: e; } .hhw-item-6 { grid-area: f; } /** Notice Boxes */ .hhw-noticebox { display: flex; width: 100%; padding: 1em; 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; width: 100%; padding: 1em; 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; width: 100%; padding: 1em; font-weight: bold; border-radius: 0.5rem; border: solid 2px var(--color-warning); border-left: solid 8px var(--color-warning); }