summaryrefslogtreecommitdiff
path: root/www/css/navbar.css
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2021-02-09 21:37:26 -0800
committerBlendoit <blendoit@gmail.com>2021-02-09 21:37:26 -0800
commit2e028edae883e9dc8edef89d3e901f3933fd32fc (patch)
tree87b2561be4e6f8d23141420f9416476e8afe3e75 /www/css/navbar.css
parent06b1842c3b3857a4d405bba479076a48bc14d3f5 (diff)
wiki
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