add theme selector to nav
Prithu Goswami prithugoswami524@gmail.com
Sun, 31 Jan 2021 08:55:35 +0530
2 files changed,
19 insertions(+),
7 deletions(-)
M
static/css/main.css
→
static/css/main.css
@@ -112,6 +112,10 @@ nav > *:first-child{
margin-left: 10%; } +nav > *:last-child{ + margin-right: 10%; +} + .nav-group { display: flex; align-items: center;@@ -139,7 +143,15 @@ outline: none;
} nav option { - color: black; + color: var(--text-primary); + background: var(--bg); + outline: none; +} + +nav option:active, +nav option:focus { + outline: none; + border: none; }