diff options
-rw-r--r-- | navigation.lisp | 2 | ||||
-rw-r--r-- | 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) { |