summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/css/base.css39
-rw-r--r--static/css/navbar.css100
-rw-r--r--static/favicon.icobin0 -> 22382 bytes
3 files changed, 139 insertions, 0 deletions
diff --git a/static/css/base.css b/static/css/base.css
new file mode 100644
index 0000000..659d3f0
--- /dev/null
+++ b/static/css/base.css
@@ -0,0 +1,39 @@
+:root {
+ --bg-default: #2e2e2e;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+html {
+ font-size: 16px;
+}
+
+body {
+ background-color: var(--bg-default);
+ font-family: 'Segoe UI', 'Roboto', sans-serif;
+ color: #e8e6e3;
+}
+
+.container {
+ max-width: 1200px;
+ width: 100%;
+ margin: 0 auto; /* center the container horizontally */
+ padding: 0 30px; /* add small padding on left & right for content */
+}
+
+a:link {
+ color: #64B5F6;
+}
+a:visited {
+ color: #9575CD;
+}
+a:hover {
+ color: #90CAF9;
+}
+a:active {
+ color: #FF8A80;
+}
diff --git a/static/css/navbar.css b/static/css/navbar.css
new file mode 100644
index 0000000..ffce80f
--- /dev/null
+++ b/static/css/navbar.css
@@ -0,0 +1,100 @@
+.navbar {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ width: 100%;
+ background-color: #333;
+ padding: 10px 20px;
+ position: relative;
+ top: 0;
+ font-family: Arial, sans-serif;
+}
+
+.navbar > .container {
+ display: flex;
+ justify-content: space-between;
+ padding: 0 0;
+}
+
+.nav-left, .nav-right {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ display: flex;
+ align-items: center;
+}
+
+.nav-left li, .nav-right li {
+ margin: 0 15px;
+ position: relative;
+}
+
+.navbar a {
+ text-decoration: none;
+ color: white;
+ font-size: 16px;
+ padding: 10px 15px;
+ display: block;
+ transition: background-color 0.3s;
+}
+
+.navbar a:hover {
+ background-color: #555;
+ border-radius: 5px;
+}
+
+.dropdown-content {
+ display: none;
+ position: absolute;
+ background-color: #444;
+ min-width: 160px;
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
+ z-index: 1;
+ border-radius: 5px;
+}
+
+.dropdown-content a {
+ color: white;
+ padding: 12px 16px;
+ text-decoration: none;
+ display: block;
+}
+
+.dropdown-content a:hover {
+ background-color: #666;
+}
+
+.dropdown:hover .dropdown-content {
+ display: block;
+}
+
+.nav-right .dropdown-content {
+ right: 0;
+}
+
+.logout-form {
+ margin: 0;
+ padding: 0;
+ display: block;
+}
+
+.logout-button {
+ background: none;
+ border: none;
+ color: white;
+ font-size: 16px;
+ padding: 12px 16px;
+ text-align: left;
+ width: 100%;
+ cursor: pointer;
+ text-decoration: none;
+ display: block;
+ font-family: Arial, sans-serif;
+ transition: background-color 0.3s;
+}
+
+.logout-button:hover {
+ background-color: #666;
+ border-radius: 5px;
+}
+
diff --git a/static/favicon.ico b/static/favicon.ico
new file mode 100644
index 0000000..7662a0f
--- /dev/null
+++ b/static/favicon.ico
Binary files differ