aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/index.css
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/index.css')
-rw-r--r--frontend/src/index.css44
1 files changed, 31 insertions, 13 deletions
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 08a3ac9..3d51caf 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -1,11 +1,23 @@
:root {
- font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
+ font-family: 'Courier New', Courier, monospace;
+ /* Fixed width as requested */
+ line-height: 1.5;
+ font-weight: 400;
+
+ /* Light Mode Defaults */
+ --bg-color: #ffffff;
+ --text-color: rgba(0, 0, 0, 0.87);
+ --sidebar-bg: #ccc;
+ --link-color: #0000EE;
+ /* Standard blue link */
+
+ font-family: 'Courier New', Courier, monospace;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
- color: rgba(255, 255, 255, 0.87);
- background-color: #242424;
+ color: var(--text-color);
+ background-color: var(--bg-color);
font-synthesis: none;
text-rendering: optimizeLegibility;
@@ -13,21 +25,23 @@
-moz-osx-font-smoothing: grayscale;
}
-a {
- font-weight: 500;
- color: #646cff;
- text-decoration: inherit;
-}
-a:hover {
- color: #535bf2;
+@media (prefers-color-scheme: dark) {
+ :root {
+ --bg-color: #24292e;
+ /* Legacy Dark */
+ --text-color: #ffffff;
+ --sidebar-bg: #1b1f23;
+ /* Darker sidebar */
+ --link-color: rgb(90, 200, 250);
+ /* Legacy dark link */
+ }
}
body {
margin: 0;
- display: flex;
- place-items: center;
min-width: 320px;
min-height: 100vh;
+ /* Removed flex centering to allow natural flow */
}
h1 {
@@ -46,9 +60,11 @@ button {
cursor: pointer;
transition: border-color 0.25s;
}
+
button:hover {
border-color: #646cff;
}
+
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
@@ -59,10 +75,12 @@ button:focus-visible {
color: #213547;
background-color: #ffffff;
}
+
a:hover {
color: #747bff;
}
+
button {
background-color: #f9f9f9;
}
-}
+} \ No newline at end of file