Spaces:
Running
Running
Update style.css
#2
by
oldmonk69
- opened
style.css
CHANGED
|
@@ -1,28 +1,43 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
}
|
|
|
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
| 1 |
+
/* style.css - small custom additions for index.html */
|
| 2 |
+
|
| 3 |
+
/* simple show/hide for pages */
|
| 4 |
+
.page-content { display: none; }
|
| 5 |
+
.page-content.active { display: block; }
|
| 6 |
|
| 7 |
+
/* result box for showing results / error */
|
| 8 |
+
.result-box {
|
| 9 |
+
display: block;
|
| 10 |
+
background: rgba(255,255,255,0.9);
|
| 11 |
+
border-radius: 0.5rem;
|
| 12 |
+
padding: 1rem;
|
| 13 |
+
margin-top: 0.75rem;
|
| 14 |
+
box-shadow: 0 6px 18px rgba(16,24,40,0.06);
|
| 15 |
+
color: #0f172a;
|
| 16 |
+
word-break: break-word;
|
| 17 |
}
|
| 18 |
|
| 19 |
+
/* dark-mode adjustments */
|
| 20 |
+
.dark .result-box {
|
| 21 |
+
background: rgba(15,23,42,0.55);
|
| 22 |
+
color: #e6eef8;
|
|
|
|
| 23 |
}
|
| 24 |
|
| 25 |
+
/* small disabled button look */
|
| 26 |
+
.btn-disabled { cursor: not-allowed; opacity: 0.6; }
|
| 27 |
+
|
| 28 |
+
/* utility for small spinner hide/show (we toggle .hidden in JS) */
|
| 29 |
+
.hidden { display: none !important; }
|
| 30 |
+
|
| 31 |
+
/* responsive image */
|
| 32 |
+
img.rounded-lg { max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto; }
|
| 33 |
+
|
| 34 |
+
/* make forms look slightly nicer on small screens */
|
| 35 |
+
input[type="text"]::placeholder {
|
| 36 |
+
color: #9ca3af;
|
| 37 |
}
|
| 38 |
|
| 39 |
+
/* accessible focus ring */
|
| 40 |
+
:focus {
|
| 41 |
+
outline: 2px solid rgba(59,130,246,0.5);
|
| 42 |
+
outline-offset: 2px;
|
| 43 |
}
|