User:Naomi/common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
/* | /* Front page */ | ||
#main-page.main-page { | #main-page.main-page { | ||
display: grid; | display: grid; | ||
Line 36: | Line 36: | ||
grid-template-columns: repeat(2, 1fr); | grid-template-columns: repeat(2, 1fr); | ||
} | } | ||
} | } | ||
Line 57: | Line 50: | ||
} | } | ||
/* Front page item styling */ | |||
.fp-section { | |||
background-color: #FCFCFC; | |||
border: 1px solid #CCC; | |||
vertical-align: top; | |||
margin: 1px; | |||
# | |||
margin: | |||
} | } |
Revision as of 17:26, 29 February 2024
/* Font Styling*/ body { font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif; } /* Colour variables to make life easier */ :root { --nav-bg: #FFF; --nav-border: #CCC; --nav-header: #CCC; --nav-sec-header: #DDD; --nav-ter-header: #EEE; --nav-section: #EEE; } body.wgl-theme-dark { --nav-bg: #333; --nav-border: #444; --nav-header: #111; --nav-sec-header: #181818; --nav-ter-header: #222; --nav-section: #222; } /* Front page */ #main-page.main-page { display: grid; grid-template-areas: "a" "b" "c"; grid-template-columns: 1fr; grid-gap: 2px; } @media screen and (min-width:990px) { #main-page.main-page { grid-template-areas: "a a" "b c"; grid-template-columns: repeat(2, 1fr); } } #fp-1 { grid-area: a; } #fp-2 { grid-area: b; } #fp-3 { grid-area: c; } /* Front page item styling */ .fp-section { background-color: #FCFCFC; border: 1px solid #CCC; vertical-align: top; margin: 1px; }