summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshoshin <shoshin@cicadas.surf>2022-12-11 22:03:48 -0600
committershoshin <shoshin@cicadas.surf>2022-12-11 22:03:48 -0600
commitc0ff3d5317e2a70329fde1b56b52dfa203f9c445 (patch)
treed0c2fc7dee40dd7599e19f006b4f5fb81285cbbe
parent9fe45e4f7b54279f114e133e12a33f596dc7ef26 (diff)
Fix: header styling
-rw-r--r--navigation.lisp2
-rw-r--r--static/css/main-3.css18
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) {