summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2022-11-17 22:28:01 -0500
committerAdam T. Carpenter <atc@53hor.net>2022-11-17 22:28:01 -0500
commit9c1a0f52806fea82f5f9e74fa92af0266759f7ec (patch)
tree1a7db1ceab02fffae6b3d0922ba56185c10d12f4
parent86a5e1e62ae48d44cdd63be732300798eac12702 (diff)
downloadcarpentertutoring-9c1a0f52806fea82f5f9e74fa92af0266759f7ec.tar.xz
carpentertutoring-9c1a0f52806fea82f5f9e74fa92af0266759f7ec.zip
feat: sticky navbar on desktop and higher viewport
-rw-r--r--desktop.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop.css b/desktop.css
index e6e18f6..1b0eb43 100644
--- a/desktop.css
+++ b/desktop.css
@@ -7,6 +7,9 @@
flex-direction: row-reverse;
margin: 0;
padding: 0;
+ top: 0;
+ position: fixed;
+ width: 100%;
}
div.buttons {
@@ -14,6 +17,7 @@
}
.banner {
+ padding-top: 7em;
text-align: right;
background: linear-gradient(
to right,