summaryrefslogtreecommitdiffstats
path: root/static/css/styles.css
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-09-07 17:50:36 +0200
committerAhmed AbdelHalim <[email protected]>2025-09-07 17:50:36 +0200
commitff63742a2fa138c230fb2e080708d03ed888c248 (patch)
tree10a5061a93cd6a91217d837a0a3a22a0bb17c54e /static/css/styles.css
parent17168a489392847794de0aed15fe395230a38261 (diff)
Add basic login and clean up config
Diffstat (limited to 'static/css/styles.css')
-rw-r--r--static/css/styles.css64
1 files changed, 61 insertions, 3 deletions
diff --git a/static/css/styles.css b/static/css/styles.css
index 9c26cab..af767a7 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -37,13 +37,27 @@ html {
.connection.active {
border-color: var(--light-green);
}
+
+ .login__form input[type=submit] {
+ color: var(--light-green);
+ }
+}
+
+/* Handle logout on small devices */
+@media (max-width: 600px) {
+ .header__logout {
+ position: inherit !important;
+ }
+ .header__logout input[type=submit] {
+ width: 100% !important;
+ }
}
body {
font-family: "PT Sans", "Kohinoor Bangla", sans-serif;
max-width: 1024px;
min-width: 375px;
- margin: 0 auto;
+ margin: 0 2rem;
float: none;
font-size: 18px;
}
@@ -59,8 +73,19 @@ header {
}
}
-main {
- margin: 32px;
+.header__logout {
+ position: absolute;
+ top: 1rem;
+ right: 1rem;
+}
+
+.header__logout input[type=submit] {
+ border: 1px solid;
+ padding: 1rem;
+ color: var(--dark-red);
+ background-color: inherit;
+ font-family: monospace;
+ margin-top: 1rem;
}
.status {
@@ -115,6 +140,39 @@ main {
border-color: var(--dark-green);
}
+.login {
+ font-family: monospace;
+ display: flex;
+ width: 100%;
+ justify-content: center;
+}
+
+.login__container {
+ min-width: 280px;
+}
+
+.login__form {
+ display: grid;
+ font-size: 14px;
+ margin-top: 2rem;
+}
+
+.login__form input[type=password] {
+ border: 1px solid;
+ padding: 1rem;
+ font-family: monospace;
+ background-color: inherit;
+}
+
+.login__form input[type=submit] {
+ border: 1px solid;
+ padding: 1rem;
+ color: var(--dark-green);
+ background-color: inherit;
+ font-family: monospace;
+ margin-top: 1rem;
+}
+
footer {
margin: 32px;
}