4
4
@apply bg-[# 151c26 ];
5
5
}
6
6
7
- body ,
8
- .nextra-nav-container-blur ,
9
- .nextra-sidebar-footer ,
10
- .nextra-toc-footer {
11
- @apply bg-transparent;
12
- }
13
-
14
7
pre {
15
- @apply mt-4 mb -4;
8
+ @apply my -4;
16
9
}
17
10
18
- . nextra-content ,
19
- . nextra-content .x\:w-full {
11
+ article main ,
12
+ article main .x\:w-full {
20
13
font-size : 1rem ;
21
14
}
22
15
23
- .nextra-content h2 ,
24
- .nextra-content .x\:w-full h2 {
25
- font-size : 1.7rem !important ;
26
- @apply !bor der- none;
27
- }
28
-
29
- .nextra-content h2 + p ,
30
- .nextra-content h3 + p {
31
- @apply !mt-2 ;
32
- }
33
-
34
- .nextra-content .x\:w-full {
35
- @apply max-w-5xl mx-auto;
36
- }
37
-
38
- .nextra-sidebar-container .active a {
39
- @apply light:bg-slate-100;
40
- }
41
-
42
16
.nextra-sidebar-container {
43
17
@apply w-224px;
44
- }
45
18
46
- . nextra-nav-container nav ,
47
- . nextra-nav-container + div {
48
- @apply max-w-1408px;
19
+ & . active a {
20
+ @apply light:bg-slate-100;
21
+ }
49
22
}
50
23
51
- . nextra-nav-container a : last-of-type svg {
24
+ header a : last-of-type svg {
52
25
@apply w-20px;
53
26
}
54
27
55
- . nextra-nav-container button div svg {
28
+ header button svg {
56
29
@apply size-16px;
57
30
}
58
31
59
32
.nextra-toc {
60
33
@apply w-224px;
61
- }
62
-
63
- .nextra-toc a {
64
- @apply font-normal;
65
- }
66
34
67
- . nextra-toc p {
68
- @apply shadow-none ;
69
- }
35
+ & a {
36
+ @apply font-normal ;
37
+ }
70
38
71
- .nextra-scrollbar a .x\:text-primary-800 {
72
- @apply font-medium text-slate-800 dark:text-slate-200;
39
+ & p {
40
+ @apply shadow-none;
41
+ }
73
42
}
74
43
75
44
.nextra-sidebar-footer ,
@@ -85,26 +54,12 @@ pre {
85
54
@apply bg-slate-50;
86
55
}
87
56
88
- .nextra-breadcrumb {
89
- @apply !mb-4 ;
90
- }
91
-
92
- @media only screen and (max-width : 768px ) {
93
- .nextra-sidebar-container {
94
- @apply w-full;
57
+ .nextra-scrollbar {
58
+ & [aria-current = "true" ] {
59
+ @apply text-text;
95
60
}
96
- }
97
61
98
- @media only screen and (max-width : 1024px ) {
99
- .nextra-toc {
100
- display : none !important ;
62
+ & [aria-current = "false" ] {
63
+ @apply text-textSubtle;
101
64
}
102
65
}
103
-
104
- [aria-current = "true" ].nextra-focus {
105
- @apply font-medium text-text;
106
- }
107
-
108
- [aria-current = "false" ].nextra-focus {
109
- @apply text-textSubtle;
110
- }
0 commit comments