|
1 | 1 | :root { |
2 | | - font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; |
3 | | - line-height: 1.5; |
4 | | - font-weight: 400; |
| 2 | + font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; |
| 3 | + line-height: 1.5; |
| 4 | + font-weight: 400; |
5 | 5 |
|
6 | | - color-scheme: light dark; |
7 | | - color: rgba(255, 255, 255, 0.87); |
8 | | - background-color: #242424; |
| 6 | + color-scheme: light dark; |
| 7 | + color: rgba(255, 255, 255, 0.87); |
| 8 | + background-color: #242424; |
9 | 9 |
|
10 | | - font-synthesis: none; |
11 | | - text-rendering: optimizeLegibility; |
12 | | - -webkit-font-smoothing: antialiased; |
13 | | - -moz-osx-font-smoothing: grayscale; |
| 10 | + font-synthesis: none; |
| 11 | + text-rendering: optimizeLegibility; |
| 12 | + -webkit-font-smoothing: antialiased; |
| 13 | + -moz-osx-font-smoothing: grayscale; |
14 | 14 | } |
15 | 15 |
|
16 | 16 | a { |
17 | | - font-weight: 500; |
18 | | - color: #646cff; |
19 | | - text-decoration: inherit; |
| 17 | + font-weight: 500; |
| 18 | + color: #646cff; |
| 19 | + text-decoration: inherit; |
20 | 20 | } |
21 | 21 | a:hover { |
22 | | - color: #535bf2; |
| 22 | + color: #535bf2; |
23 | 23 | } |
24 | 24 |
|
25 | 25 | body { |
26 | | - margin: 0; |
27 | | - display: flex; |
28 | | - place-items: center; |
29 | | - min-width: 320px; |
30 | | - min-height: 100vh; |
| 26 | + margin: 0; |
| 27 | + display: flex; |
| 28 | + place-items: center; |
| 29 | + min-width: 320px; |
| 30 | + min-height: 100vh; |
31 | 31 | } |
32 | 32 |
|
33 | 33 | h1 { |
34 | | - font-size: 3.2em; |
35 | | - line-height: 1.1; |
| 34 | + font-size: 3.2em; |
| 35 | + line-height: 1.1; |
36 | 36 | } |
37 | 37 |
|
38 | 38 | button { |
39 | | - border-radius: 8px; |
40 | | - border: 1px solid transparent; |
41 | | - padding: 0.6em 1.2em; |
42 | | - font-size: 1em; |
43 | | - font-weight: 500; |
44 | | - font-family: inherit; |
45 | | - background-color: #1a1a1a; |
46 | | - cursor: pointer; |
47 | | - transition: border-color 0.25s; |
| 39 | + border-radius: 8px; |
| 40 | + border: 1px solid transparent; |
| 41 | + padding: 0.6em 1.2em; |
| 42 | + font-size: 1em; |
| 43 | + font-weight: 500; |
| 44 | + font-family: inherit; |
| 45 | + background-color: #1a1a1a; |
| 46 | + cursor: pointer; |
| 47 | + transition: border-color 0.25s; |
48 | 48 | } |
49 | 49 | button:hover { |
50 | | - border-color: #646cff; |
| 50 | + border-color: #646cff; |
51 | 51 | } |
52 | 52 | button:focus, |
53 | 53 | button:focus-visible { |
54 | | - outline: 4px auto -webkit-focus-ring-color; |
| 54 | + outline: 4px auto -webkit-focus-ring-color; |
55 | 55 | } |
56 | 56 |
|
57 | 57 | .card { |
58 | | - padding: 2em; |
| 58 | + padding: 2em; |
59 | 59 | } |
60 | 60 |
|
61 | 61 | #app { |
62 | | - max-width: 1280px; |
63 | | - margin: 0 auto; |
64 | | - padding: 2rem; |
65 | | - text-align: center; |
| 62 | + max-width: 1280px; |
| 63 | + margin: 0 auto; |
| 64 | + padding: 2rem; |
| 65 | + text-align: center; |
66 | 66 | } |
67 | 67 |
|
68 | 68 | @media (prefers-color-scheme: light) { |
69 | | - :root { |
70 | | - color: #213547; |
71 | | - background-color: #ffffff; |
72 | | - } |
73 | | - a:hover { |
74 | | - color: #747bff; |
75 | | - } |
76 | | - button { |
77 | | - background-color: #f9f9f9; |
78 | | - } |
| 69 | + :root { |
| 70 | + color: #213547; |
| 71 | + background-color: #ffffff; |
| 72 | + } |
| 73 | + a:hover { |
| 74 | + color: #747bff; |
| 75 | + } |
| 76 | + button { |
| 77 | + background-color: #f9f9f9; |
| 78 | + } |
79 | 79 | } |
0 commit comments