-
-
Notifications
You must be signed in to change notification settings - Fork 336
Expand file tree
/
Copy pathcustom.css
More file actions
122 lines (100 loc) · 2.42 KB
/
Copy pathcustom.css
File metadata and controls
122 lines (100 loc) · 2.42 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
html[data-theme="light"] {
/* NixOS branding's Argentinian Blue L55 */
--pst-color-primary: #2579ab !important;
/* NixOS branding's Afghani Blue L55 */
--pst-color-secondary: #506fb2 !important;
}
html[data-theme="dark"] {
/* NixOS branding's Argentinian Blue L65 */
--pst-color-primary: #3d98d1 !important;
/* NixOS branding's Afghani Blue L65 */
--pst-color-secondary: #698dd8 !important;
}
div.expression > div.highlight > pre::before {
content: "Expression";
background-color: var(--pst-color-primary);
}
div.expression > div.highlight > pre {
border: 1px solid var(--pst-color-primary);
}
div.value > div.highlight > pre::before {
content: "Value";
background-color: var(--pst-color-secondary);
}
div.value > div.highlight > pre {
border: 1px solid var(--pst-color-secondary);
}
div.highlight > pre::before {
display: block;
position: absolute;
top: 0;
right: 0;
padding: 0 0.5em;
background-color: #b3b3b3;
color: #fff;
font-size: 0.8em;
border-radius: 0 0.4em 0 0.4em;
transition: opacity 0.2s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
}
div.highlight:hover > pre::before {
opacity: 0;
}
html[data-theme="light"] .highlight .gi {
background-color: #ccffcc;
border: 1px solid #ccffcc;
}
html[data-theme="light"] .highlight .gd {
background-color: #ffcccc;
border: 1px solid #ffcccc;
color: inherit !important;
}
html[data-theme="dark"] .highlight .gi {
background-color: #005400;
border: 1px solid #005400;
}
html[data-theme="dark"] .highlight .gd {
background-color: #540000;
border: 1px solid #540000;
color: inherit !important;
}
.bd-links {
padding-bottom: 0 !important;
}
.logo {
margin-bottom: 1rem;
}
.logo a {
text-decoration: none;
}
.logo img {
height: 3rem;
vertical-align: middle;
}
.logo span {
margin-left: 0.125em;
font-size: 3.25rem;
vertical-align: middle;
}
.navbar-nav li.toctree-l1 {
margin-top: 1rem;
margin-bottom: 0.5rem;
}
.navbar-nav li.toctree-l1 > details > summary > .toctree-toggle {
display: none;
}
.navbar-nav li.toctree-l1 > a {
font-weight: 600;
}
.navbar-nav li.toctree-l1 > details > ul {
padding: 0;
}
html[data-theme="dark"] iframe[title="GitHub"] {
filter: invert(0.93) hue-rotate(100deg);
}
.contributors {
color: var(--pst-color-text-muted);
background: var(--pst-color-surface);
border-color: var(--pst-color-info);
border-radius: 0.25rem;
padding: 0.5rem;
}