From be2a93525069de2dfa3c23b0c23e7a9f7ad4c03d Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 29 Dec 2024 15:14:43 +0100 Subject: First commit. --- app/assets/stylesheets/components/nav_top.css | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 app/assets/stylesheets/components/nav_top.css (limited to 'app/assets/stylesheets/components/nav_top.css') diff --git a/app/assets/stylesheets/components/nav_top.css b/app/assets/stylesheets/components/nav_top.css new file mode 100644 index 0000000..a3247a4 --- /dev/null +++ b/app/assets/stylesheets/components/nav_top.css @@ -0,0 +1,40 @@ +nav#top { + width: 100%; + background-color: firebrick; + display: flex; + justify-content: space-between; + align-items: center; + + ul { + display: flex; + flex-wrap: wrap; + list-style-type: none; + padding: 0; + margin: 0; + } + + li { + padding: 12px 0; + } + + a { + padding: 12px; + color: white; + text-decoration: none; + } + + a:hover { + background-color: tomato; + } + + #authentication { + display: flex; + flex-wrap: wrap; + justify-content: right; + } + + button { + margin: 0.5rem 0.5rem 0.5rem 0; + } +} + -- cgit v1.2.3