-
Notifications
You must be signed in to change notification settings - Fork 67
/
custom.css
185 lines (155 loc) 路 4.71 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
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
:root {
--ifm-code-font-size: 90%;
--ifm-font-size-base: 16px;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
nav {
font-size: 16px;
}
:root footer {
background-color: #fff !important;
}
:root {
--ifm-color-primary: #b20d31;
--ifm-color-primary-dark: #a00c2c;
--ifm-color-primary-darker: #970b2a;
--ifm-color-primary-darkest: #7d0922;
--ifm-color-primary-light: #c40e36;
--ifm-color-primary-lighter: #cd0f38;
--ifm-color-primary-lightest: #e71140;
}
/* dark docs mode */
[data-theme='dark'] {
--ifm-color-primary: #f27e9b;
--ifm-color-primary-dark: #ef5d81;
--ifm-color-primary-darker: #ed4c74;
--ifm-color-primary-darkest: #e81a4d;
--ifm-color-primary-light: #f59fb5;
--ifm-color-primary-lighter: #f7b0c2;
--ifm-color-primary-lightest: #fce2e9;
}
/* marketing website dark color */
[data-theme='dark'] {
--ifm-color-primary: #fda622;
--ifm-color-primary-dark: #fd9b06;
--ifm-color-primary-darker: #f29302;
--ifm-color-primary-darkest: #c77902;
--ifm-color-primary-light: #fdb13e;
--ifm-color-primary-lighter: #fdb74d;
--ifm-color-primary-lightest: #fec877;
--ifm-background-color: #2e1623 !important;
--ifm-background-surface-color: rgba(0,0,0,.92) !important;
}
[data-theme='dark'] {
/* Docs color scheme */
/* background-color: #242526 !important; */
/* marketing website scheme */
/* background-color: #2e1623 !important; */
background-color: var(--ifm-background-color);
}
html[data-theme='dark'] footer {
/* Docs color scheme */
/* background-color: #242526 !important; */
/* marketing website scheme */
background-color: var(--ifm-background-color) !important;
}
html[data-theme='dark'] .footer {
/* Docs color scheme */
/* background-color: #242526 !important; */
/* marketing website scheme */
background-color: var(--ifm-background-surface-color) !important;
}
/* Announcement Bar */
div[class^='announcementBar'] {
background-color: var(--ifm-background-surface-color);
color: var(--ifm-font-color-base);
}
div[class^='announcementBar'] a {
color: var(--ifm-link-color);
text-decoration: inherit;
}
div[class^='announcementBar'] a:hover {
color: var(--ifm-link-color);
text-decoration: underline;
}
/* Getting Started */
/* Card */
html[data-theme='dark'] .card {
background-color: #2e1623;
box-shadow: 0 2px 4px 2px rgba(255, 255, 255, 0.1);
}
html[data-theme='dark'] .card .button {
background-color: var(--ifm-background-surface-color);
color: var(--ifm-link-color);
border: transparent;
}
html[data-theme='dark'] .card .button:hover {
background-color: var(--ifm-color-emphasis-100);
color: var(--ifm-link-color);
border: transparent;
}
div[class^='gs__card'] .card {
background-color: var(--ifm-background-surface-color);
color: var(--ifm-font-color-base);
border: 1px solid var(--ifm-color-emphasis-300);
transition: border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
/* box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1); */
box-shadow: none;
}
div[class^='gs__card'] .card:hover {
border: 1px solid var(--ifm-color-primary);
/* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1); */
box-shadow: none;
}
div[class^='gs__card'] .card a {
color: var(--ifm-font-color-base);
text-decoration: inherit;
}
div[class^='gs__card'] .card a:hover {
color: var(--ifm-font-color-base);
text-decoration: inherit;
}
html[data-theme='dark'] div[class^='gs__card'] .card {
background-color: #2e1623;
border: 1px solid var(--ifm-color-emphasis-300);
/* box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.1); */
box-shadow: none;
}
html[data-theme='dark'] div[class^='gs__card'] .card:hover {
border: 1px solid var(--ifm-color-primary);
/* box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.1), 0 6px 20px 0 rgba(255, 255, 255, 0.1); */
box-shadow: none;
}
/* nav sign in */
.sign-in-button {
margin: 0 6px 0 0;
transition: all var(--ifm-transition-fast) var(--ifm-transition-timing-default);
align-items: center;
background: var(--docsearch-searchbox-background);
border: 0;
border-radius: 40px;
color: var(--docsearch-text-color);
cursor: pointer;
display: flex;
font-weight: 400;
height: 36px;
justify-content: space-between;
padding: 0 22px;
-webkit-user-select: none;
user-select: none;
}
.sign-in-button:hover {
background: var(--docsearch-searchbox-focus-background);
box-shadow: var(--docsearch-searchbox-shadow);
color: var(--docsearch-text-color);
outline: none;
}
.sign-in-button svg {
display: none;
}