User:Naomi/common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Font Styling*/ | /* Font Styling*/ | ||
.diamond-box { | |||
position: relative !important; | |||
} | |||
body { | body { | ||
font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif; | font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif; |
Revision as of 16:56, 25 March 2024
/* Font Styling*/ .diamond-box { position: relative !important; } 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; } .fp-header { text-align: center; }