-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
47 lines (44 loc) · 1.65 KB
/
Copy pathcustom.css
File metadata and controls
47 lines (44 loc) · 1.65 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
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
/* set fixed non-trivial inversion and hue rotation */
:root {
--inversionFraction: 100%;
--hueRotation: -180deg;
}
/* color-invert images */
.color-invertible {
filter: invert(var(--inversionFraction)) hue-rotate(var(--hueRotation)) !important;
-ms-filter: invert(var(--inversionFraction)) !important;
-webkit-filter: invert(var(--inversionFraction)) hue-rotate(var(--hueRotation)) !important;
}
/* including the logo when we make one
.docs-logo {
filter: invert(var(--inversionFraction)) hue-rotate(var(--hueRotation)) !important;
-ms-filter: invert(var(--inversionFraction)) !important;
-webkit-filter: invert(var(--inversionFraction)) hue-rotate(var(--hueRotation)) !important;
} */
/* but disable for the two light themes */
.theme--documenter-light .color-invertible {
filter: invert(0%) hue-rotate(0deg) !important;
-ms-filter: invert(var(0%)) !important;
-webkit-filter: invert(var(0%)) hue-rotate(0deg) !important;
}
.theme--catppuccin-latte .color-invertible {
filter: invert(0%) hue-rotate(0deg) !important;
-ms-filter: invert(var(0%)) !important;
-webkit-filter: invert(var(0%)) hue-rotate(0deg) !important;
}
/* for the logo as well */
/* .theme--documenter-light .docs-logo {
filter: invert(0%) hue-rotate(0deg) !important;
-ms-filter: invert(var(0%)) !important;
-webkit-filter: invert(var(0%)) hue-rotate(0deg) !important;
}
.theme--catppuccin-latte .docs-logo {
filter: invert(0%) hue-rotate(0deg) !important;
-ms-filter: invert(var(0%)) !important;
-webkit-filter: invert(var(0%)) hue-rotate(0deg) !important;
} */