@@ -24,35 +24,35 @@ summary::-webkit-details-marker {
24
24
# sidepanel {
25
25
@apply shrink-0 box-border lg:h-screen lg:sticky lg:top-0 lg:left-0 lg:overflow-y-auto lg:overscroll-y-contain;
26
26
scrollbar-width : thin;
27
-
27
+
28
28
label , a , h2 , h3 {
29
29
@apply py-1.5 pr-4 pl-2;
30
30
}
31
-
31
+
32
32
h2 {
33
33
@apply flex items-center gap-2.5 mt-2 text-xl font-bold;
34
34
}
35
-
35
+
36
36
h3 {
37
37
@apply font-bold;
38
38
}
39
-
39
+
40
40
ul {
41
41
@apply list-none;
42
42
}
43
-
43
+
44
44
li {
45
45
@apply block;
46
46
}
47
-
47
+
48
48
a {
49
49
@apply flex items-center gap-2 leading-none relative rounded-lg;
50
50
}
51
-
51
+
52
52
li > a > span {
53
53
@apply block w-full overflow-hidden whitespace-nowrap text-ellipsis text-sm;
54
54
}
55
-
55
+
56
56
li > a : has (span ) {
57
57
@apply py-1;
58
58
}
@@ -68,7 +68,7 @@ summary::-webkit-details-marker {
68
68
69
69
.anchorable {
70
70
@apply relative;
71
-
71
+
72
72
& : hover .anchor {
73
73
@apply block;
74
74
}
@@ -77,31 +77,31 @@ summary::-webkit-details-marker {
77
77
.deprecated {
78
78
> div : first-child {
79
79
@apply py-1 text-red-500 flex gap-1 items-center;
80
-
80
+
81
81
> span {
82
82
@apply font-semibold leading-6;
83
83
}
84
84
}
85
-
85
+
86
86
> div : nth-child (2 ) {
87
87
@apply ml-1 pl-2 border-l-4 border-red-300;
88
88
}
89
89
}
90
90
91
91
.symbolSubtitle {
92
92
@apply space-y-0.5 text-sm leading-4;
93
-
93
+
94
94
.type {
95
95
@apply text-stone-400 italic;
96
96
}
97
97
}
98
98
99
99
.docEntry {
100
100
@apply text-sm;
101
-
101
+
102
102
.docEntryHeader {
103
103
@apply flex justify-between items-start;
104
-
104
+
105
105
> span {
106
106
@apply flex items-center break-words gap-2;
107
107
}
@@ -116,34 +116,34 @@ summary::-webkit-details-marker {
116
116
117
117
.namespaceSection {
118
118
@apply grid grid-cols-1 lg:grid-cols-3 gap-8;
119
-
119
+
120
120
.namespaceItem {
121
121
@apply space-y-2;
122
-
122
+
123
123
& [aria-label = "deprecated" ] {
124
124
@apply opacity-60;
125
-
125
+
126
126
.namespaceItemTitle a {
127
127
@apply line-through decoration-2 decoration-stone-500/70 text-stone-500;
128
128
}
129
129
}
130
-
130
+
131
131
.namespaceItemTitle {
132
132
@apply flex gap-2 items-center;
133
-
133
+
134
134
> div : last-child {
135
135
@apply flex justify-between gap-4 flex-1 min-w-0 items-end overflow-hidden;
136
-
136
+
137
137
> a {
138
138
@apply leading-tight truncate;
139
139
}
140
-
140
+
141
141
> div {
142
142
@apply text-xs italic lg:mr-4 text-stone-400 truncate;
143
143
}
144
144
}
145
145
}
146
-
146
+
147
147
.namespaceItemContent {
148
148
@apply py-1 text-sm leading-5 text-stone-600 markdown_border;
149
149
@apply ml-2 !important ;
@@ -153,13 +153,13 @@ summary::-webkit-details-marker {
153
153
154
154
.symbolGroup {
155
155
@apply space-y-12;
156
-
156
+
157
157
article {
158
158
@apply space-y-5;
159
-
159
+
160
160
> div : first-child {
161
161
@apply flex justify-between items-start;
162
-
162
+
163
163
> div : first-child {
164
164
@apply font-medium space-y-1;
165
165
}
@@ -169,11 +169,11 @@ summary::-webkit-details-marker {
169
169
170
170
.docNodeKindIcon {
171
171
@apply flex justify-end w-[2.125rem ] shrink-0;
172
-
172
+
173
173
div {
174
174
@apply rounded-full size-5 font-medium text-xs leading-5 text-center align-middle shrink-0 select-none font-mono;
175
175
}
176
-
176
+
177
177
> * + * {
178
178
@apply -ml-1.5;
179
179
}
@@ -182,31 +182,31 @@ summary::-webkit-details-marker {
182
182
.example details {
183
183
summary {
184
184
@apply list-none flex items-center gap-2 py-2 rounded-lg w-full leading-6 cursor-pointer;
185
-
185
+
186
186
> div : first-child {
187
187
@apply text-stone-600 select-none;
188
188
}
189
189
}
190
-
190
+
191
191
& [open ] summary > div : first-child {
192
192
@apply rotate-90;
193
193
}
194
194
}
195
195
196
196
.tocable {
197
197
@apply flex max-lg:flex-col-reverse gap-6;
198
-
198
+
199
199
.toc {
200
200
@apply flex-none max-w-52 text-sm max-lg:hidden sticky top-0 py-4 max-h-screen box-border;
201
-
201
+
202
202
> ul {
203
203
@apply space-y-2 block overflow-y-auto h-full;
204
-
204
+
205
205
ul {
206
206
@apply ml-4 space-y-2;
207
207
}
208
208
}
209
-
209
+
210
210
a {
211
211
@apply hover:underline block overflow-x-hidden whitespace-nowrap text-ellipsis;
212
212
}
@@ -215,41 +215,41 @@ summary::-webkit-details-marker {
215
215
216
216
.usage {
217
217
@apply px-6 py-5 mb-4 border max-md:border-x-0 md:rounded-lg bg-stone-50 border-stone-200;
218
-
218
+
219
219
nav {
220
220
@apply flex items-center flex-row gap-2 mb-3 font-semibold;
221
-
221
+
222
222
details {
223
223
> summary {
224
224
@apply flex gap-1 select-none cursor-pointer rounded border border-gray-300 py-2 px-3;
225
225
}
226
-
226
+
227
227
> div {
228
228
@apply md:relative;
229
-
229
+
230
230
> div {
231
231
@apply absolute max-md:inset-x-0 mt-1.5 p-2 block z-30 md:w-72 bg-white md:rounded border max-md:border-x-0 border-gray-300;
232
-
232
+
233
233
label {
234
234
@apply flex items-center justify-between cursor-pointer select-none px-2 py-1 leading-normal rounded-sm hover:bg-gray-50;
235
235
}
236
236
}
237
237
}
238
238
}
239
239
}
240
-
240
+
241
241
pre .highlight {
242
242
@apply border border-gray-300 max-md:border-x-0;
243
243
}
244
244
}
245
245
246
246
.breadcrumbs {
247
- @apply whitespace-nowrap inline-flex gap-1 items-center;
248
-
247
+ @apply break-all inline-flex gap-1 items-center;
248
+
249
249
> li , > ul {
250
250
@apply py-1 px-2;
251
251
}
252
-
252
+
253
253
a {
254
254
@apply text-breadcrumb underline decoration-[1.5px ] decoration-breadcrumb/50 underline-offset-4 hover:decoration-breadcrumb;
255
255
}
@@ -270,11 +270,11 @@ summary::-webkit-details-marker {
270
270
271
271
.markdown_summary {
272
272
@apply inline text-stone-600;
273
-
273
+
274
274
p {
275
275
@apply inline-block;
276
276
}
277
-
277
+
278
278
: not (pre ) > code {
279
279
@apply font-mono text-sm py-0.5 px-1 rounded bg-stone-200;
280
280
}
@@ -332,7 +332,7 @@ summary::-webkit-details-marker {
332
332
: not (pre ) > code {
333
333
@apply font-mono text-sm py-0.5 px-1 rounded bg-stone-200;
334
334
}
335
-
335
+
336
336
h1 , h2 , h3 , h4 , h5 , h6 {
337
337
& > code {
338
338
font-size : inherit !important ;
@@ -422,7 +422,7 @@ summary::-webkit-details-marker {
422
422
423
423
.markdown .highlight {
424
424
@apply relative;
425
-
425
+
426
426
.lineNumbers {
427
427
@apply border-r-2 border-stone-300 pr-1 text-right flex-none;
428
428
}
0 commit comments