2
2
@tailwind components;
3
3
@tailwind utilities;
4
4
5
-
6
5
@layer base {
7
6
: root {
8
7
--background : 40 14.3% 95.9% ;
74
73
.dark .bitcoin {
75
74
--primary : 0 0% 100% ;
76
75
--icon : 0 0% 100% ;
77
-
78
76
}
79
77
}
80
78
@@ -126,22 +124,42 @@ a[aria-label="Hiro Platform"] {
126
124
padding : 0 ;
127
125
}
128
126
129
-
130
127
a [aria-label = "Hiro Platform" ] div : hover {
131
128
background-color : hsla (var (--muted-foreground ) / 0.1 );
132
129
}
133
130
134
- h1 , h2 , h3 , h4 , h5 , h6 , code , button , .step {
131
+ h1 ,
132
+ h2 ,
133
+ h3 ,
134
+ h4 ,
135
+ h5 ,
136
+ h6 ,
137
+ code ,
138
+ button ,
139
+ .step {
135
140
font-family : var (--font-aeonikFono ), sans-serif;
136
141
}
137
142
138
- a , h1 a , h2 a , h3 a , h4 a , h5 a , h6 a , option {
143
+ a ,
144
+ h1 a ,
145
+ h2 a ,
146
+ h3 a ,
147
+ h4 a ,
148
+ h5 a ,
149
+ h6 a ,
150
+ option {
139
151
font-family : var (--font-aeonikFono ), sans-serif;
140
152
}
141
153
142
154
/* TODO: div.prose is for targeting the <Callout> title, need to fix this approach */
143
155
/* TODO: div.prose .flex-1 span is for targeting the text inside the <Property> component */
144
- a , p , li , table , input , div .prose .w-0 , div .prose .flex-1 span {
156
+ a ,
157
+ p ,
158
+ li ,
159
+ table ,
160
+ input ,
161
+ div .prose .w-0 ,
162
+ div .prose .flex-1 span {
145
163
font-family : var (--font-inter ), sans-serif;
146
164
}
147
165
179
197
line-height : 1.75 ;
180
198
}
181
199
182
- body > div .guides > div > article > div .prose > figure : nth-child (37 ) > div > div {
200
+ body
201
+ > div .guides
202
+ > div
203
+ > article
204
+ > div .prose
205
+ > figure : nth-child (37 )
206
+ > div
207
+ > div {
183
208
background : hsl (var (--code ));
184
209
}
185
210
@@ -244,21 +269,32 @@ nav a[href="/guides"] {
244
269
text-decoration : underline;
245
270
}
246
271
247
- [data-radix-scroll-area-viewport ] .flex .flex-col .gap-8 .pb-10 .pt-4 .max-md\:px-4 .md\:pr-3 .md\:pt-10 {
248
- gap : 0 ;
272
+ [data-radix-scroll-area-viewport ]
273
+ .flex .flex-col .gap-8 .pb-10 .pt-4 .max-md\:px-4 .md\:pr-3 .md\:pt-10 {
274
+ gap : 0 ;
249
275
}
250
276
251
277
/* Target the header toggle */
252
278
253
- body > div > header > nav > div .rounded-md .border .bg-background .p-1 .text-sm .text-muted-foreground .max-md\:absolute .max-md\:left-\[50\%\] .max-md\:translate-x-\[-50\%\] > a .rounded-md .px-2 .py-1 .transition-colors .hover\:text-accent-foreground .bg-background .text-accent-foreground {
279
+ body
280
+ > div
281
+ > header
282
+ > nav
283
+ > div .rounded-md .border .bg-background .p-1 .text-sm .text-muted-foreground .max-md\:absolute .max-md\:left-\[50\%\] .max-md\:translate-x-\[-50\%\]
284
+ > a .rounded-md .px-2 .py-1 .transition-colors .hover\:text-accent-foreground .bg-background .text-accent-foreground {
254
285
background-color : hsl (var (--inverted ));
255
286
color : hsl (var (--background ));
256
287
}
257
288
258
289
/* Target the search component */
259
290
260
- body > div > header > nav > div .flex .flex-1 .flex-row .items-center .justify-end .md\:gap-2 > button .inline-flex .w-full .max-w-\[240px\] .items-center .gap-2 .rounded-full .border .bg-secondary\/ 50.p-1\. 5.text-sm .text-muted-foreground .transition-colors .hover\:bg-accent .hover\:text-accent-foreground .max-md\:hidden {
261
- background-color : hsl (var (--background ))
291
+ body
292
+ > div
293
+ > header
294
+ > nav
295
+ > div .flex .flex-1 .flex-row .items-center .justify-end .md\:gap-2
296
+ > button .inline-flex .w-full .max-w-\[240px\] .items-center .gap-2 .rounded-full .border .bg-secondary\/ 50.p-1\. 5.text-sm .text-muted-foreground .transition-colors .hover\:bg-accent .hover\:text-accent-foreground .max-md\:hidden {
297
+ background-color : hsl (var (--background ));
262
298
}
263
299
264
300
p .first\:mt-0 {
@@ -280,7 +316,9 @@ p.first\:mt-0:before {
280
316
margin : 0 ;
281
317
}
282
318
283
- div .not-prose , div .prose-no-margin , div [role = "tablist" ] {
319
+ div .not-prose ,
320
+ div .prose-no-margin ,
321
+ div [role = "tablist" ] {
284
322
background : hsl (var (--background ));
285
323
}
286
324
@@ -295,7 +333,8 @@ form.not-prose.flex.flex-col.gap-4.rounded-lg.border.bg-card.p-4 {
295
333
}
296
334
297
335
/* overrides the background of APIInfo and adjusts sticky header on scroll */
298
- div .prose-no-margin .sticky .top-24 .z-\[2\] .flex .flex-row .items-center .gap-2 .rounded-lg .border .bg-card .p-3 .md\:top-10 {
336
+ div .prose-no-margin
337
+ .sticky .top-24 .z-\[2\] .flex .flex-row .items-center .gap-2 .rounded-lg .border .bg-card .p-3 .md\:top-10 {
299
338
background : hsl (var (--background ));
300
339
top : 4.5rem ;
301
340
}
@@ -310,21 +349,24 @@ div.prose-no-margin .sticky.top-24.z-\[2\].flex.flex-row.items-center.gap-2.roun
310
349
}
311
350
312
351
/* Style for the POST span */
313
- .sticky .top-24 .z-\[2\] .flex .flex-row .items-center .gap-2 .rounded-lg .border .bg-card .p-3 .md\:top-10 > span : first-child {
352
+ .sticky .top-24 .z-\[2\] .flex .flex-row .items-center .gap-2 .rounded-lg .border .bg-card .p-3 .md\:top-10
353
+ > span : first-child {
314
354
position : absolute;
315
355
top : 0.75rem ;
316
356
left : 0.75rem ;
317
357
}
318
358
319
359
/* Style for the button */
320
- .sticky .top-24 .z-\[2\] .flex .flex-row .items-center .gap-2 .rounded-lg .border .bg-card .p-3 .md\:top-10 > button {
360
+ .sticky .top-24 .z-\[2\] .flex .flex-row .items-center .gap-2 .rounded-lg .border .bg-card .p-3 .md\:top-10
361
+ > button {
321
362
position : absolute;
322
363
top : 0.75rem ;
323
364
right : 0.75rem ;
324
365
}
325
366
326
367
/* Target the inner div containing the endpoint spans */
327
- .sticky .top-24 .z-\[2\] .flex .flex-row .items-center .gap-2 .rounded-lg .border .bg-card .p-3 .md\:top-10 > div {
368
+ .sticky .top-24 .z-\[2\] .flex .flex-row .items-center .gap-2 .rounded-lg .border .bg-card .p-3 .md\:top-10
369
+ > div {
328
370
display : flex;
329
371
flex-wrap : wrap;
330
372
width : 100% ;
@@ -340,7 +382,10 @@ div.prose div.footer.not-prose {
340
382
font-family : var (--font-aeonikFono ), sans-serif !important ;
341
383
}
342
384
343
- .steps > div : nth-child (2 ) > figure : nth-child (3 ) > div .flex .flex-row .items-center .gap-2 .border-b .bg-muted .px-4 .py-1\. 5 {
385
+ .steps
386
+ > div : nth-child (2 )
387
+ > figure : nth-child (3 )
388
+ > div .flex .flex-row .items-center .gap-2 .border-b .bg-muted .px-4 .py-1\. 5 {
344
389
background : hsl (var (--background )) !important ;
345
390
}
346
391
@@ -355,7 +400,7 @@ div.api-example div.max-xl\:hidden > div:nth-child(1) {
355
400
background-color : hsl (var (--inverted ));
356
401
}
357
402
358
- .prose : where (a ): not (: where ([class ~= "not-prose" ], [class ~= "not-prose" ] * )) {
403
+ .prose : where (a ): not (: where ([class ~= "not-prose" ], [class ~= "not-prose" ] * )) {
359
404
text-decoration-color : var (--secondary ) !important ;
360
405
}
361
406
@@ -373,8 +418,8 @@ div.api-example div.max-xl\:hidden > div:nth-child(1) {
373
418
}
374
419
375
420
.size-10 {
376
- width : 2.5rem /* 20px */ ;
377
- height : 2.5rem /* 20px */ ;
421
+ width : 2.5rem /* 20px */ ;
422
+ height : 2.5rem /* 20px */ ;
378
423
}
379
424
380
425
/* Add a deprecated strike through to sidebar links */
@@ -394,4 +439,4 @@ a[href="/stacks/api/fees/fee-rate"] {
394
439
395
440
div .divide-y .divide-border .overflow-hidden .rounded-lg .border .bg-card {
396
441
background : hsl (var (--background ));
397
- }
442
+ }
0 commit comments