From 0bef06139c09e254649a292ae9ede554db6dba1e Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 6 Jul 2025 19:59:52 +0200 Subject: [PATCH] Add menu bar --- web/index.html | 7 ++++++- web/style.css | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/web/index.html b/web/index.html index 6fcf82e..924edbc 100644 --- a/web/index.html +++ b/web/index.html @@ -9,7 +9,12 @@
diff --git a/web/style.css b/web/style.css index 66b9e7c..6525968 100644 --- a/web/style.css +++ b/web/style.css @@ -9,6 +9,38 @@ body { background-color: #f5a4d1; } +#menu { + position: fixed; + top: 0; + left: 0; + right: 0; + + height: 50px; + + background-color: #ff85c9; + border-bottom-style: solid; + border-bottom-width: 1px; +} + +#menu .menu-item { + float: left; + height: 100%; + padding: 10px; + padding-top: auto; + padding-bottom: auto; +} + +#menu .menu-button:hover { + background-color: #ff4bb0; + + border-left-style: solid; + border-left-width: 1px; + padding-left: 9px; + border-right-style: solid; + border-right-width: 1px; + padding-right: 9px; +} + .container { margin-right: auto; margin-left: auto; @@ -76,8 +108,11 @@ input.form-control { #drafting-board { width: 100%; + height: 100vh; padding: 20px; + padding-top: 70px; + overflow: scroll; }