summaryrefslogtreecommitdiff
path: root/www/css/navbar.css
diff options
context:
space:
mode:
Diffstat (limited to 'www/css/navbar.css')
-rw-r--r--www/css/navbar.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/css/navbar.css b/www/css/navbar.css
new file mode 100644
index 0000000..23583b7
--- /dev/null
+++ b/www/css/navbar.css
@@ -0,0 +1,29 @@
+/* Add a black background color to the top navigation */
+nav {
+ display: block;
+ background-color: #333;
+ position: relative;
+ z-index: 10;
+}
+
+/* Style the links inside the navigation bar */
+nav a {
+ float: left;
+ color: #f2f2f2;
+ text-align: center;
+ padding: 14px 16px;
+ text-decoration: none;
+ font-size: 17px;
+}
+
+/* Change the color of links on hover */
+nav a:hover {
+ background-color: #ddd;
+ color: black;
+}
+
+/* Add a color to the active/current link */
+nav a.active {
+ background-color: #4CAF50;
+ color: white;
+}
Copyright 2019--2024 Marius PETER