akenomainx4 commited on
Commit
6ee0330
·
verified ·
1 Parent(s): f593b1b

Upload index.css

Browse files
Files changed (1) hide show
  1. client/src/index.css +97 -10
client/src/index.css CHANGED
@@ -22,11 +22,43 @@
22
  --space-6: 32px;
23
  --space-7: 48px;
24
  --space-8: 64px;
 
 
 
 
25
  font-family: "Inter", system-ui, sans-serif;
26
  background: var(--bg-base);
27
  color: var(--text-primary);
28
  }
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  [data-theme="light"] {
31
  color-scheme: light;
32
  --bg-base: #f5f4f0;
@@ -117,7 +149,7 @@ textarea {
117
  cursor: pointer;
118
  text-transform: uppercase;
119
  letter-spacing: 0.14em;
120
- font-size: 11px;
121
  }
122
 
123
  .button-primary {
@@ -161,7 +193,7 @@ textarea {
161
 
162
  .field-label {
163
  margin-bottom: 8px;
164
- font-size: 11px;
165
  color: var(--text-secondary);
166
  }
167
 
@@ -260,7 +292,7 @@ textarea {
260
 
261
  .nav-memo-title {
262
  font-family: "Barlow Condensed", "Oswald", sans-serif;
263
- font-size: 14px;
264
  text-transform: uppercase;
265
  letter-spacing: 0.05em;
266
  color: var(--text-secondary);
@@ -275,7 +307,7 @@ textarea {
275
  display: flex;
276
  justify-content: center;
277
  align-items: center;
278
- font-size: 13px;
279
  padding: 0 20px;
280
  overflow: hidden;
281
  white-space: nowrap;
@@ -337,7 +369,7 @@ textarea {
337
  .search-box input {
338
  height: 32px;
339
  padding: 0 12px;
340
- font-size: 13px;
341
  width: 180px;
342
  background: var(--bg-surface);
343
  border-color: var(--border-subtle);
@@ -418,7 +450,7 @@ textarea {
418
  border: 0;
419
  background: transparent;
420
  padding: 0;
421
- font-size: 32px;
422
  font-family: "Barlow Condensed", "Oswald", sans-serif;
423
  text-transform: uppercase;
424
  letter-spacing: 0.1em;
@@ -447,7 +479,7 @@ textarea {
447
  .section-title {
448
  margin: 0;
449
  font-family: "Barlow Condensed", "Oswald", sans-serif;
450
- font-size: 18px;
451
  letter-spacing: 0.08em;
452
  }
453
 
@@ -520,7 +552,7 @@ textarea {
520
  padding: 0;
521
  text-align: left;
522
  color: var(--text-primary);
523
- font-size: 15px;
524
  font-weight: 500;
525
  cursor: pointer;
526
  }
@@ -554,7 +586,7 @@ textarea {
554
  }
555
 
556
  .answer-body {
557
- font-size: 15px;
558
  line-height: 1.8;
559
  }
560
 
@@ -610,7 +642,7 @@ textarea {
610
  position: relative;
611
  display: block;
612
  padding: 8px 12px;
613
- font-size: 11px;
614
  text-transform: uppercase;
615
  letter-spacing: 0.14em;
616
  color: var(--text-secondary);
@@ -653,6 +685,61 @@ textarea {
653
  pointer-events: none;
654
  }
655
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
656
  .entry-detail-shell {
657
  display: grid;
658
  gap: 24px;
 
22
  --space-6: 32px;
23
  --space-7: 48px;
24
  --space-8: 64px;
25
+ --font-size-base: 15px;
26
+ --font-size-ui: 11px;
27
+ --font-size-title: 32px;
28
+ --font-size-section: 18px;
29
  font-family: "Inter", system-ui, sans-serif;
30
  background: var(--bg-base);
31
  color: var(--text-primary);
32
  }
33
 
34
+ [data-font-size="small"] {
35
+ --font-size-base: 13px;
36
+ --font-size-ui: 10px;
37
+ --font-size-title: 28px;
38
+ --font-size-section: 16px;
39
+ }
40
+
41
+ [data-font-size="medium"] {
42
+ --font-size-base: 15px;
43
+ --font-size-ui: 11px;
44
+ --font-size-title: 32px;
45
+ --font-size-section: 18px;
46
+ }
47
+
48
+ [data-font-size="large"] {
49
+ --font-size-base: 18px;
50
+ --font-size-ui: 13px;
51
+ --font-size-title: 38px;
52
+ --font-size-section: 22px;
53
+ }
54
+
55
+ [data-font-size="extra-large"] {
56
+ --font-size-base: 22px;
57
+ --font-size-ui: 15px;
58
+ --font-size-title: 46px;
59
+ --font-size-section: 28px;
60
+ }
61
+
62
  [data-theme="light"] {
63
  color-scheme: light;
64
  --bg-base: #f5f4f0;
 
149
  cursor: pointer;
150
  text-transform: uppercase;
151
  letter-spacing: 0.14em;
152
+ font-size: var(--font-size-ui);
153
  }
154
 
155
  .button-primary {
 
193
 
194
  .field-label {
195
  margin-bottom: 8px;
196
+ font-size: var(--font-size-ui);
197
  color: var(--text-secondary);
198
  }
199
 
 
292
 
293
  .nav-memo-title {
294
  font-family: "Barlow Condensed", "Oswald", sans-serif;
295
+ font-size: var(--font-size-base);
296
  text-transform: uppercase;
297
  letter-spacing: 0.05em;
298
  color: var(--text-secondary);
 
307
  display: flex;
308
  justify-content: center;
309
  align-items: center;
310
+ font-size: var(--font-size-base);
311
  padding: 0 20px;
312
  overflow: hidden;
313
  white-space: nowrap;
 
369
  .search-box input {
370
  height: 32px;
371
  padding: 0 12px;
372
+ font-size: var(--font-size-base);
373
  width: 180px;
374
  background: var(--bg-surface);
375
  border-color: var(--border-subtle);
 
450
  border: 0;
451
  background: transparent;
452
  padding: 0;
453
+ font-size: var(--font-size-title);
454
  font-family: "Barlow Condensed", "Oswald", sans-serif;
455
  text-transform: uppercase;
456
  letter-spacing: 0.1em;
 
479
  .section-title {
480
  margin: 0;
481
  font-family: "Barlow Condensed", "Oswald", sans-serif;
482
+ font-size: var(--font-size-section);
483
  letter-spacing: 0.08em;
484
  }
485
 
 
552
  padding: 0;
553
  text-align: left;
554
  color: var(--text-primary);
555
+ font-size: var(--font-size-base);
556
  font-weight: 500;
557
  cursor: pointer;
558
  }
 
586
  }
587
 
588
  .answer-body {
589
+ font-size: var(--font-size-base);
590
  line-height: 1.8;
591
  }
592
 
 
642
  position: relative;
643
  display: block;
644
  padding: 8px 12px;
645
+ font-size: var(--font-size-ui);
646
  text-transform: uppercase;
647
  letter-spacing: 0.14em;
648
  color: var(--text-secondary);
 
685
  pointer-events: none;
686
  }
687
 
688
+ .settings-menu-container {
689
+ position: relative;
690
+ }
691
+
692
+ .settings-dropdown {
693
+ position: absolute;
694
+ top: calc(100% + 8px);
695
+ right: 0;
696
+ width: 240px;
697
+ background: var(--bg-surface);
698
+ border: 1px solid var(--border-default);
699
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
700
+ padding: 16px;
701
+ z-index: 100;
702
+ display: flex;
703
+ flex-direction: column;
704
+ gap: 16px;
705
+ }
706
+
707
+ .settings-section {
708
+ display: flex;
709
+ flex-direction: column;
710
+ gap: 8px;
711
+ }
712
+
713
+ .settings-label {
714
+ font-size: 10px;
715
+ text-transform: uppercase;
716
+ letter-spacing: 0.1em;
717
+ color: var(--text-secondary);
718
+ }
719
+
720
+ .settings-row {
721
+ display: flex;
722
+ gap: 4px;
723
+ }
724
+
725
+ .settings-row button {
726
+ flex: 1;
727
+ padding: 6px;
728
+ font-size: 10px;
729
+ }
730
+
731
+ .settings-row button.active {
732
+ background: var(--accent);
733
+ color: #fff;
734
+ border-color: transparent;
735
+ }
736
+
737
+ .logout-menu-item {
738
+ margin-top: 8px;
739
+ padding-top: 16px;
740
+ border-top: 1px solid var(--border-subtle);
741
+ }
742
+
743
  .entry-detail-shell {
744
  display: grid;
745
  gap: 24px;