diff --git a/public/styles/main.css b/public/styles/main.css index 80af548..4c80f59 100644 --- a/public/styles/main.css +++ b/public/styles/main.css @@ -5,22 +5,22 @@ body { margin: 0; } +:root { + --color-primary: #712da0; + --color-hightlight-1: #ffbac6; + --color-hightlight-2: #f560f5; + --color-contrast: white; +} + main { flex-grow: 1; display: flex; padding: 1rem; } -input { - padding: .35rem .35rem; - font-size: 1rem; -} - -:root { - --color-primary: #712da0; - --color-hightlight-1: #ffbac6; - --color-hightlight-2: #f560f5; - --color-contrast: white; +h1 { + margin-top: 0; + margin-bottom: 1rem; } p.feedback { @@ -33,6 +33,11 @@ p.feedback.error { color: #710000; } +input { + padding: .35rem .35rem; + font-size: 1rem; +} + input[type="submit"] { margin-top: 2rem; background: var(--color-primary); @@ -60,30 +65,30 @@ form { flex-direction: column; } -nav { +nav.main { background: var(--color-primary); - max-width: 10vw; + min-width: 25ch; display: flex; - flex: 1; + flex: 0; padding: 1rem; border-right: 5px solid var(--color-hightlight-1); } -nav a { +nav.main a { color: var(--color-contrast); } -nav ul { +nav.main ul { list-style: none; padding: 0; margin: 0; } -nav ul li { +nav.main ul li { margin-top: .35rem; } -nav ul ul { +nav.main ul ul { margin-left: 1rem; } diff --git a/public/styles/zone.css b/public/styles/zone.css new file mode 100644 index 0000000..1486cb3 --- /dev/null +++ b/public/styles/zone.css @@ -0,0 +1,14 @@ +nav.secondary ul { + display: flex; + margin: 0; + list-style: none; + padding: 0; +} + +nav.secondary li { + margin-right: 1rem; +} + +main { + flex-direction: column; +} diff --git a/templates/bases/app.html b/templates/bases/app.html index c9990dd..f03a505 100644 --- a/templates/bases/app.html +++ b/templates/bases/app.html @@ -2,7 +2,7 @@ {% import "macros.html" as macros %} {% block content %} -