-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
90 lines (78 loc) · 1.77 KB
/
style.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
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
font-feature-settings:
'rlig' 1,
'calt' 1;
}
.home-content p {
margin-top: 1.5em;
line-height: 1.75em;
}
.home-content a {
--tw-ring-color: hsl(
var(--nextra-primary-hue) var(--nextra-primary-saturation) 50%/0.3
);
--tw-text-opacity: 1;
text-underline-position: under;
text-decoration-line: underline;
text-decoration-thickness: from-font;
color: hsl(
var(--nextra-primary-hue) var(--nextra-primary-saturation) 50% /
var(--tw-text-opacity)
);
}
figcaption {
font-size: 0.85rem;
line-height: 1.5rem;
display: block;
text-align: center;
margin-top: 0.5rem;
}
code.text-\[\.9em\] {
font-size: 14px;
}
@media screen and (max-width: 1200px) {
.home-content .hide-medium {
display: none;
}
}
@media screen and (max-width: 720px) {
.home-content p {
font-size: 0.9rem;
}
.home-content .hide-small {
display: none;
}
}
.docs-search > span {
width: 100%;
}
.algolia-autocomplete .algolia-docsearch-suggestion--category-header span {
display: inline-block;
}
.algolia-autocomplete .ds-dropdown-menu {
width: 500px;
min-width: 300px;
max-width: calc(100vw - 50px);
}
.dark .invert-on-dark {
filter: invert(1) brightness(1.8);
}
body {
background:
linear-gradient(
to bottom,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 1) 300px
),
fixed 0 0 / 20px 20px radial-gradient(#d1d1d1 1px, transparent 0),
fixed 10px 10px / 20px 20px radial-gradient(#d1d1d1 1px, transparent 0);
}
.dark body {
background:
linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #111 300px),
fixed 0 0 / 20px 20px radial-gradient(#313131 1px, transparent 0),
fixed 10px 10px / 20px 20px radial-gradient(#313131 1px, transparent 0);
}