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;
7
+ html ,
8
+ body {
9
+ height : auto;
12
10
}
13
11
14
12
pre {
15
- @apply mt-4 mb -4;
13
+ @apply my -4;
16
14
}
17
15
18
- . nextra-content ,
19
- . nextra-content .x\:w-full {
16
+ article main ,
17
+ article main .x\:w-full {
20
18
font-size : 1rem ;
21
19
}
22
20
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
- .nextra-sidebar-container {
43
- @apply w-224px;
44
- }
45
-
46
- .nextra-nav-container nav ,
47
- .nextra-nav-container + div {
48
- @apply max-w-1408px;
49
- }
50
-
51
- .nextra-nav-container a : last-of-type svg {
52
- @apply w-20px;
53
- }
54
-
55
- .nextra-nav-container button div svg {
56
- @apply size-16px;
21
+ header {
22
+ & a : last-of-type svg {
23
+ @apply size-20px;
24
+ }
25
+ & button svg {
26
+ @apply size-16px;
27
+ }
57
28
}
58
29
59
30
.nextra-toc {
60
31
@apply w-224px;
61
- }
62
32
63
- .nextra-toc a {
64
- @apply font-normal;
65
- }
66
-
67
- .nextra-toc p {
68
- @apply shadow-none;
69
- }
33
+ & a {
34
+ @apply font-normal;
35
+ }
70
36
71
- .nextra-scrollbar a .x\:text-primary-800 {
72
- @apply font-medium text-slate-800 dark:text-slate-200;
37
+ & p {
38
+ @apply shadow-none;
39
+ }
73
40
}
74
41
75
42
.nextra-sidebar-footer ,
76
43
.nextra-toc-footer {
77
44
display : none;
78
45
}
79
46
47
+ .nextra-breadcrumb {
48
+ @apply mb-sm;
49
+ }
50
+
80
51
.nextra-code {
81
52
@apply !my-0 ;
82
53
}
@@ -85,26 +56,12 @@ pre {
85
56
@apply bg-slate-50;
86
57
}
87
58
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;
59
+ .nextra-scrollbar {
60
+ & [aria-current = "true" ] {
61
+ @apply text-text;
95
62
}
96
- }
97
63
98
- @media only screen and (max-width : 1024px ) {
99
- .nextra-toc {
100
- display : none !important ;
64
+ & [aria-current = "false" ] {
65
+ @apply text-textSubtle;
101
66
}
102
67
}
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