-
Notifications
You must be signed in to change notification settings - Fork 10
/
custom.css
122 lines (109 loc) · 1.93 KB
/
custom.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
:root {
--field-bg-color: field;
--ol-item-bg-color: white;
--ol-item-text-color: black;
}
.light:root {
--field-bg-color: #edecec;
--ol-item-bg-color: #333;
--ol-item-text-color: white;
}
.nextra-body.full {
margin: 0 auto;
}
code {
@apply text-sm;
}
html {
font-size: 18px;
}
.dark .invert-on-dark {
filter: invert(1) brightness(1.8);
}
.nextra-toc-meta {
display: none;
}
code {
font-family: "Menlo", PT Mono,Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace !important;
}
video {
/* border: 2px solid #262626;
border-radius: 10px; */
width: 100%;
margin: 2em 0;
/* padding: 0 2em;
background: black; */
}
.dark p, .dark ol, .dark li {
color: #e3e3e3;
}
iframe {
border-radius: 7px;
margin: 2em 0;
}
p > strong {
color: #FF42A1;
}
.nextra-sidebar-menu {
box-shadow: none !important;
}
.dark .nextra-sidebar-menu > div {
background: black !important;
}
.light .nextra-sidebar-menu > div {
background: white !important;
}
a > h1 {
font-weight: 500;
}
ul.first\:nx-mt-0 {
margin-top: 0;
}
.dark .demo p,
.light .demo p {
color: inherit;
}
main a {
font-weight: bold;
}
.styled-list ol {
counter-reset: section;
}
.styled-list ol > li {
counter-increment: section;
position: relative;
break-inside: avoid;
}
.styled-list ol > li::before {
background-color: var(--ol-item-bg-color);
border-radius: 50%;
box-sizing: content-box;
color: var(--ol-item-text-color);
content: counter(section);
font-size: 0.85rem;
display: inline-block;
font-weight: bold;
height: 1rem;
line-height: 1rem;
left: -1.5rem;
padding: 2px;
position: absolute;
top: 3px;
text-align: center;
width: 1rem;
}
.styled-list ol > li::marker {
color: var(--ol-item-text-color);
font-size: 0.85rem;
margin-right: 0.5em;
}
.overview-columns {
column-count: 2;
column-gap: 20px;
}
.focus-demo:focus {
outline: 3px solid red;
}
.focus-visible-demo:focus-visible {
outline: 3px solid red;
}