Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/forum/site.css
blob: 107faaec175f7edfe6d897eaa8225e645ad1a8e8 (plain)
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/* SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> */
/* SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1 */

:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  --bg: #11101a;
  --surface: #1b1826;
  --text: #f5f2fb;
  --muted: #afaabd;
  --line: #393246;
  --accent: #c3a6ff;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f7fb;
  --surface: #fff;
  --text: #201c2a;
  --muted: #665e71;
  --line: #ded9e8;
  --accent: #7047c8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px max(24px, calc((100vw - 920px) / 2));
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.tools {
  display: flex;
  gap: 8px;
}
button,
select {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
button:hover,
select:hover {
  border-color: var(--accent);
}
select {
  font: inherit;
}
button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
main {
  max-width: 970px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) 24px;
}
.eyebrow {
  color: var(--accent);
  font:
    12px ui-monospace,
    monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
h1 {
  max-width: 720px;
  margin: 24px 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.1;
  letter-spacing: -0.065em;
}
p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
a:hover {
  text-decoration: underline;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 36px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px max(24px, calc((100vw - 920px) / 2));
  color: var(--muted);
  font-size: 12px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}