aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/index.css
blob: 3d51cafb744b719d1d5b7f0fb31ccf88fa712c83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
:root {
  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: var(--text-color);
  background-color: var(--bg-color);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@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;
  min-width: 320px;
  min-height: 100vh;
  /* Removed flex centering to allow natural flow */
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }

  a:hover {
    color: #747bff;
  }

  button {
    background-color: #f9f9f9;
  }
}