|
2 | 2 | 1. Global Styles |
3 | 3 | ========================== */ |
4 | 4 | :root { |
5 | | - --vp-c-brand-1: red; |
6 | | - --vp-c-brand-2: red; |
7 | | - --vp-c-brand-3: #d8232a; |
8 | | - --vp-c-text-4: #0456a0; |
9 | | - --vp-c-text-5: #6f42c1; |
10 | | - --vp-c-text-6: #008b7f; |
| 5 | + --vp-c-brand-1: red; |
| 6 | + --vp-c-brand-2: red; |
| 7 | + --vp-c-brand-3: #d8232a; |
| 8 | + --vp-c-text-4: #0456a0; |
| 9 | + --vp-c-text-5: #6f42c1; |
| 10 | + --vp-c-text-6: #008b7f; |
11 | 11 | } |
12 | 12 |
|
13 | 13 | .dark { |
14 | | - --vp-c-text-4: #9ecbff; |
15 | | - --vp-c-text-5: #b392f0; |
16 | | - --vp-c-text-6: #00e8c6; |
| 14 | + --vp-c-text-4: #9ecbff; |
| 15 | + --vp-c-text-5: #b392f0; |
| 16 | + --vp-c-text-6: #00e8c6; |
17 | 17 | } |
18 | 18 |
|
19 | 19 | * { |
20 | | - box-sizing: border-box; |
| 20 | + box-sizing: border-box; |
21 | 21 | } |
22 | 22 |
|
23 | 23 | figcaption { |
24 | | - font-size: 0.8rem; |
25 | | - color: var(--vp-c-text-2); |
| 24 | + font-size: 0.8rem; |
| 25 | + color: var(--vp-c-text-2); |
26 | 26 | } |
27 | 27 |
|
28 | 28 | .VPLink:hover { |
29 | | - background-color: var(--vp-button-alt-hover-bg); |
30 | | - border-color: transparent !important; |
| 29 | + background-color: var(--vp-button-alt-hover-bg); |
| 30 | + border-color: transparent !important; |
31 | 31 | } |
32 | 32 |
|
33 | 33 | /* ========================== |
34 | 34 | 2. Layout Styles |
35 | 35 | ========================== */ |
36 | 36 |
|
37 | 37 | .home-status-container { |
38 | | - width: 100%; |
39 | | - border-top: 1px solid var(--vp-c-divider); |
40 | | - padding-top: 32px; |
41 | | - margin-top: 24px; |
| 38 | + width: 100%; |
| 39 | + border-top: 1px solid var(--vp-c-divider); |
| 40 | + padding-top: 32px; |
| 41 | + margin-top: 24px; |
42 | 42 | } |
43 | 43 |
|
44 | 44 | .home-status-container a { |
45 | | - text-decoration: none; |
46 | | - color: var(--vp-button-brand-bg); |
47 | | - font-weight: normal; |
| 45 | + text-decoration: none; |
| 46 | + color: var(--vp-button-brand-bg); |
| 47 | + font-weight: normal; |
48 | 48 | } |
49 | 49 |
|
50 | 50 | .home-container { |
51 | | - width: 100%; |
52 | | - margin-top: 48px; |
53 | | - display: flex; |
54 | | - flex-direction: column; |
55 | | - gap: 32px; |
| 51 | + width: 100%; |
| 52 | + margin-top: 48px; |
| 53 | + display: flex; |
| 54 | + flex-direction: column; |
| 55 | + gap: 32px; |
56 | 56 | } |
57 | 57 |
|
58 | 58 | .releases-container { |
59 | | - flex: 2; |
| 59 | + flex: 2; |
60 | 60 | } |
61 | 61 |
|
62 | 62 | .releases-container-cols { |
63 | | - display: flex; |
64 | | - flex-direction: column; |
65 | | - gap: 32px; |
| 63 | + display: flex; |
| 64 | + flex-direction: column; |
| 65 | + gap: 32px; |
66 | 66 | } |
67 | 67 |
|
68 | 68 | .announcements-container { |
69 | | - flex: 1; |
| 69 | + flex: 1; |
70 | 70 | } |
71 | 71 |
|
72 | 72 | .home-container-col { |
73 | | - width: 100%; |
| 73 | + width: 100%; |
74 | 74 | } |
75 | 75 |
|
76 | 76 | #home-container-h2 { |
77 | | - margin: 0px; |
| 77 | + margin: 0px; |
78 | 78 | } |
79 | 79 |
|
80 | 80 | .home-container-col h4 { |
81 | | - margin-bottom: 12px; |
| 81 | + margin-bottom: 12px; |
82 | 82 | } |
83 | 83 |
|
84 | 84 | .home-container-col span { |
85 | | - display: block; |
86 | | - margin-bottom: 4px; |
| 85 | + display: block; |
| 86 | + margin-bottom: 4px; |
87 | 87 | } |
88 | 88 |
|
89 | 89 | .home-container-col a { |
90 | | - display: block; |
91 | | - text-decoration: none; |
92 | | - padding: 4px 0px; |
93 | | - color: var(--vp-button-brand-bg); |
94 | | - font-weight: normal; |
| 90 | + display: block; |
| 91 | + text-decoration: none; |
| 92 | + padding: 4px 0px; |
| 93 | + color: var(--vp-button-brand-bg); |
| 94 | + font-weight: normal; |
95 | 95 | } |
96 | 96 |
|
97 | 97 | @media (min-width: 768px) { |
98 | | - .releases-container-cols { |
99 | | - flex-direction: row; |
100 | | - } |
| 98 | + .releases-container-cols { |
| 99 | + flex-direction: row; |
| 100 | + } |
101 | 101 | } |
102 | 102 |
|
103 | 103 | @media (min-width: 960px) { |
104 | | - .home-container { |
105 | | - flex-direction: row; |
106 | | - } |
| 104 | + .home-container { |
| 105 | + flex-direction: row; |
| 106 | + } |
107 | 107 | } |
108 | 108 |
|
109 | 109 | .status-container { |
110 | | - width: 100%; |
| 110 | + width: 100%; |
111 | 111 | } |
112 | 112 |
|
113 | 113 | .status-warning { |
114 | | - background-color: var(--vp-custom-block-warning-bg); |
115 | | - color: var(--vp-custom-block-warning-text); |
116 | | - width: 100%; |
| 114 | + background-color: var(--vp-custom-block-warning-bg); |
| 115 | + color: var(--vp-custom-block-warning-text); |
| 116 | + width: 100%; |
117 | 117 | } |
118 | 118 |
|
119 | 119 | .status-warning:hover { |
120 | | - background-color: var(--vp-c-yellow-3); |
121 | | - color: white; |
| 120 | + background-color: var(--vp-c-yellow-3); |
| 121 | + color: white; |
122 | 122 | } |
123 | 123 |
|
124 | 124 | .status-danger { |
125 | | - background-color: var(--vp-custom-block-danger-bg); |
126 | | - color: var(--vp-custom-block-warning-text); |
127 | | - width: 100%; |
| 125 | + background-color: var(--vp-custom-block-danger-bg); |
| 126 | + color: var(--vp-custom-block-warning-text); |
| 127 | + width: 100%; |
128 | 128 | } |
129 | 129 |
|
130 | 130 | .status-danger:hover { |
131 | | - background-color: var(--vp-c-red-2); |
132 | | - color: white; |
| 131 | + background-color: var(--vp-c-red-2); |
| 132 | + color: white; |
133 | 133 | } |
134 | 134 |
|
135 | 135 | .status-content { |
136 | | - padding: 10px 30px; |
137 | | - width: 100%; |
138 | | - height: 64px; |
139 | | - display: flex; |
140 | | - align-items: center; |
| 136 | + padding: 10px 30px; |
| 137 | + width: 100%; |
| 138 | + height: 64px; |
| 139 | + display: flex; |
| 140 | + align-items: center; |
141 | 141 | } |
142 | 142 |
|
143 | 143 | .status-content-title { |
144 | | - font-weight: bold; |
| 144 | + font-weight: bold; |
145 | 145 | } |
146 | 146 |
|
147 | 147 | .status-content-text { |
148 | | - font-weight: normal; |
| 148 | + font-weight: normal; |
149 | 149 | } |
150 | 150 |
|
151 | 151 | @media (min-width: 960px) { |
152 | | - .status-danger, |
153 | | - .status-warning { |
154 | | - margin-top: 64px; |
155 | | - } |
| 152 | + .status-danger, |
| 153 | + .status-warning { |
| 154 | + margin-top: 64px; |
| 155 | + } |
156 | 156 |
|
157 | | - .item.grid-4 { |
158 | | - width: calc(100% / 5) !important; |
159 | | - } |
| 157 | + .item.grid-4 { |
| 158 | + width: calc(100% / 5) !important; |
| 159 | + } |
160 | 160 | } |
161 | 161 |
|
162 | 162 | @media (min-width: 1456px) { |
163 | | - .status-content { |
164 | | - max-width: 1376px; |
165 | | - margin: auto; |
166 | | - padding: 0; |
167 | | - } |
| 163 | + .status-content { |
| 164 | + max-width: 1376px; |
| 165 | + margin: auto; |
| 166 | + padding: 0; |
| 167 | + } |
168 | 168 | } |
169 | 169 |
|
170 | 170 | /* ========================== |
171 | 171 | 3. Component Styles |
172 | 172 | ========================== */ |
173 | 173 |
|
174 | 174 | .api-block { |
175 | | - background-color: var(--vp-code-block-bg); |
176 | | - border-radius: 8px; |
177 | | - display: flex; |
178 | | - align-items: center; |
179 | | - padding: 20px 20px; |
| 175 | + background-color: var(--vp-code-block-bg); |
| 176 | + border-radius: 8px; |
| 177 | + display: flex; |
| 178 | + align-items: center; |
| 179 | + padding: 20px 20px; |
180 | 180 | } |
181 | 181 |
|
182 | 182 | .api-block pre { |
183 | | - background-color: transparent; |
| 183 | + background-color: transparent; |
184 | 184 | } |
185 | 185 |
|
186 | 186 | .method-button { |
187 | | - display: inline-block; |
188 | | - padding: 2px 12px; |
189 | | - border-radius: 30px; |
190 | | - background-color: var(--vp-c-brand-1); |
191 | | - color: white; |
192 | | - text-decoration: none; |
193 | | - font-weight: bold; |
194 | | - pointer-events: none; |
| 187 | + display: inline-block; |
| 188 | + padding: 2px 12px; |
| 189 | + border-radius: 30px; |
| 190 | + background-color: var(--vp-c-brand-1); |
| 191 | + color: white; |
| 192 | + text-decoration: none; |
| 193 | + font-weight: bold; |
| 194 | + pointer-events: none; |
195 | 195 | } |
196 | 196 |
|
197 | 197 | /* ========================== |
198 | 198 | 4. Utility Classes |
199 | 199 | ========================== */ |
200 | 200 | #link-with-icon { |
201 | | - text-decoration: none; |
202 | | - color: var(--vp-c-text-1); |
203 | | - display: flex; |
| 201 | + text-decoration: none; |
| 202 | + color: var(--vp-c-text-1); |
| 203 | + display: flex; |
204 | 204 | } |
205 | 205 |
|
206 | 206 | #link-with-icon:hover { |
207 | | - color: #d8232a; |
| 207 | + color: #d8232a; |
208 | 208 | } |
0 commit comments