website

#astro#js#html#css

git clone https://git.pyrossh.dev/website

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


58916d5pyrossh 2026-07-07T15:09:38+05:30
fix: regenerate CSS from original Astro source, properly flattened with dark theme support
packages/shared/ui/src/css.ts CHANGED
@@ -1,1048 +1,925 @@
1
+ // Generated from styles.css — edit styles.css and re-run build
2
+ // Build: vp pack packages/shared/ui
1
3
  export const globalCSS = `
2
4
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
3
- html { -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; }
5
+ html { -webkit-text-size-adjust: 100%; }
4
6
  body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
5
7
  img, picture, video, canvas, svg { display: block; max-width: 100%; }
6
- input, button, textarea, select { font: inherit; color: inherit; }
8
+ input, button, textarea, select { font: inherit; }
7
9
  p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
8
- h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
9
- p { text-wrap: pretty; }
10
10
  a { color: inherit; text-decoration: none; }
11
11
  ul, ol { list-style: none; }
12
12
  table { border-collapse: collapse; }
13
- :root {
14
- --color-black: hsl(0, 0%, 0%);
15
- --color-white: hsl(0, 0%, 100%);
16
- --color-accent: hsl(57.25deg 100% 70%);
17
- --color-body-bg: hsl(0, 0%, 100%);
18
- --color-box-bg: hsl(0, 0%, 95%);
19
- --color-text: hsl(0, 0%, 13%);
20
- --color-link: hsl(211, 100%, 45%);
21
- --color-post-link: hsl(0, 0%, 0%);
22
- --color-highlight-bg: hsl(183, 80%, 88%);
23
- --color-code-fg: hsl(348, 86%, 43%);
24
- --color-code-bg: hsl(0, 0%, 95%);
25
- --color-pre-bg: hsl(0, 0%, 95%);
26
- --color-tag: hsl(152, 96%, 35%);
27
- --btn-light: none;
28
- --btn-dark: block;
29
- }
30
-
31
- @media (prefers-color-scheme: dark) {
32
- :root { color-scheme: dark; }
33
- }
34
-
35
- [data-theme="dark"] {
36
- --color-black: hsl(0, 0%, 0%);
37
- --color-white: hsl(0, 0%, 100%);
38
- --color-body-bg: hsl(210, 13%, 15%);
39
- --color-box-bg: hsl(210, 13%, 9%);
40
- --color-text: hsl(210, 17%, 98%);
41
- --color-link: hsl(211, 100%, 60%);
42
- --color-post-link: hsl(211, 100%, 60%);
43
- --color-highlight-bg: hsl(183, 80%, 18%);
44
- --color-code-fg: hsl(348, 86%, 80%);
45
- --color-code-bg: hsl(0, 0%, 0%);
46
- --color-pre-bg: hsl(0, 0%, 0%);
47
- --color-tag: hsl(152, 96%, 44%);
48
- --btn-light: block;
49
- --btn-dark: none;
50
- color-scheme: dark;
51
- }
52
-
53
- .astro-code,
54
- .astro-code span {
55
- background: var(--color-pre-bg) !important;
56
- }
57
-
58
- [data-theme="dark"] .expressive-code .frame pre {
59
- background: var(--color-pre-bg) !important;
60
- }
61
-
62
- [data-tooltip] {
63
- position: relative;
64
- cursor: help;
65
- }
66
-
67
- [data-tooltip]::after {
68
- position: absolute;
69
- opacity: 0;
70
- pointer-events: none;
71
- content: attr(data-tooltip);
72
- left: 0;
73
- top: calc(100% + 10px);
74
- border-radius: 3px;
75
- box-shadow: 0 0 1px 1px var(--color-text);
76
- background-color: var(--color-box-bg);
77
- z-index: 10;
78
- padding: 8px;
79
- width: 300px;
80
- transform: translateY(-20px);
81
- transition: all 150ms cubic-bezier(0.25, 0.8, 0.25, 1);
82
- }
83
-
84
- [data-tooltip]:hover::after {
85
- opacity: 1;
86
- transform: translateY(0);
87
- transition-duration: 300ms;
88
- }
89
-
90
- body {
91
- display: flex;
92
- flex-direction: column;
93
- flex: 1;
94
- background-color: var(--color-body-bg);
95
- color: var(--color-text);
96
- font-family: system-ui;
97
- text-rendering: optimizeLegibility;
98
- font-variant-ligatures: common-ligatures;
99
- font-kerning: normal;
100
- font-size: 1.25rem;
101
- line-height: 1.5;
102
- min-height: 100vh;
103
- }
104
13
 
105
- @media (max-width: 720px) {
14
+ @view-transition {
15
+ navigation: auto; /* enabled! */
16
+ }
17
+
106
- body {
18
+ :root {
19
+ --color-black: hsl(0, 0%, 0%);
20
+ --color-white: hsl(0, 0%, 100%);
21
+ --color-accent: hsl(57.25deg 100% 70%);
22
+ --color-body-bg: hsl(0, 0%, 100%);
23
+ --color-box-bg: hsl(0, 0%, 95%);
24
+ --color-text: hsl(0, 0%, 13%);
25
+ --color-link: hsl(211, 100%, 45%);
26
+ --color-post-link: hsl(0, 0%, 0%);
27
+ --color-highlight-bg: hsl(183, 80%, 88%);
28
+ --color-code-fg: hsl(348, 86%, 43%);
29
+ --color-code-bg: hsl(0, 0%, 95%);
30
+ --color-pre-bg: hsl(0, 0%, 95%);
31
+ --color-tag: hsl(152, 96%, 35%);
107
- font-size: 1.1rem;
32
+ --btn-light: none;
33
+ --btn-dark: block;
34
+
35
+ .astro-code,
36
+ :root .astro-code span {
37
+ background: var(--color-pre-bg) !important;
38
+ }
108
39
  }
109
- }
110
-
111
- main {
112
- margin-top: 1rem;
113
- margin-bottom: 1rem;
114
- padding-bottom: 1em;
115
- }
116
-
117
- a {
118
- color: var(--color-link);
119
- }
120
-
121
- /* Header */
122
- header {
123
- background: #131618;
124
- }
125
-
126
- .safe-area {
127
- background: #131618;
128
- position: sticky;
129
- top: 0;
130
- padding-top: env(safe-area-inset-top);
131
- }
132
-
133
- /* Footer */
134
- footer {
135
- background: #131618;
136
- }
137
40
 
138
- footer .container {
41
+ [data-theme="dark"] {
139
- display: flex;
42
+ --btn-light: block;
140
- flex-direction: row;
43
+ --btn-dark: none;
141
- flex: 1;
142
- padding: 16px 0px;
143
- }
144
-
145
- footer .spacer {
146
- flex: 1;
147
- }
148
44
 
149
- footer .copyright-container {
45
+ [data-theme="dark"] .expressive-code .frame pre {
150
- display: flex;
151
- align-items: center;
152
- justify-content: center;
153
- margin-left: 0.5rem;
154
- margin-right: 0.5rem;
155
- color: var(--color-white);
46
+ background: var(--color-pre-bg) !important;
156
- font-size: 1rem;
157
- }
47
+ }
158
-
159
- footer .link {
160
- font-size: 1rem;
161
- line-height: 1.5rem;
162
- margin-left: 0.5rem;
163
- color: var(--color-white);
164
- font-weight: 500;
165
- text-underline-offset: 2px;
166
- text-decoration-thickness: 2px;
167
- text-decoration-line: underline;
168
- text-decoration-color: white;
169
- }
48
+ }
170
-
171
- footer .link:hover {
172
- color: var(--color-gray-200);
173
- text-decoration-color: var(--color-gray-200);
174
- }
175
-
176
- footer + .safe-area {
177
- background: #131618;
178
- position: sticky;
179
- bottom: 0;
180
- padding-bottom: env(safe-area-inset-bottom);
181
- }
182
49
 
183
- /* Repo layout */
50
+ [data-tooltip] {
184
- .repo {
185
- text-overflow: ellipsis;
51
+ position: relative;
186
- overflow: hidden;
52
+ cursor: help;
187
- padding: 0.5rem;
188
- background: var(--color-box-bg);
189
- color: var(--color-text);
190
- font-size: 0.95rem;
191
- }
53
+ }
192
54
 
55
+ [data-tooltip]::after {
56
+ position: absolute;
57
+ opacity: 0;
58
+ pointer-events: none;
59
+ content: attr(data-tooltip);
193
- .repo a {
60
+ left: 0;
61
+ top: calc(100% + 10px);
62
+ border-radius: 3px;
63
+ box-shadow: 0 0 1px 1px var(--color-text);
194
- color: var(--color-link);
64
+ background-color: var(--color-box-bg);
65
+ z-index: 10;
66
+ padding: 8px;
67
+ width: 300px;
68
+ transform: translateY(-20px);
69
+ transition: all 150ms cubic-bezier(0.25, 0.8, 0.25, 1);
195
- }
70
+ }
196
71
 
197
- .repo .header {
72
+ [data-tooltip]:hover::after {
198
- display: flex;
73
+ opacity: 1;
74
+ transform: translateY(0);
199
- flex-direction: row;
75
+ transition-duration: 300ms;
200
- align-items: baseline;
201
- }
76
+ }
202
77
 
203
- @media (max-width: 720px) {
78
+ body {
204
- .repo .header {
79
+ display: flex;
205
80
  flex-direction: column;
81
+ flex: 1;
82
+ background-color: var(--color-body-bg);
83
+ color: var(--color-text);
84
+ font-family: system-ui;
85
+ text-rendering: optimizeLegibility;
86
+ font-variant-ligatures: common-ligatures;
87
+ font-kerning: normal;
88
+ font-size: 1.25rem;
89
+ line-height: 1.5;
206
- align-items: start;
90
+ min-height: 100vh;
91
+
92
+ @media (max-width: 720px) {
93
+ font-size: 1.1rem;
94
+ }
207
95
  }
208
- }
209
-
210
- .repo h4 {
211
- font-size: 1.05rem;
212
- font-weight: 500;
213
- line-height: 1.2;
214
- border-bottom: 1px solid #495057;
215
- text-overflow: ellipsis;
216
- white-space: nowrap;
217
- overflow: hidden;
218
- margin-bottom: 0;
219
- padding: 0;
220
- }
221
-
222
- .repo .tags {
223
- margin-top: 0.5rem;
224
- display: flex;
225
- flex-wrap: wrap;
226
- gap: 0.25rem;
227
- }
228
-
229
- .repo .tag {
230
- color: var(--color-tag);
231
- padding: 0.15rem 0.5rem 0.5rem 0rem;
232
- border-radius: 0.25rem;
233
- font-size: 0.95rem;
234
- font-weight: 500;
235
- }
236
-
237
- .repo h1 {
238
- font-size: 1.6rem;
239
- font-weight: 500;
240
- line-height: 1;
241
- margin-bottom: 0.1rem;
242
- flex: 1;
243
- }
244
-
245
- .repo h1 a {
246
- color: var(--color-link);
247
- }
248
-
249
- .repo h2 {
250
- display: flex;
251
- flex: 1;
252
- padding-top: 0.3rem;
253
- font-size: 0.95rem;
254
- }
255
-
256
- .repo h3 {
257
- font-size: 1rem;
258
- font-weight: 500;
259
- }
260
-
261
- .repo h3 span {
262
- font-size: 0.8rem;
263
- }
264
-
265
- .repo hr {
266
- margin-top: 0.5rem;
267
- border-color: var(--color-text);
268
- }
269
-
270
- .repo .nav {
271
- display: flex;
272
- align-items: center;
273
- margin-top: 0.5rem;
274
- }
275
96
 
276
- @media (max-width: 720px) {
277
- .repo .nav {
97
+ main {
278
- margin-top: 0.5rem;
98
+ margin-top: 1rem;
99
+ margin-bottom: 1rem;
100
+ padding-bottom: 1em;
279
101
  }
280
- }
281
-
282
- .repo .nav div {
283
- padding-right: 0.5rem;
284
- }
285
-
286
- .repo .nav a {
287
- font-size: 1rem;
288
- font-weight: 500;
289
- padding-right: 0.5rem;
290
- cursor: pointer;
291
- color: var(--color-link);
292
- }
293
102
 
294
- .repo .nav a[aria-current="true"] {
295
- text-underline-offset: 4px;
103
+ header {
296
- text-decoration: underline;
104
+ background: #131618;
297
- }
105
+ }
298
106
 
299
- /* File layout */
300
- .file-layout .nav {
107
+ .safe-area {
301
- display: flex;
108
+ background: #131618;
302
- align-items: center;
109
+ position: sticky;
110
+ top: 0;
303
- margin-bottom: 0.5rem;
111
+ padding-top: env(safe-area-inset-top);
304
- }
112
+ }
305
113
 
114
+ .logo {
115
+ display: flex;
306
- @media (max-width: 720px) {
116
+ font-size: 22px;
307
- .file-layout .nav {
117
+ line-height: 56px;
118
+ font-weight: 400;
308
- margin-top: 0.5rem;
119
+ margin-bottom: 0;
120
+ float: left;
121
+ color: var(--color-accent);
122
+ margin-right: 8px;
123
+
124
+ &.active,
125
+ &:hover {
126
+ color: var(--color-accent);
127
+ text-decoration: underline;
128
+ text-decoration-color: var(--color-accent);
129
+ text-underline-offset: 8px;
130
+ }
309
131
  }
310
- }
311
132
 
133
+ .links {
134
+ display: flex;
312
- .file-layout .nav div {
135
+ flex-direction: row;
136
+ float: right;
137
+ font-size: 1.4rem;
138
+ line-height: 56px;
139
+ color: white;
140
+
141
+ .links #astro-color-scheme-switch {
142
+ display: flex;
143
+ align-items: center;
144
+ font-size: 1.3rem;
145
+
146
+ .links #astro-color-scheme-switch button {
313
- padding-right: 0.5rem;
147
+ padding-right: 12px;
148
+ cursor: pointer;
149
+ margin-bottom: -2px;
314
- }
150
+ }
151
+ }
152
+
153
+ a {
154
+ display: inline-block;
155
+ text-decoration: none;
156
+ font-size: 22px;
157
+ line-height: 56px;
158
+ color: white;
159
+ font-weight: 400;
160
+ padding-left: 12px;
161
+ padding-right: 12px;
162
+
163
+ &:last-child {
164
+ padding-right: 0px;
165
+ }
166
+
167
+ &.active,
168
+ &:hover {
169
+ color: var(--color-gray-200);
170
+ text-decoration: underline;
171
+ text-decoration-color: var(--color-accent);
172
+ text-underline-offset: 8px;
173
+ }
174
+ }
175
+ }
315
176
 
316
- .file-layout .nav a {
317
- font-size: 1rem;
177
+ footer {
318
- font-weight: 500;
319
- padding-right: 0.5rem;
178
+ background: #131618;
320
- cursor: pointer;
321
- color: var(--color-link);
322
- }
179
+ }
323
180
 
181
+ .safe-area {
182
+ background: #131618;
183
+ position: sticky;
184
+ bottom: 0;
324
- .file-layout .nav a[aria-current="true"] {
185
+ padding-bottom: env(safe-area-inset-bottom);
325
- text-underline-offset: 4px;
326
- text-decoration: underline;
327
- }
186
+ }
328
187
 
329
- .file-layout .title {
188
+ .container {
330
- display: flex;
189
+ display: flex;
331
- align-items: center;
332
- margin-top: 0.75rem;
333
- margin-bottom: 0.5rem;
334
- font-size: 1.1rem;
190
+ flex-direction: row;
191
+ flex: 1;
335
- font-weight: 500;
192
+ padding: 16px 0px;
336
- }
193
+ }
337
194
 
338
- /* Index page */
339
- .description {
195
+ .spacer {
340
- font-size: 1.1rem;
196
+ flex: 1;
341
- }
197
+ }
342
198
 
343
- @media (max-width: 720px) {
344
- .description {
199
+ .copyright-container {
200
+ display: flex;
201
+ align-items: center;
202
+ justify-content: center;
203
+ margin-left: 0.5rem;
204
+ margin-right: 0.5rem;
205
+ color: var(--color-white);
345
206
  font-size: 1rem;
346
207
  }
347
- }
348
208
 
349
- .page-section h2 {
209
+ .link {
350
- font-size: 1.4rem;
210
+ font-size: 1rem;
211
+ line-height: 1.5rem;
212
+ margin-left: 0.5rem;
213
+ color: var(--color-white);
351
- font-weight: 600;
214
+ font-weight: 500;
215
+ text-underline-offset: 2px;
216
+ text-decoration-thickness: 2px;
217
+ text-decoration-line: underline;
218
+ text-decoration-color: white;
219
+
220
+ &:hover {
221
+ color: var(--color-gray-200);
222
+ text-decoration-color: var(--color-gray-200);
352
- }
223
+ }
353
-
354
- @media (max-width: 720px) {
355
- .page-section h2 {
356
- font-size: 1.15rem;
357
224
  }
358
- }
359
-
360
- .page-section section {
361
- display: flex;
362
- flex-direction: column;
363
- margin-top: 1.5rem;
364
- margin-bottom: 1rem;
365
- }
366
225
 
226
+ div {
367
- @media (max-width: 720px) {
227
+ flex: 1;
368
- .page-section section {
228
+ width: min(70ch, 100% - 4rem); /* To make the website more readable */
369
- margin-top: 1.5rem;
229
+ margin-right: auto;
370
- margin-bottom: 0rem;
230
+ margin-left: auto;
231
+ padding-left: 1em;
232
+ padding-right: 1em;
371
233
  }
372
- }
373
234
 
374
- .rounded-md {
375
- border-radius: 0.375rem;
235
+ @media (max-width: 720px) {
236
+ div {
237
+ width: 100%;
376
- }
238
+ }
377
-
378
- .repos-grid {
379
- display: grid;
380
- grid-template-columns: auto auto;
381
- gap: 1rem;
382
- margin-top: 0.5rem;
383
- }
384
-
385
- @media (max-width: 720px) {
386
- .repos-grid {
387
- gap: 1rem;
388
- grid-template-columns: auto;
389
239
  }
390
- }
391
-
392
- .pageContainer {
393
- margin-left: auto;
394
- margin-right: auto;
395
- margin-bottom: 2.5rem;
396
- }
397
-
398
- .page-title {
399
- font-size: 1.875rem;
400
- line-height: 2.25rem;
401
- font-weight: 700;
402
- margin-bottom: 1rem;
403
- }
404
240
 
241
+ .description {
242
+ font-size: 1.1rem;
405
- @media (max-width: 720px) {
243
+ @media (max-width: 720px) {
406
- .page-title {
407
- font-size: 1.6rem;
244
+ font-size: 1rem;
245
+ }
408
246
  }
409
- }
410
247
 
248
+ h2 {
411
- .linkUnderline {
249
+ font-size: 1.4rem;
250
+ font-weight: 600;
251
+ @media (max-width: 720px) {
412
- text-decoration-line: underline;
252
+ font-size: 1.15rem;
413
- }
253
+ }
254
+ }
414
255
 
415
- .gridContainer {
256
+ section {
416
- display: grid;
257
+ display: flex;
417
- grid-template-columns: repeat(1, minmax(0, 1fr));
258
+ flex-direction: column;
418
- gap: 1rem;
259
+ margin-top: 1.5rem;
419
- }
260
+ margin-bottom: 1rem;
420
261
 
421
- @media (max-width: 720px) {
262
+ @media (max-width: 720px) {
422
- .gridContainer {
423
- gap: 0rem;
263
+ margin-top: 1.5rem;
264
+ margin-bottom: 0rem;
265
+ }
424
266
  }
425
- }
426
267
 
427
- @media (min-width: 640px) {
428
- .gridContainer {
268
+ .rounded-md {
429
- grid-template-columns: repeat(2, minmax(0, 1fr));
430
- gap: 2rem;
269
+ border-radius: 0.375rem;
431
270
  }
432
- }
433
-
434
- .repo-card {
435
- text-overflow: ellipsis;
436
- overflow: hidden;
437
- padding: 0.5rem;
438
- background: var(--color-box-bg);
439
- color: var(--color-text);
440
- font-size: 0.95rem;
441
- }
442
-
443
- .repo-card a {
444
- color: var(--color-link);
445
- }
446
-
447
- .repo-card h4 {
448
- font-size: 1.05rem;
449
- font-weight: 500;
450
- line-height: 1.2;
451
- border-bottom: 1px solid #495057;
452
- text-overflow: ellipsis;
453
- white-space: nowrap;
454
- overflow: hidden;
455
- margin-bottom: 0;
456
- padding: 0;
457
- }
458
-
459
- .repo-card .tags {
460
- margin-top: 0.5rem;
461
- display: flex;
462
- flex-wrap: wrap;
463
- gap: 0.25rem;
464
- }
465
271
 
466
- .repo-card .tag {
467
- color: var(--color-tag);
468
- padding: 0.15rem 0.5rem 0.5rem 0rem;
469
- border-radius: 0.25rem;
470
- font-size: 0.95rem;
471
- font-weight: 500;
472
- }
473
-
474
- .interests ul {
272
+ .repos {
475
- display: grid;
273
+ display: grid;
476
- gap: 0.5rem;
477
- grid-template-columns: auto auto auto;
274
+ grid-template-columns: auto auto;
478
- text-align: center;
275
+ gap: 1rem;
479
- margin-top: 0.5rem;
276
+ margin-top: 0.5rem;
480
- font-size: 1.1rem;
481
- }
482
277
 
483
- .interests ul li {
278
+ @media (max-width: 720px) {
484
- background-color: var(--color-box-bg);
485
- padding: 0.25rem;
279
+ gap: 1rem;
280
+ grid-template-columns: auto;
486
- }
281
+ }
282
+ }
487
283
 
488
- .contact ul {
284
+ .pageContainer {
489
- display: grid;
490
- gap: 0.5rem;
491
- grid-template-columns: auto;
285
+ margin-left: auto;
286
+ margin-right: auto;
492
- margin-top: 0.5rem;
287
+ margin-bottom: 2.5rem;
288
+ /* mb-10 */
493
- }
289
+ }
494
290
 
495
- .contact ul li {
291
+ .title {
496
- display: flex;
497
- flex-direction: row;
292
+ font-size: 1.875rem;
498
- align-items: baseline;
499
- padding: 0.25rem;
293
+ line-height: 2.25rem;
294
+ font-weight: 700;
500
- background-color: var(--color-box-bg);
295
+ margin-bottom: 1rem;
296
+ @media (max-width: 720px) {
501
- font-size: 1.1rem;
297
+ font-size: 1.6rem;
502
- }
298
+ }
299
+ }
503
300
 
504
- @media (max-width: 720px) {
505
- .contact ul li {
301
+ .firstSection {
506
- font-size: 1rem;
302
+ display: flex;
507
303
  flex-direction: column;
508
304
  }
509
- }
510
-
511
- .contact ul a {
512
- color: var(--color-link);
513
- }
514
-
515
- .contact ul strong {
516
- font-weight: 500;
517
- margin-left: 0.25rem;
518
- margin-right: 0.5rem;
519
- }
520
-
521
- .tools img {
522
- width: 36px;
523
- height: 36px;
524
- }
525
-
526
- .tools ul {
527
- display: grid;
528
- gap: 0.5rem;
529
- grid-template-columns: auto auto auto auto;
530
- text-align: center;
531
- margin-top: 0.5rem;
532
- }
533
305
 
534
- @media (max-width: 720px) {
535
- .tools ul {
306
+ .firstPara {
307
+ display: flex;
536
- grid-template-columns: auto auto auto;
308
+ flex-direction: row;
537
309
  }
538
- }
539
-
540
- .tools ul li {
541
- display: flex;
542
- align-items: center;
543
- background-color: var(--color-box-bg);
544
- padding: 0.25rem;
545
- font-size: 1rem;
546
- }
547
-
548
- .tools ul li a {
549
- display: flex;
550
- flex: 1;
551
- flex-direction: row;
552
- align-items: center;
553
- text-align: left;
554
- margin-left: 0.25rem;
555
- margin-right: 0.25rem;
556
- }
557
-
558
- .tools ul li a div {
559
- flex: 1;
560
- }
561
-
562
- /* Post content */
563
- .post-content h1 {
564
- text-align: left;
565
- font-size: 1.8rem;
566
- font-weight: bold;
567
- line-height: 1;
568
- margin-top: 0.5rem;
569
- margin-bottom: 0.1rem;
570
- }
571
-
572
- .post-content time {
573
- font-size: 1.1rem;
574
- text-align: left;
575
- color: var(--color-text);
576
- opacity: 0.7;
577
- }
578
-
579
- .post-content hr {
580
- margin: 0.5rem 0;
581
- border-color: hsl(var(--color-text));
582
- }
583
-
584
- .post-content h2 {
585
- font-size: 1.1rem;
586
- font-weight: 500;
587
- }
588
-
589
- .post-content h3 {
590
- font-size: 1.25rem;
591
- font-weight: 700;
592
- margin-top: 0.5rem;
593
- margin-bottom: 0.1rem;
594
- }
595
-
596
- .post-content p {
597
- font-size: 1.1rem;
598
- padding-bottom: 1rem;
599
- }
600
-
601
- .post-content p code,
602
- .post-content li code {
603
- color: var(--color-code-fg) !important;
604
- background: var(--color-code-bg) !important;
605
- word-wrap: break-word;
606
- box-decoration-break: clone;
607
- padding: 2px 4px;
608
- border-radius: 0.2rem;
609
- font-weight: 400;
610
- font-size: 0.8rem;
611
- }
612
310
 
613
- .post-content blockquote {
614
- font-size: 1.2rem;
615
- font-weight: 600;
616
- background: var(--color-highlight-bg);
617
- padding: 0.4rem;
618
- margin: 16px 0px;
619
- }
620
-
621
- .post-content blockquote p {
622
- padding: 0;
623
- }
624
-
625
- /* Posts list */
626
- .posts-list h1 {
627
- display: flex;
628
- align-items: flex-start;
629
- font-weight: 800;
630
- font-size: 2rem;
631
- }
632
-
633
- .posts-list .container {
311
+ .linkUnderline {
634
- display: flex;
635
- float: left;
636
- }
637
-
638
- .posts-list ul {
639
- display: flex;
640
- flex-direction: column;
312
+ text-decoration-line: underline;
641
- }
642
-
643
- .posts-list ul li {
644
- display: grid;
645
- grid-template-columns: repeat(1, minmax(0, 1fr));
646
- gap: 0.4rem;
647
- justify-items: start;
648
- align-items: end;
649
- margin-top: 1.25rem;
650
- line-height: 1.5rem;
651
- }
652
-
653
- @media (min-width: 640px) {
654
- .posts-list ul li {
655
- grid-template-columns: repeat(2, minmax(0, 1fr));
656
- gap: 0.75rem;
657
313
  }
658
- }
659
-
660
- .posts-list ul li a {
661
- font-size: 1.1rem;
662
- color: var(--color-post-link);
663
- text-decoration-line: underline;
664
- text-underline-offset: 4px;
665
- }
666
-
667
- .posts-list ul li time {
668
- font-size: 1.1rem;
669
- }
670
-
671
- .posts-list ul li .content {
672
- display: flex;
673
- flex-direction: column;
674
- }
675
-
676
- .posts-list ul li .description {
677
- font-size: 13pt;
678
- }
679
314
 
680
- .posts-list ul li .description:hover {
681
- cursor: default;
315
+ .gridContainer {
682
- }
683
-
684
- .posts-list ul li .date-wrapper {
685
- display: flex;
316
+ display: grid;
686
- flex: 1;
687
- justify-content: flex-end;
317
+ grid-template-columns: repeat(1, minmax(0, 1fr));
688
- font-size: 1rem;
318
+ gap: 1rem;
689
- line-height: 1.5rem;
690
- }
691
319
 
692
- @media (min-width: 640px) {
320
+ @media (max-width: 720px) {
693
- .posts-list ul li .date-wrapper {
694
- margin-left: 1rem;
321
+ gap: 0rem;
322
+ }
695
323
  }
696
- }
697
-
698
- /* Repo readme content (scoped to tab-content) */
699
- #tab-content article {
700
- font-size: 1.1rem;
701
- margin-top: 0.25rem;
702
- }
703
-
704
- #tab-content article h1,
705
- #tab-content article h2 {
706
- font-size: 1.5rem;
707
- font-weight: 700;
708
- margin-bottom: 0.5rem;
709
- }
710
-
711
- #tab-content article h3 {
712
- font-size: 1.15rem;
713
- font-weight: 700;
714
- margin-top: 0.5rem;
715
- margin-bottom: 0.5rem;
716
- }
717
-
718
- #tab-content article p {
719
- font-size: 1.1rem;
720
- padding-bottom: 1rem;
721
- }
722
-
723
- #tab-content article p code,
724
- #tab-content article li code {
725
- color: var(--color-code-fg) !important;
726
- background: var(--color-code-bg) !important;
727
- word-wrap: break-word;
728
- box-decoration-break: clone;
729
- padding: 2px 4px;
730
- border-radius: 0.2rem;
731
- font-weight: 400;
732
- font-size: 0.8rem;
733
- }
734
-
735
- #tab-content article ol {
736
- list-style: decimal;
737
- padding-left: 1.5rem;
738
- margin-bottom: 1rem;
739
- margin-left: 1rem;
740
- }
741
-
742
- #tab-content article ol a {
743
- color: var(--color-link);
744
- text-decoration: underline;
745
- }
746
-
747
- #tab-content article blockquote {
748
- padding-left: 0.5rem;
749
- border-left: 3px solid #aaa;
750
- }
751
-
752
- #tab-content article table {
753
- width: 100%;
754
- max-width: 100%;
755
- margin-bottom: 1rem;
756
- border-collapse: collapse;
757
- text-indent: initial;
758
- unicode-bidi: isolate;
759
- border-spacing: 2px;
760
- font-size: 1rem;
761
- }
762
324
 
325
+ @media (min-width: 640px) {
326
+ /* sm: */
327
+ .gridContainer {
763
- #tab-content article table thead th {
328
+ grid-template-columns: repeat(2, minmax(0, 1fr));
764
- color: var(--color-text);
329
+ /* sm:grid-cols-2 */
330
+ gap: 2rem;
765
- padding: 0.1rem 0.75rem;
331
+ /* sm:gap-8 */
766
- border: 1px solid var(--color-text);
767
- background-color: var(--color-box-bg);
768
- }
332
+ }
769
-
770
- #tab-content article table tbody td {
771
- position: relative;
772
- background-clip: padding-box;
773
- vertical-align: middle;
774
- padding: 0.1rem 0.75rem;
775
- border: 1px solid var(--color-text);
776
- background-color: var(--color-box-bg);
777
- }
333
+ }
778
334
 
335
+ .repo {
336
+ text-overflow: ellipsis;
337
+ overflow: hidden;
338
+ padding: 0.5rem;
339
+ background: var(--color-box-bg);
340
+ color: var(--color-text);
341
+ font-size: 0.95rem;
342
+
343
+ .repo a {
344
+ color: var(--color-link);
345
+ }
346
+
347
+ h4 {
348
+ font-size: 1.05rem;
349
+ font-weight: 500;
350
+ line-height: 1.2;
779
- #tab-content article table tbody td label {
351
+ border-bottom: 1px solid #495057;
352
+ text-overflow: ellipsis;
353
+ white-space: nowrap;
354
+ overflow: hidden;
780
- margin-bottom: 0;
355
+ margin-bottom: 0;
356
+ padding: 0;
781
- }
357
+ }
358
+
359
+ .tags {
360
+ margin-top: 0.5rem;
361
+ display: flex;
362
+ flex-wrap: wrap;
363
+ gap: 0.25rem;
364
+ }
365
+
366
+ .tag {
367
+ color: var(--color-tag);
368
+ padding: 0.15rem 0.5rem 0.5rem 0rem;
369
+ border-radius: 0.25rem;
370
+ font-size: 0.95rem;
371
+ font-weight: 500;
372
+ }
373
+ }
782
374
 
783
- /* Issues page */
375
+ .interests {
784
- .issues-section {
376
+ .interests ul {
377
+ display: grid;
378
+ gap: 0.5rem;
379
+ grid-template-columns: auto auto auto;
380
+ text-align: center;
785
- margin-top: 0.5rem;
381
+ margin-top: 0.5rem;
382
+ font-size: 1.1rem;
383
+
384
+ .interests ul li {
385
+ background-color: var(--color-box-bg);
386
+ padding: 0.25rem;
786
- }
387
+ }
388
+ }
389
+ }
787
390
 
391
+ .contact {
392
+ .contact ul {
393
+ display: grid;
394
+ gap: 0.5rem;
788
- .issues-section .summary {
395
+ grid-template-columns: auto;
396
+ margin-top: 0.5rem;
397
+
398
+ .contact ul li {
789
- display: flex;
399
+ display: flex;
790
- flex-wrap: wrap;
400
+ flex-direction: row;
791
- gap: 0.5rem;
792
- align-items: baseline;
401
+ align-items: baseline;
793
- padding: 0.5rem;
402
+ padding: 0.25rem;
794
- background: var(--color-box-bg);
403
+ background-color: var(--color-box-bg);
795
- color: var(--color-text);
796
- font-size: 0.95rem;
404
+ font-size: 1.1rem;
405
+
406
+ @media (max-width: 720px) {
407
+ font-size: 1rem;
408
+ flex-direction: column;
797
- }
409
+ }
410
+ }
411
+
412
+ .contact a {
413
+ color: var(--color-link);
414
+ }
415
+
416
+ strong {
417
+ font-weight: 500;
418
+ margin-left: 0.25rem;
419
+ margin-right: 0.5rem;
420
+ }
421
+ }
422
+ }
798
423
 
424
+ .tools {
425
+ .tools img {
426
+ width: 36px;
427
+ height: 36px;
428
+ }
429
+
430
+ ul {
431
+ display: grid;
432
+ gap: 0.5rem;
433
+ grid-template-columns: auto auto auto auto;
799
- .issues-section .empty {
434
+ text-align: center;
800
- margin-top: 0.5rem;
435
+ margin-top: 0.5rem;
801
- padding: 0.5rem;
436
+
802
- background: var(--color-box-bg);
803
- color: var(--color-text);
437
+ @media (max-width: 720px) {
438
+ grid-template-columns: auto auto auto;
804
- }
439
+ }
440
+
441
+ li {
442
+ display: flex;
443
+ align-items: center;
444
+ background-color: var(--color-box-bg);
445
+ padding: 0.25rem;
446
+ font-size: 1rem;
447
+
448
+ li a {
449
+ display: flex;
450
+ flex: 1;
451
+ flex-direction: row;
452
+ align-items: center;
453
+ text-align: left;
454
+ margin-left: 0.25rem;
455
+ margin-right: 0.25rem;
456
+
457
+ li a div {
458
+ flex: 1;
459
+ }
460
+ }
461
+ }
462
+ }
463
+ }
805
464
 
465
+ .repo {
806
- .issues-section .new-issue {
466
+ text-overflow: ellipsis;
807
- display: grid;
467
+ overflow: hidden;
808
- gap: 0.5rem;
809
- margin: 0.5rem 0;
810
- padding: 0.5rem;
468
+ padding: 0.5rem;
811
- background: var(--color-box-bg);
469
+ background: var(--color-box-bg);
470
+ color: var(--color-text);
471
+ font-size: 0.95rem;
472
+
473
+ .repo a {
474
+ color: var(--color-link);
812
- }
475
+ }
476
+ }
813
477
 
814
- .issues-section .new-issue input,
815
- .issues-section .new-issue textarea {
478
+ .header {
816
- width: 100%;
479
+ display: flex;
817
- border: 1px solid var(--color-text);
818
- background: var(--color-body-bg);
819
- color: var(--color-text);
480
+ flex-direction: row;
820
- padding: 0.35rem 0.5rem;
821
- font: inherit;
481
+ align-items: baseline;
822
- }
823
482
 
824
- .issues-section .new-issue textarea {
483
+ @media (max-width: 720px) {
484
+ flex-direction: column;
825
- min-height: 6rem;
485
+ align-items: start;
826
- resize: vertical;
827
- }
486
+ }
487
+ }
828
488
 
829
- .issues-section .new-issue button {
830
- border: 1px solid var(--color-text);
831
- background: var(--color-box-bg);
832
- color: var(--color-link);
489
+ h4 {
833
- padding: 0.35rem 0.75rem;
490
+ font-size: 1.05rem;
834
- font: inherit;
491
+ font-weight: 500;
492
+ line-height: 1.2;
493
+ border-bottom: 1px solid #495057;
494
+ text-overflow: ellipsis;
495
+ white-space: nowrap;
835
- cursor: pointer;
496
+ overflow: hidden;
497
+ margin-bottom: 0;
498
+ padding: 0;
836
- }
499
+ }
837
500
 
501
+ .tags {
838
- .issues-section .form-row {
502
+ margin-top: 0.5rem;
839
- display: grid;
503
+ display: flex;
840
- grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
504
+ flex-wrap: wrap;
841
- gap: 0.5rem;
505
+ gap: 0.25rem;
842
- }
506
+ }
843
507
 
844
- @media (max-width: 720px) {
845
- .issues-section .form-row {
508
+ .tag {
846
- grid-template-columns: 1fr;
509
+ color: var(--color-tag);
510
+ padding: 0.15rem 0.5rem 0.5rem 0rem;
511
+ border-radius: 0.25rem;
512
+ font-size: 0.95rem;
513
+ font-weight: 500;
847
514
  }
848
- }
849
515
 
516
+ h1 {
850
- /* Single issue page */
517
+ font-size: 1.6rem;
518
+ font-weight: 500;
851
- .issue-detail .state-form,
519
+ line-height: 1;
852
- .issue-detail .comment-form {
853
- margin-top: 0.5rem;
520
+ margin-bottom: 0.1rem;
521
+ flex: 1;
522
+
523
+ h1 a {
524
+ color: var(--color-link);
854
- }
525
+ }
526
+ }
855
527
 
528
+ h2 {
856
- .issue-detail button {
529
+ display: flex;
857
- border: 1px solid var(--color-text);
858
- background: var(--color-box-bg);
859
- color: var(--color-link);
530
+ flex: 1;
860
- padding: 0.35rem 0.75rem;
531
+ padding-top: 0.3rem;
861
- font: inherit;
532
+ font-size: 0.95rem;
862
- cursor: pointer;
863
- }
533
+ }
864
534
 
865
- .issue-detail .body,
535
+ h3 {
866
- .issue-detail .comments {
867
- margin-top: 0.5rem;
536
+ font-size: 1rem;
537
+ font-weight: 500;
538
+
539
+ h3 a {
540
+ /* color: var(--color-tag) !important; */
868
- }
541
+ }
542
+
543
+ span {
544
+ font-size: 0.8rem;
545
+ }
546
+
547
+ svg {
548
+ display: inline;
549
+ /* color: var(--color-code-fg); */
550
+ /* vertical-align: sub; */
551
+ margin-bottom: 4px;
552
+ }
553
+ }
869
554
 
555
+ hr {
870
- .issue-detail .body,
556
+ margin-top: 0.5rem;
871
- .issue-detail .comment {
872
- background-color: var(--color-box-bg);
873
- color: var(--color-text);
557
+ border-color: var(--color-text);
874
- padding: 0.5rem;
875
- }
558
+ }
876
559
 
560
+ .nav {
877
- .issue-detail h3 {
561
+ display: flex;
562
+ align-items: center;
878
- margin: 0.5rem 0;
563
+ margin-top: 0.5rem;
879
- font-size: 1.05rem;
880
- font-weight: 500;
881
- }
882
564
 
883
- .issue-detail .comment {
565
+ @media (max-width: 720px) {
884
- margin: 0.5rem 0;
566
+ margin-top: 0.5rem;
885
- }
567
+ }
568
+
569
+ div {
570
+ padding-right: 0.5rem;
571
+ }
572
+
573
+ a {
574
+ font-size: 1rem;
575
+ font-weight: 500;
576
+ padding-right: 0.5rem;
577
+ cursor: pointer;
578
+ color: var(--color-link);
579
+
580
+ a[aria-current="true"] {
581
+ text-underline-offset: 4px;
582
+ text-decoration: underline;
583
+ }
584
+ }
585
+ }
886
586
 
887
- .issue-detail .comment-meta {
587
+ .nav {
888
- display: flex;
588
+ display: flex;
889
- flex-wrap: wrap;
589
+ align-items: center;
890
- gap: 0.5rem;
891
- margin-bottom: 0.35rem;
590
+ margin-bottom: 0.5rem;
591
+
592
+ @media (max-width: 720px) {
892
- font-size: 0.85rem;
593
+ margin-top: 0.5rem;
893
- }
594
+ }
595
+
596
+ div {
597
+ padding-right: 0.5rem;
598
+ }
599
+
600
+ a {
601
+ font-size: 1rem;
602
+ font-weight: 500;
603
+ padding-right: 0.5rem;
604
+ cursor: pointer;
605
+ color: var(--color-link);
606
+
607
+ a[aria-current="true"] {
608
+ text-underline-offset: 4px;
609
+ text-decoration: underline;
610
+ }
611
+ }
612
+ }
894
613
 
614
+ .title {
895
- .issue-detail pre {
615
+ display: flex;
896
- white-space: pre-wrap;
616
+ align-items: center;
897
- overflow-x: auto;
898
- margin: 0;
617
+ margin-top: 0.75rem;
618
+ margin-bottom: 0.5rem;
899
- font-family: inherit;
619
+ font-size: 1.1rem;
620
+ font-weight: 500;
900
- }
621
+ }
901
622
 
902
- .issue-detail .comment-form {
623
+ h1 {
903
- display: grid;
624
+ display: flex;
625
+ align-items: flex-start;
904
- gap: 0.5rem;
626
+ font-weight: 800;
905
- padding: 0.5rem;
627
+ font-size: 2rem;
906
- background: var(--color-box-bg);
907
- }
628
+ }
908
629
 
909
- .issue-detail .comment-form textarea,
910
- .issue-detail .comment-form input {
630
+ .container {
911
- width: 100%;
631
+ display: flex;
912
- border: 1px solid var(--color-text);
913
- background: var(--color-body-bg);
914
- color: var(--color-text);
915
- padding: 0.35rem 0.5rem;
916
- font: inherit;
632
+ float: left;
917
- }
633
+ }
918
634
 
919
- .issue-detail .comment-form textarea {
635
+ ul {
920
- min-height: 6rem;
636
+ display: flex;
921
- resize: vertical;
637
+ flex-direction: column;
922
- }
923
638
 
924
- .issue-detail .comment-actions {
639
+ ul li {
925
- display: grid;
640
+ display: grid;
926
- grid-template-columns: minmax(0, 1fr) auto;
641
+ grid-template-columns: repeat(1, minmax(0, 1fr));
642
+ gap: 0.4rem;
643
+ justify-items: start;
644
+ align-items: end;
645
+ margin-top: 1.25rem;
646
+ line-height: 1.5rem;
647
+
648
+ @media (min-width: 640px) {
649
+ grid-template-columns: repeat(2, minmax(0, 1fr));
927
- gap: 0.5rem;
650
+ gap: 0.75rem;
928
- }
651
+ }
652
+
653
+ ul a {
654
+ font-size: 1.1rem;
655
+ color: var(--color-post-link);
656
+ text-decoration-line: underline;
657
+ text-underline-offset: 4px;
658
+ }
659
+
660
+ time {
661
+ font-size: 1.1rem;
662
+ }
663
+
664
+ .content {
665
+ display: flex;
666
+ flex-direction: column;
667
+ }
668
+
669
+ .description {
670
+ font-size: 13pt;
671
+
672
+ &:hover {
673
+ cursor: default;
674
+ }
675
+ }
676
+
677
+ .date-wrapper {
678
+ display: flex;
679
+ flex: 1;
680
+ justify-content: flex-end;
681
+ font-size: 1rem;
682
+ line-height: 1.5rem;
683
+ @media (min-width: 640px) {
684
+ margin-left: 1rem;
685
+ }
686
+ }
687
+ }
688
+ }
929
689
 
690
+ article {
691
+ article h1 {
692
+ text-align: left;
693
+ font-size: 1.8rem;
694
+ font-weight: bold;
695
+ line-height: 1;
696
+ margin-top: 0.5rem;
930
- @media (max-width: 720px) {
697
+ margin-bottom: 0.1rem;
698
+ }
699
+
700
+ time {
701
+ font-size: 1.1rem;
702
+ text-align: left;
703
+ color: light-dark(
704
+ hsl(from var(--color-text) h s 40%),
931
- .issue-detail .comment-actions {
705
+ hsl(from var(--color-text) h s 80%)
706
+ );
707
+ }
708
+
709
+ hr {
710
+ margin: 0.5rem 0;
711
+ border-color: hsl(var(--color-text));
712
+ }
713
+
714
+ h2 {
715
+ font-size: 1.1rem;
716
+ font-weight: 500;
717
+ }
718
+
719
+ h3 {
720
+ font-size: 1.25rem;
721
+ font-weight: 700;
722
+ margin-top: 0.5rem;
723
+ margin-bottom: 0.1rem;
724
+ }
725
+
726
+ p {
727
+ font-size: 1.1rem;
728
+ padding-bottom: 1rem;
729
+ }
730
+
731
+ p,
732
+ li {
733
+ font-size: 1.1rem;
734
+ li code {
735
+ color: var(--color-code-fg) !important;
736
+ background: var(--color-code-bg) !important;
737
+ word-wrap: break-word;
932
- grid-template-columns: 1fr;
738
+ box-decoration-break: clone;
739
+ padding: 2px 4px;
740
+ border-radius: 0.2rem;
741
+ font-weight: 400;
742
+ font-size: 0.8rem;
743
+ }
744
+ }
745
+
746
+ blockquote {
747
+ font-size: 1.2rem;
748
+ font-weight: 600;
749
+ background: var(--color-highlight-bg);
750
+ padding: 0.4rem;
751
+ margin: 16px 0px;
752
+
753
+ blockquote p {
754
+ padding: 0;
755
+ }
756
+ }
933
757
  }
934
- }
935
758
 
936
- /* Commit entry */
937
- .commit-entry {
759
+ .issues {
938
- background-color: var(--color-box-bg);
939
- color: var(--color-text);
940
- text-overflow: ellipsis;
941
- overflow: hidden;
942
- padding: 0.5rem;
943
- margin: 0.5rem 0;
760
+ margin-top: 0.5rem;
944
- font-size: 11pt;
945
- }
761
+ }
946
762
 
947
- .commit-entry a {
763
+ .summary {
764
+ display: flex;
765
+ flex-wrap: wrap;
766
+ gap: 0.5rem;
767
+ align-items: baseline;
768
+ padding: 0.5rem;
769
+ background: var(--color-box-bg);
948
- color: var(--color-link);
770
+ color: var(--color-text);
771
+ font-size: 0.95rem;
949
- }
772
+ }
950
773
 
951
- .commit-entry strong {
774
+ .empty {
952
- font-weight: 500;
775
+ margin-top: 0.5rem;
776
+ padding: 0.5rem;
777
+ background: var(--color-box-bg);
778
+ color: var(--color-text);
953
- }
779
+ }
954
780
 
781
+ .new-issue {
782
+ display: grid;
783
+ gap: 0.5rem;
784
+ margin: 0.5rem 0;
785
+ padding: 0.5rem;
786
+ background: var(--color-box-bg);
787
+
788
+ input,
955
- .commit-entry small {
789
+ .new-issue textarea {
956
- font-size: 85%;
957
- font-weight: 400;
790
+ width: 100%;
791
+ border: 1px solid var(--color-text);
792
+ background: var(--color-body-bg);
793
+ color: var(--color-text);
794
+ padding: 0.35rem 0.5rem;
958
- float: right;
795
+ font: inherit;
959
- }
796
+ }
797
+
798
+ textarea {
799
+ min-height: 6rem;
800
+ resize: vertical;
801
+ }
802
+
803
+ button {
804
+ border: 1px solid var(--color-text);
805
+ background: var(--color-box-bg);
806
+ color: var(--color-link);
807
+ padding: 0.35rem 0.75rem;
808
+ font: inherit;
809
+ cursor: pointer;
810
+ }
811
+ }
960
812
 
961
- /* Issue card */
962
- .issue-card {
813
+ .form-row {
814
+ display: grid;
963
- background-color: var(--color-box-bg);
815
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
964
- color: var(--color-text);
965
- padding: 0.5rem;
816
+ gap: 0.5rem;
966
- margin: 0.5rem 0;
967
- font-size: 11pt;
968
- }
969
817
 
970
- .issue-card a {
818
+ @media (max-width: 720px) {
971
- color: var(--color-link);
819
+ grid-template-columns: 1fr;
972
- }
820
+ }
821
+ }
973
822
 
974
- .issue-card .issue-title {
975
- display: flex;
823
+ .state-form,
976
- align-items: baseline;
824
+ .comment-form {
977
- gap: 0.5rem;
825
+ margin-top: 0.5rem;
978
- font-size: 1.05rem;
979
- font-weight: 500;
980
- }
826
+ }
981
827
 
982
- .issue-card .state {
828
+ button {
983
- border: 1px solid var(--color-text);
829
+ border: 1px solid var(--color-text);
830
+ background: var(--color-box-bg);
984
- border-radius: 0.2rem;
831
+ color: var(--color-link);
985
- padding: 0.05rem 0.35rem;
832
+ padding: 0.35rem 0.75rem;
986
- font-size: 0.75rem;
833
+ font: inherit;
987
- text-transform: uppercase;
834
+ cursor: pointer;
988
- }
835
+ }
989
836
 
837
+ .body,
838
+ .comments {
990
- .issue-card .open {
839
+ margin-top: 0.5rem;
991
- color: var(--color-tag);
992
- }
840
+ }
993
841
 
842
+ .body,
843
+ .comment {
844
+ background-color: var(--color-box-bg);
994
- .issue-card .closed {
845
+ color: var(--color-text);
995
- opacity: 0.8;
846
+ padding: 0.5rem;
996
- }
847
+ }
997
848
 
998
- .issue-card .meta {
999
- display: flex;
1000
- flex-wrap: wrap;
1001
- gap: 0.5rem;
849
+ h3 {
1002
- margin-top: 0.25rem;
850
+ margin: 0.5rem 0;
1003
- font-size: 0.85rem;
851
+ font-size: 1.05rem;
852
+ font-weight: 500;
1004
- }
853
+ }
1005
854
 
1006
- .issue-card .labels {
855
+ .comment {
1007
- display: flex;
1008
- flex-wrap: wrap;
1009
- gap: 0.35rem;
1010
- margin-top: 0.35rem;
856
+ margin: 0.5rem 0;
1011
- }
857
+ }
1012
858
 
859
+ .comment-meta {
1013
- .issue-card .label {
860
+ display: flex;
1014
- color: var(--color-tag);
861
+ flex-wrap: wrap;
862
+ gap: 0.5rem;
863
+ margin-bottom: 0.35rem;
1015
- font-size: 0.85rem;
864
+ font-size: 0.85rem;
1016
- font-weight: 500;
1017
- }
865
+ }
1018
866
 
867
+ pre {
1019
- /* TimeAgo */
868
+ white-space: pre-wrap;
869
+ overflow-x: auto;
870
+ margin: 0;
871
+ font-family: inherit;
872
+ }
1020
873
 
1021
- /* File tree */
1022
- .file-tree {
874
+ .comment-form {
1023
- font-family: monospace;
875
+ display: grid;
876
+ gap: 0.5rem;
1024
- font-size: 0.9rem;
877
+ padding: 0.5rem;
878
+ background: var(--color-box-bg);
879
+
880
+ textarea,
881
+ .comment-form input {
1025
- line-height: 1.8;
882
+ width: 100%;
883
+ border: 1px solid var(--color-text);
884
+ background: var(--color-body-bg);
885
+ color: var(--color-text);
886
+ padding: 0.35rem 0.5rem;
887
+ font: inherit;
1026
- }
888
+ }
889
+
890
+ textarea {
891
+ min-height: 6rem;
892
+ resize: vertical;
893
+ }
894
+ }
1027
895
 
1028
- .file-tree ul {
896
+ .comment-actions {
1029
- list-style: none;
897
+ display: grid;
898
+ grid-template-columns: minmax(0, 1fr) auto;
1030
- padding-left: 1.2rem;
899
+ gap: 0.5rem;
1031
- margin: 0;
1032
- }
1033
900
 
1034
- .file-tree li {
1035
- display: flex;
901
+ @media (max-width: 720px) {
1036
- align-items: center;
902
+ grid-template-columns: 1fr;
903
+ }
904
+
905
+ @media (prefers-color-scheme: dark) {
1037
- gap: 0.35rem;
906
+ :root { color-scheme: dark; }
1038
907
  }
1039
908
 
1040
- .file-tree a {
909
+ [data-theme="dark"] {
910
+ --color-body-bg: hsl(210, 13%, 15%);
911
+ --color-box-bg: hsl(210, 13%, 9%);
912
+ --color-text: hsl(210, 17%, 98%);
913
+ --color-link: hsl(211, 100%, 60%);
914
+ --color-post-link: hsl(211, 100%, 60%);
915
+ --color-highlight-bg: hsl(183, 80%, 18%);
916
+ --color-code-fg: hsl(348, 86%, 60%);
917
+ --color-code-bg: hsl(0, 0%, 0%);
918
+ --color-pre-bg: hsl(0, 0%, 0%);
1041
- color: var(--color-link);
919
+ --color-tag: hsl(152, 96%, 44%);
920
+ --btn-light: block;
1042
- text-decoration: none;
921
+ --btn-dark: none;
922
+ color-scheme: dark;
1043
923
  }
1044
-
1045
- .file-tree a:hover {
1046
- text-decoration: underline;
1047
924
  }
1048
925
  `;
