From c0ff3d5317e2a70329fde1b56b52dfa203f9c445 Mon Sep 17 00:00:00 2001 From: shoshin Date: Sun, 11 Dec 2022 22:03:48 -0600 Subject: Fix: header styling --- navigation.lisp | 2 +- static/css/main-3.css | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/navigation.lisp b/navigation.lisp index 731d31f..2e6b650 100644 --- a/navigation.lisp +++ b/navigation.lisp @@ -4,7 +4,7 @@ (defun create-navigation-header (parent) (with-clog-create parent - (section (:header :class "header") + (section (:header :class "row header") (div () (a (:link "/home") (img ( :url-src "/favicon.ico")))) (div () (a (:link "/explore" :content "Explore"))) diff --git a/static/css/main-3.css b/static/css/main-3.css index 98afb13..201072d 100644 --- a/static/css/main-3.css +++ b/static/css/main-3.css @@ -27,6 +27,15 @@ button:hover { cursor: pointer; } +.header { + position: sticky; + top: 0px; + background-color: #1c1c1c; + padding: .1rem; + align-items: center; + justify-content: space-around; +} + .center { text-align: center; } @@ -131,15 +140,6 @@ button:hover { h1 { font-size: medium; } - - .header { - position: sticky; - top: 0px; - background-color: #1c1c1c; - padding: .1rem; - align-items: center; - justify-content: space-around; - } } @media (min-width: 500px) { -- cgit v1.2.3