-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcustom.css
More file actions
160 lines (138 loc) · 3.68 KB
/
custom.css
File metadata and controls
160 lines (138 loc) · 3.68 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/* Classes for the index page. */
.home-tiles {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
margin: 1.25rem 0 1rem;
}
.home-tile {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.55rem;
padding: 1rem 1.1rem;
border: 1px solid rgba(15, 23, 42, 0.14);
border-radius: 14px;
background: #ffffff;
color: inherit;
text-decoration: none;
text-align: center;
box-shadow: 0 3px 10px rgba(15, 23, 42, 0.11);
transition:
transform 120ms ease-in-out,
box-shadow 120ms ease-in-out,
border-color 120ms ease-in-out;
}
.home-tile,
.home-tile:hover,
.home-tile:focus,
.home-tile:focus-visible,
.home-tile * {
text-decoration: none;
}
.home-tile:hover {
transform: translateY(-2px);
box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
border-color: #91a9ca;
}
.md-typeset a.home-tile,
.md-typeset a.home-tile:hover,
.md-typeset a.home-tile:focus,
.md-typeset a.home-tile:focus-visible,
.md-typeset a.home-tile:active,
.md-typeset a.home-tile:visited {
text-decoration: none !important;
border-bottom: 0 !important;
background-image: none !important;
color: inherit !important;
}
body[data-md-color-scheme="default"] .md-typeset a.home-tile,
body[data-md-color-scheme="default"] .md-typeset a.home-tile:hover,
body[data-md-color-scheme="default"] .md-typeset a.home-tile:focus,
body[data-md-color-scheme="default"] .md-typeset a.home-tile:focus-visible,
body[data-md-color-scheme="default"] .md-typeset a.home-tile:active,
body[data-md-color-scheme="default"] .md-typeset a.home-tile:visited {
background: #ffffff !important;
background-color: #ffffff !important;
}
.md-typeset a.home-tile *,
.md-typeset a.home-tile:hover *,
.md-typeset a.home-tile:focus *,
.md-typeset a.home-tile:focus-visible *,
.md-typeset a.home-tile:active *,
.md-typeset a.home-tile:visited * {
text-decoration: none !important;
border-bottom: 0 !important;
background-image: none !important;
}
.home-tile h3 {
margin: 0;
font-size: 1.05rem;
}
.home-tile p {
margin: 0;
color: inherit;
line-height: 1.45;
}
.home-tile img {
width: 44px;
height: 44px;
object-fit: contain;
}
@media (max-width: 760px) {
.home-tiles {
grid-template-columns: 1fr;
}
}
pre,
li pre {
padding-left: 0;
}
body[data-md-color-scheme="slate"] .home-tile {
border-color: rgba(203, 213, 225, 0.24);
background: rgba(15, 23, 42, 0.38);
box-shadow: 0 4px 12px rgba(2, 6, 23, 0.38);
}
body[data-md-color-scheme="slate"] .home-tile:hover {
border-color: rgba(147, 197, 253, 0.55);
box-shadow: 0 12px 26px rgba(2, 6, 23, 0.46);
}
body[data-md-color-scheme="slate"] .home-tile p {
color: inherit;
}
@media (prefers-color-scheme: dark) {
.home-tile {
border-color: rgba(203, 213, 225, 0.24);
background: rgba(15, 23, 42, 0.38);
box-shadow: 0 4px 12px rgba(2, 6, 23, 0.38);
}
.home-tile:hover {
border-color: rgba(147, 197, 253, 0.55);
box-shadow: 0 12px 26px rgba(2, 6, 23, 0.46);
}
}
.md-typeset dl.cli-reference {
margin: 0.75rem 0 1.25rem;
}
.md-typeset dl.cli-reference dt {
margin: 0.85rem 0 0;
font-weight: 500;
}
.md-typeset dl.cli-reference dd {
margin: 0.2rem 0 0.75rem 1.5rem;
}
.md-typeset dl.cli-reference dd p {
margin: 0;
}
.md-typeset dl.cli-reference dd p + p {
margin-top: 0.25rem;
color: var(--md-default-fg-color--light);
}
.md-typeset dl.cli-reference dt a,
.md-typeset dl.cli-reference dt a:hover,
.md-typeset dl.cli-reference dt a:focus,
.md-typeset dl.cli-reference dt a:visited {
color: inherit;
text-decoration: none;
border-bottom: 0;
}