packages/shared/ui/src/styles.css ADDED
@@ -0,0 +1,921 @@
1
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
2
+ html { -webkit-text-size-adjust: 100%; }
3
+ body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
4
+ img, picture, video, canvas, svg { display: block; max-width: 100%; }
5
+ input, button, textarea, select { font: inherit; }
6
+ p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
7
+ a { color: inherit; text-decoration: none; }
8
+ ul, ol { list-style: none; }
9
+ table { border-collapse: collapse; }
10
+
11
+ @view-transition {
12
+ navigation: auto; /* enabled! */
13
+ }
14
+
15
+ :root {
16
+ --color-black: hsl(0, 0%, 0%);
17
+ --color-white: hsl(0, 0%, 100%);
18
+ --color-accent: hsl(57.25deg 100% 70%);
19
+ --color-body-bg: hsl(0, 0%, 100%);
20
+ --color-box-bg: hsl(0, 0%, 95%);
21
+ --color-text: hsl(0, 0%, 13%);
22
+ --color-link: hsl(211, 100%, 45%);
23
+ --color-post-link: hsl(0, 0%, 0%);
24
+ --color-highlight-bg: hsl(183, 80%, 88%);
25
+ --color-code-fg: hsl(348, 86%, 43%);
26
+ --color-code-bg: hsl(0, 0%, 95%);
27
+ --color-pre-bg: hsl(0, 0%, 95%);
28
+ --color-tag: hsl(152, 96%, 35%);
29
+ --btn-light: none;
30
+ --btn-dark: block;
31
+
32
+ .astro-code,
33
+ :root .astro-code span {
34
+ background: var(--color-pre-bg) !important;
35
+ }
36
+ }
37
+
38
+ [data-theme="dark"] {
39
+ --btn-light: block;
40
+ --btn-dark: none;
41
+
42
+ [data-theme="dark"] .expressive-code .frame pre {
43
+ background: var(--color-pre-bg) !important;
44
+ }
45
+ }
46
+
47
+ [data-tooltip] {
48
+ position: relative;
49
+ cursor: help;
50
+ }
51
+
52
+ [data-tooltip]::after {
53
+ position: absolute;
54
+ opacity: 0;
55
+ pointer-events: none;
56
+ content: attr(data-tooltip);
57
+ left: 0;
58
+ top: calc(100% + 10px);
59
+ border-radius: 3px;
60
+ box-shadow: 0 0 1px 1px var(--color-text);
61
+ background-color: var(--color-box-bg);
62
+ z-index: 10;
63
+ padding: 8px;
64
+ width: 300px;
65
+ transform: translateY(-20px);
66
+ transition: all 150ms cubic-bezier(0.25, 0.8, 0.25, 1);
67
+ }
68
+
69
+ [data-tooltip]:hover::after {
70
+ opacity: 1;
71
+ transform: translateY(0);
72
+ transition-duration: 300ms;
73
+ }
74
+
75
+ body {
76
+ display: flex;
77
+ flex-direction: column;
78
+ flex: 1;
79
+ background-color: var(--color-body-bg);
80
+ color: var(--color-text);
81
+ font-family: system-ui;
82
+ text-rendering: optimizeLegibility;
83
+ font-variant-ligatures: common-ligatures;
84
+ font-kerning: normal;
85
+ font-size: 1.25rem;
86
+ line-height: 1.5;
87
+ min-height: 100vh;
88
+
89
+ @media (max-width: 720px) {
90
+ font-size: 1.1rem;
91
+ }
92
+ }
93
+
94
+ main {
95
+ margin-top: 1rem;
96
+ margin-bottom: 1rem;
97
+ padding-bottom: 1em;
98
+ }
99
+
100
+ header {
101
+ background: #131618;
102
+ }
103
+
104
+ .safe-area {
105
+ background: #131618;
106
+ position: sticky;
107
+ top: 0;
108
+ padding-top: env(safe-area-inset-top);
109
+ }
110
+
111
+ .logo {
112
+ display: flex;
113
+ font-size: 22px;
114
+ line-height: 56px;
115
+ font-weight: 400;
116
+ margin-bottom: 0;
117
+ float: left;
118
+ color: var(--color-accent);
119
+ margin-right: 8px;
120
+
121
+ &.active,
122
+ &:hover {
123
+ color: var(--color-accent);
124
+ text-decoration: underline;
125
+ text-decoration-color: var(--color-accent);
126
+ text-underline-offset: 8px;
127
+ }
128
+ }
129
+
130
+ .links {
131
+ display: flex;
132
+ flex-direction: row;
133
+ float: right;
134
+ font-size: 1.4rem;
135
+ line-height: 56px;
136
+ color: white;
137
+
138
+ .links #astro-color-scheme-switch {
139
+ display: flex;
140
+ align-items: center;
141
+ font-size: 1.3rem;
142
+
143
+ .links #astro-color-scheme-switch button {
144
+ padding-right: 12px;
145
+ cursor: pointer;
146
+ margin-bottom: -2px;
147
+ }
148
+ }
149
+
150
+ a {
151
+ display: inline-block;
152
+ text-decoration: none;
153
+ font-size: 22px;
154
+ line-height: 56px;
155
+ color: white;
156
+ font-weight: 400;
157
+ padding-left: 12px;
158
+ padding-right: 12px;
159
+
160
+ &:last-child {
161
+ padding-right: 0px;
162
+ }
163
+
164
+ &.active,
165
+ &:hover {
166
+ color: var(--color-gray-200);
167
+ text-decoration: underline;
168
+ text-decoration-color: var(--color-accent);
169
+ text-underline-offset: 8px;
170
+ }
171
+ }
172
+ }
173
+
174
+ footer {
175
+ background: #131618;
176
+ }
177
+
178
+ .safe-area {
179
+ background: #131618;
180
+ position: sticky;
181
+ bottom: 0;
182
+ padding-bottom: env(safe-area-inset-bottom);
183
+ }
184
+
185
+ .container {
186
+ display: flex;
187
+ flex-direction: row;
188
+ flex: 1;
189
+ padding: 16px 0px;
190
+ }
191
+
192
+ .spacer {
193
+ flex: 1;
194
+ }
195
+
196
+ .copyright-container {
197
+ display: flex;
198
+ align-items: center;
199
+ justify-content: center;
200
+ margin-left: 0.5rem;
201
+ margin-right: 0.5rem;
202
+ color: var(--color-white);
203
+ font-size: 1rem;
204
+ }
205
+
206
+ .link {
207
+ font-size: 1rem;
208
+ line-height: 1.5rem;
209
+ margin-left: 0.5rem;
210
+ color: var(--color-white);
211
+ font-weight: 500;
212
+ text-underline-offset: 2px;
213
+ text-decoration-thickness: 2px;
214
+ text-decoration-line: underline;
215
+ text-decoration-color: white;
216
+
217
+ &:hover {
218
+ color: var(--color-gray-200);
219
+ text-decoration-color: var(--color-gray-200);
220
+ }
221
+ }
222
+
223
+ div {
224
+ flex: 1;
225
+ width: min(70ch, 100% - 4rem); /* To make the website more readable */
226
+ margin-right: auto;
227
+ margin-left: auto;
228
+ padding-left: 1em;
229
+ padding-right: 1em;
230
+ }
231
+
232
+ @media (max-width: 720px) {
233
+ div {
234
+ width: 100%;
235
+ }
236
+ }
237
+
238
+ .description {
239
+ font-size: 1.1rem;
240
+ @media (max-width: 720px) {
241
+ font-size: 1rem;
242
+ }
243
+ }
244
+
245
+ h2 {
246
+ font-size: 1.4rem;
247
+ font-weight: 600;
248
+ @media (max-width: 720px) {
249
+ font-size: 1.15rem;
250
+ }
251
+ }
252
+
253
+ section {
254
+ display: flex;
255
+ flex-direction: column;
256
+ margin-top: 1.5rem;
257
+ margin-bottom: 1rem;
258
+
259
+ @media (max-width: 720px) {
260
+ margin-top: 1.5rem;
261
+ margin-bottom: 0rem;
262
+ }
263
+ }
264
+
265
+ .rounded-md {
266
+ border-radius: 0.375rem;
267
+ }
268
+
269
+ .repos {
270
+ display: grid;
271
+ grid-template-columns: auto auto;
272
+ gap: 1rem;
273
+ margin-top: 0.5rem;
274
+
275
+ @media (max-width: 720px) {
276
+ gap: 1rem;
277
+ grid-template-columns: auto;
278
+ }
279
+ }
280
+
281
+ .pageContainer {
282
+ margin-left: auto;
283
+ margin-right: auto;
284
+ margin-bottom: 2.5rem;
285
+ /* mb-10 */
286
+ }
287
+
288
+ .title {
289
+ font-size: 1.875rem;
290
+ line-height: 2.25rem;
291
+ font-weight: 700;
292
+ margin-bottom: 1rem;
293
+ @media (max-width: 720px) {
294
+ font-size: 1.6rem;
295
+ }
296
+ }
297
+
298
+ .firstSection {
299
+ display: flex;
300
+ flex-direction: column;
301
+ }
302
+
303
+ .firstPara {
304
+ display: flex;
305
+ flex-direction: row;
306
+ }
307
+
308
+ .linkUnderline {
309
+ text-decoration-line: underline;
310
+ }
311
+
312
+ .gridContainer {
313
+ display: grid;
314
+ grid-template-columns: repeat(1, minmax(0, 1fr));
315
+ gap: 1rem;
316
+
317
+ @media (max-width: 720px) {
318
+ gap: 0rem;
319
+ }
320
+ }
321
+
322
+ @media (min-width: 640px) {
323
+ /* sm: */
324
+ .gridContainer {
325
+ grid-template-columns: repeat(2, minmax(0, 1fr));
326
+ /* sm:grid-cols-2 */
327
+ gap: 2rem;
328
+ /* sm:gap-8 */
329
+ }
330
+ }
331
+
332
+ .repo {
333
+ text-overflow: ellipsis;
334
+ overflow: hidden;
335
+ padding: 0.5rem;
336
+ background: var(--color-box-bg);
337
+ color: var(--color-text);
338
+ font-size: 0.95rem;
339
+
340
+ .repo a {
341
+ color: var(--color-link);
342
+ }
343
+
344
+ h4 {
345
+ font-size: 1.05rem;
346
+ font-weight: 500;
347
+ line-height: 1.2;
348
+ border-bottom: 1px solid #495057;
349
+ text-overflow: ellipsis;
350
+ white-space: nowrap;
351
+ overflow: hidden;
352
+ margin-bottom: 0;
353
+ padding: 0;
354
+ }
355
+
356
+ .tags {
357
+ margin-top: 0.5rem;
358
+ display: flex;
359
+ flex-wrap: wrap;
360
+ gap: 0.25rem;
361
+ }
362
+
363
+ .tag {
364
+ color: var(--color-tag);
365
+ padding: 0.15rem 0.5rem 0.5rem 0rem;
366
+ border-radius: 0.25rem;
367
+ font-size: 0.95rem;
368
+ font-weight: 500;
369
+ }
370
+ }
371
+
372
+ .interests {
373
+ .interests ul {
374
+ display: grid;
375
+ gap: 0.5rem;
376
+ grid-template-columns: auto auto auto;
377
+ text-align: center;
378
+ margin-top: 0.5rem;
379
+ font-size: 1.1rem;
380
+
381
+ .interests ul li {
382
+ background-color: var(--color-box-bg);
383
+ padding: 0.25rem;
384
+ }
385
+ }
386
+ }
387
+
388
+ .contact {
389
+ .contact ul {
390
+ display: grid;
391
+ gap: 0.5rem;
392
+ grid-template-columns: auto;
393
+ margin-top: 0.5rem;
394
+
395
+ .contact ul li {
396
+ display: flex;
397
+ flex-direction: row;
398
+ align-items: baseline;
399
+ padding: 0.25rem;
400
+ background-color: var(--color-box-bg);
401
+ font-size: 1.1rem;
402
+
403
+ @media (max-width: 720px) {
404
+ font-size: 1rem;
405
+ flex-direction: column;
406
+ }
407
+ }
408
+
409
+ .contact a {
410
+ color: var(--color-link);
411
+ }
412
+
413
+ strong {
414
+ font-weight: 500;
415
+ margin-left: 0.25rem;
416
+ margin-right: 0.5rem;
417
+ }
418
+ }
419
+ }
420
+
421
+ .tools {
422
+ .tools img {
423
+ width: 36px;
424
+ height: 36px;
425
+ }
426
+
427
+ ul {
428
+ display: grid;
429
+ gap: 0.5rem;
430
+ grid-template-columns: auto auto auto auto;
431
+ text-align: center;
432
+ margin-top: 0.5rem;
433
+
434
+ @media (max-width: 720px) {
435
+ grid-template-columns: auto auto auto;
436
+ }
437
+
438
+ li {
439
+ display: flex;
440
+ align-items: center;
441
+ background-color: var(--color-box-bg);
442
+ padding: 0.25rem;
443
+ font-size: 1rem;
444
+
445
+ li a {
446
+ display: flex;
447
+ flex: 1;
448
+ flex-direction: row;
449
+ align-items: center;
450
+ text-align: left;
451
+ margin-left: 0.25rem;
452
+ margin-right: 0.25rem;
453
+
454
+ li a div {
455
+ flex: 1;
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
461
+
462
+ .repo {
463
+ text-overflow: ellipsis;
464
+ overflow: hidden;
465
+ padding: 0.5rem;
466
+ background: var(--color-box-bg);
467
+ color: var(--color-text);
468
+ font-size: 0.95rem;
469
+
470
+ .repo a {
471
+ color: var(--color-link);
472
+ }
473
+ }
474
+
475
+ .header {
476
+ display: flex;
477
+ flex-direction: row;
478
+ align-items: baseline;
479
+
480
+ @media (max-width: 720px) {
481
+ flex-direction: column;
482
+ align-items: start;
483
+ }
484
+ }
485
+
486
+ h4 {
487
+ font-size: 1.05rem;
488
+ font-weight: 500;
489
+ line-height: 1.2;
490
+ border-bottom: 1px solid #495057;
491
+ text-overflow: ellipsis;
492
+ white-space: nowrap;
493
+ overflow: hidden;
494
+ margin-bottom: 0;
495
+ padding: 0;
496
+ }
497
+
498
+ .tags {
499
+ margin-top: 0.5rem;
500
+ display: flex;
501
+ flex-wrap: wrap;
502
+ gap: 0.25rem;
503
+ }
504
+
505
+ .tag {
506
+ color: var(--color-tag);
507
+ padding: 0.15rem 0.5rem 0.5rem 0rem;
508
+ border-radius: 0.25rem;
509
+ font-size: 0.95rem;
510
+ font-weight: 500;
511
+ }
512
+
513
+ h1 {
514
+ font-size: 1.6rem;
515
+ font-weight: 500;
516
+ line-height: 1;
517
+ margin-bottom: 0.1rem;
518
+ flex: 1;
519
+
520
+ h1 a {
521
+ color: var(--color-link);
522
+ }
523
+ }
524
+
525
+ h2 {
526
+ display: flex;
527
+ flex: 1;
528
+ padding-top: 0.3rem;
529
+ font-size: 0.95rem;
530
+ }
531
+
532
+ h3 {
533
+ font-size: 1rem;
534
+ font-weight: 500;
535
+
536
+ h3 a {
537
+ /* color: var(--color-tag) !important; */
538
+ }
539
+
540
+ span {
541
+ font-size: 0.8rem;
542
+ }
543
+
544
+ svg {
545
+ display: inline;
546
+ /* color: var(--color-code-fg); */
547
+ /* vertical-align: sub; */
548
+ margin-bottom: 4px;
549
+ }
550
+ }
551
+
552
+ hr {
553
+ margin-top: 0.5rem;
554
+ border-color: var(--color-text);
555
+ }
556
+
557
+ .nav {
558
+ display: flex;
559
+ align-items: center;
560
+ margin-top: 0.5rem;
561
+
562
+ @media (max-width: 720px) {
563
+ margin-top: 0.5rem;
564
+ }
565
+
566
+ div {
567
+ padding-right: 0.5rem;
568
+ }
569
+
570
+ a {
571
+ font-size: 1rem;
572
+ font-weight: 500;
573
+ padding-right: 0.5rem;
574
+ cursor: pointer;
575
+ color: var(--color-link);
576
+
577
+ a[aria-current="true"] {
578
+ text-underline-offset: 4px;
579
+ text-decoration: underline;
580
+ }
581
+ }
582
+ }
583
+
584
+ .nav {
585
+ display: flex;
586
+ align-items: center;
587
+ margin-bottom: 0.5rem;
588
+
589
+ @media (max-width: 720px) {
590
+ margin-top: 0.5rem;
591
+ }
592
+
593
+ div {
594
+ padding-right: 0.5rem;
595
+ }
596
+
597
+ a {
598
+ font-size: 1rem;
599
+ font-weight: 500;
600
+ padding-right: 0.5rem;
601
+ cursor: pointer;
602
+ color: var(--color-link);
603
+
604
+ a[aria-current="true"] {
605
+ text-underline-offset: 4px;
606
+ text-decoration: underline;
607
+ }
608
+ }
609
+ }
610
+
611
+ .title {
612
+ display: flex;
613
+ align-items: center;
614
+ margin-top: 0.75rem;
615
+ margin-bottom: 0.5rem;
616
+ font-size: 1.1rem;
617
+ font-weight: 500;
618
+ }
619
+
620
+ h1 {
621
+ display: flex;
622
+ align-items: flex-start;
623
+ font-weight: 800;
624
+ font-size: 2rem;
625
+ }
626
+
627
+ .container {
628
+ display: flex;
629
+ float: left;
630
+ }
631
+
632
+ ul {
633
+ display: flex;
634
+ flex-direction: column;
635
+
636
+ ul li {
637
+ display: grid;
638
+ grid-template-columns: repeat(1, minmax(0, 1fr));
639
+ gap: 0.4rem;
640
+ justify-items: start;
641
+ align-items: end;
642
+ margin-top: 1.25rem;
643
+ line-height: 1.5rem;
644
+
645
+ @media (min-width: 640px) {
646
+ grid-template-columns: repeat(2, minmax(0, 1fr));
647
+ gap: 0.75rem;
648
+ }
649
+
650
+ ul a {
651
+ font-size: 1.1rem;
652
+ color: var(--color-post-link);
653
+ text-decoration-line: underline;
654
+ text-underline-offset: 4px;
655
+ }
656
+
657
+ time {
658
+ font-size: 1.1rem;
659
+ }
660
+
661
+ .content {
662
+ display: flex;
663
+ flex-direction: column;
664
+ }
665
+
666
+ .description {
667
+ font-size: 13pt;
668
+
669
+ &:hover {
670
+ cursor: default;
671
+ }
672
+ }
673
+
674
+ .date-wrapper {
675
+ display: flex;
676
+ flex: 1;
677
+ justify-content: flex-end;
678
+ font-size: 1rem;
679
+ line-height: 1.5rem;
680
+ @media (min-width: 640px) {
681
+ margin-left: 1rem;
682
+ }
683
+ }
684
+ }
685
+ }
686
+
687
+ article {
688
+ article h1 {
689
+ text-align: left;
690
+ font-size: 1.8rem;
691
+ font-weight: bold;
692
+ line-height: 1;
693
+ margin-top: 0.5rem;
694
+ margin-bottom: 0.1rem;
695
+ }
696
+
697
+ time {
698
+ font-size: 1.1rem;
699
+ text-align: left;
700
+ color: light-dark(
701
+ hsl(from var(--color-text) h s 40%),
702
+ hsl(from var(--color-text) h s 80%)
703
+ );
704
+ }
705
+
706
+ hr {
707
+ margin: 0.5rem 0;
708
+ border-color: hsl(var(--color-text));
709
+ }
710
+
711
+ h2 {
712
+ font-size: 1.1rem;
713
+ font-weight: 500;
714
+ }
715
+
716
+ h3 {
717
+ font-size: 1.25rem;
718
+ font-weight: 700;
719
+ margin-top: 0.5rem;
720
+ margin-bottom: 0.1rem;
721
+ }
722
+
723
+ p {
724
+ font-size: 1.1rem;
725
+ padding-bottom: 1rem;
726
+ }
727
+
728
+ p,
729
+ li {
730
+ font-size: 1.1rem;
731
+ li code {
732
+ color: var(--color-code-fg) !important;
733
+ background: var(--color-code-bg) !important;
734
+ word-wrap: break-word;
735
+ box-decoration-break: clone;
736
+ padding: 2px 4px;
737
+ border-radius: 0.2rem;
738
+ font-weight: 400;
739
+ font-size: 0.8rem;
740
+ }
741
+ }
742
+
743
+ blockquote {
744
+ font-size: 1.2rem;
745
+ font-weight: 600;
746
+ background: var(--color-highlight-bg);
747
+ padding: 0.4rem;
748
+ margin: 16px 0px;
749
+
750
+ blockquote p {
751
+ padding: 0;
752
+ }
753
+ }
754
+ }
755
+
756
+ .issues {
757
+ margin-top: 0.5rem;
758
+ }
759
+
760
+ .summary {
761
+ display: flex;
762
+ flex-wrap: wrap;
763
+ gap: 0.5rem;
764
+ align-items: baseline;
765
+ padding: 0.5rem;
766
+ background: var(--color-box-bg);
767
+ color: var(--color-text);
768
+ font-size: 0.95rem;
769
+ }
770
+
771
+ .empty {
772
+ margin-top: 0.5rem;
773
+ padding: 0.5rem;
774
+ background: var(--color-box-bg);
775
+ color: var(--color-text);
776
+ }
777
+
778
+ .new-issue {
779
+ display: grid;
780
+ gap: 0.5rem;
781
+ margin: 0.5rem 0;
782
+ padding: 0.5rem;
783
+ background: var(--color-box-bg);
784
+
785
+ input,
786
+ .new-issue textarea {
787
+ width: 100%;
788
+ border: 1px solid var(--color-text);
789
+ background: var(--color-body-bg);
790
+ color: var(--color-text);
791
+ padding: 0.35rem 0.5rem;
792
+ font: inherit;
793
+ }
794
+
795
+ textarea {
796
+ min-height: 6rem;
797
+ resize: vertical;
798
+ }
799
+
800
+ button {
801
+ border: 1px solid var(--color-text);
802
+ background: var(--color-box-bg);
803
+ color: var(--color-link);
804
+ padding: 0.35rem 0.75rem;
805
+ font: inherit;
806
+ cursor: pointer;
807
+ }
808
+ }
809
+
810
+ .form-row {
811
+ display: grid;
812
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
813
+ gap: 0.5rem;
814
+
815
+ @media (max-width: 720px) {
816
+ grid-template-columns: 1fr;
817
+ }
818
+ }
819
+
820
+ .state-form,
821
+ .comment-form {
822
+ margin-top: 0.5rem;
823
+ }
824
+
825
+ button {
826
+ border: 1px solid var(--color-text);
827
+ background: var(--color-box-bg);
828
+ color: var(--color-link);
829
+ padding: 0.35rem 0.75rem;
830
+ font: inherit;
831
+ cursor: pointer;
832
+ }
833
+
834
+ .body,
835
+ .comments {
836
+ margin-top: 0.5rem;
837
+ }
838
+
839
+ .body,
840
+ .comment {
841
+ background-color: var(--color-box-bg);
842
+ color: var(--color-text);
843
+ padding: 0.5rem;
844
+ }
845
+
846
+ h3 {
847
+ margin: 0.5rem 0;
848
+ font-size: 1.05rem;
849
+ font-weight: 500;
850
+ }
851
+
852
+ .comment {
853
+ margin: 0.5rem 0;
854
+ }
855
+
856
+ .comment-meta {
857
+ display: flex;
858
+ flex-wrap: wrap;
859
+ gap: 0.5rem;
860
+ margin-bottom: 0.35rem;
861
+ font-size: 0.85rem;
862
+ }
863
+
864
+ pre {
865
+ white-space: pre-wrap;
866
+ overflow-x: auto;
867
+ margin: 0;
868
+ font-family: inherit;
869
+ }
870
+
871
+ .comment-form {
872
+ display: grid;
873
+ gap: 0.5rem;
874
+ padding: 0.5rem;
875
+ background: var(--color-box-bg);
876
+
877
+ textarea,
878
+ .comment-form input {
879
+ width: 100%;
880
+ border: 1px solid var(--color-text);
881
+ background: var(--color-body-bg);
882
+ color: var(--color-text);
883
+ padding: 0.35rem 0.5rem;
884
+ font: inherit;
885
+ }
886
+
887
+ textarea {
888
+ min-height: 6rem;
889
+ resize: vertical;
890
+ }
891
+ }
892
+
893
+ .comment-actions {
894
+ display: grid;
895
+ grid-template-columns: minmax(0, 1fr) auto;
896
+ gap: 0.5rem;
897
+
898
+ @media (max-width: 720px) {
899
+ grid-template-columns: 1fr;
900
+ }
901
+
902
+ @media (prefers-color-scheme: dark) {
903
+ :root { color-scheme: dark; }
904
+ }
905
+
906
+ [data-theme="dark"] {
907
+ --color-body-bg: hsl(210, 13%, 15%);
908
+ --color-box-bg: hsl(210, 13%, 9%);
909
+ --color-text: hsl(210, 17%, 98%);
910
+ --color-link: hsl(211, 100%, 60%);
911
+ --color-post-link: hsl(211, 100%, 60%);
912
+ --color-highlight-bg: hsl(183, 80%, 18%);
913
+ --color-code-fg: hsl(348, 86%, 60%);
914
+ --color-code-bg: hsl(0, 0%, 0%);
915
+ --color-pre-bg: hsl(0, 0%, 0%);
916
+ --color-tag: hsl(152, 96%, 44%);
917
+ --btn-light: block;
918
+ --btn-dark: none;
919
+ color-scheme: dark;
920
+ }
921
+ }