-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathcustom.css_t
More file actions
283 lines (214 loc) · 6.33 KB
/
custom.css_t
File metadata and controls
283 lines (214 loc) · 6.33 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
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
/*
* This Sphinx stylesheet adds some customizations to the default Alabaster theme.
*
* The source for the default stylesheet can be found at
* https://github.com/bitprophet/alabaster/blob/master/alabaster/static/alabaster.css_t
*
* For the classes provided by the primer, see https://unpkg.com/@primer/css/dist/primer.css
*/
/* -- CODE SNIPPETS ----------------------------------------------------------------------- */
code {
font-size: 0.9em !important; /* makes code snippets in headings the correct size */
}
/* -- HEADER ------------------------------------------------------------------------------- */
/* Override alabaster.css purple link color for header links to match the rest of the site */
.Header .Header-link {
color: #fff;
}
.Header .Header-link:hover,
.Header .Header-link:focus {
color: rgba(255, 255, 255, 0.7);
}
/* -- MAIN BODY ---------------------------------------------------------------------------- */
main {
min-height: calc(100vh - 68px);
}
div.body {
max-width: 100%;
min-width: unset;
padding: 0;
}
div.body li {
margin: 0 0 0.5em 0; /* Increase spacing between list items */
}
article {
min-height: calc(100vh - 145px); /* Makes sure GitHub footer stays at bottom of viewport */
}
article ul, article ol {
margin-left: 18px; /* Aligns list items with other text */
}
/* -- SIDEBAR ------------------------------------------------------------------------------- */
.SideNav {
max-height: 100vh; /* Makes sure sidebar doesn't cover GitHub footer */
}
.SideNav li {
margin: 10px 0 10px 0px;
}
.SideNav ul, .SideNav ol, .SideNav li {
list-style-type: none;
}
.SideNav ul li a {
border-bottom: none;
color: black;
}
.SideNav ul li a:hover {
font-weight: bold;
border-bottom: none;
}
.SideNav a.current {
font-weight: bold;
text-decoration: underline;
}
/* -- BREADCRUMBS --------------------------------------------------------------------------------*/
div.related ul {
padding: 0;
}
/* -- LINKS --------------------------------------------------------------------------------------*/
a.reference {
border-bottom: none;
}
a.reference:hover {
text-decoration: none;
}
/* -- ADMONITIONS ---------------------------------------------------------------------------- */
/*
* Override default styling for "admonitions".
* This includes: note, tip, important, and caution.
*
*/
div.admonition p.admonition-title {
/* Make title same size and font as body, but bold. */
font-family: Lato, sans-serif;
font-size: 14px;
font-weight: bold;
}
p.admonition-title:after {
content: ""; /* Don't insert a colon after the title */
}
/*
* Don't use yellow for footnote background.
*
*/
.footnote:target {
background-color: unset;
}
/*
* Add a border with rounded corners around code blocks
* (as in the QL language spec).
*
*/
pre {
border: 1px solid #BBB;
background: #F6F6F6;
border-radius: 5px;
white-space: pre-wrap;
}
/* -- QL SYNTAX HIGHLIGHTING -------------------------------------------------- */
/*
* Use more appropriate colors for syntax highlighting
*
*/
.highlight { color: #333 } /* default */
.highlight .s { color: #06994a } /* strings */
.highlight .m { color: #333 } /* numbers (no special highlighting) */
.highlight .c1 { color: #007020; font-style: italic } /* one-line comments */
.highlight .cm { color: #007020; font-style: italic } /* multiline comments */
.highlight .cp { color: #2F1695; font-style: italic } /* QLDoc comments */
.highlight .k { color: #7a65cd; font-weight: bold } /* keywords */
.highlight .kt { color: #7a65cd; font-weight: bold } /* built-in type keywords */
.highlight .kr { color: #333; font-style: italic } /* annotations */
/* -- SEARCH PAGE ---------------------------------------------------------------------------- */
div.context { /* hide rst search snippets */
display: none;
}
/* -- INDEX ---------------------------------------------------------------------------------------- */
table.indextable li > a {
text-decoration: unset;
}
/* -- ANCHOR LINKS ------------------------------------------------------------------------------- */
/* make anchor highlighting more sensible */
dt:target::before {
background-color: white;
}
/* -- CSV TABLE STYLING ------------------------------------------------------------------------------- */
table.colwidths-auto.fullwidthtable.docutils {
width: 100%;
margin-bottom: 20px;
}
table.colwidths-auto.fullwidthtable.docutils caption {
top-outside: true;
margin-bottom: 10px;
margin-top: 10px;
text-align: left;
font-size: 150%;
}
/* -- FOOTNOTE TABLE STYLING ------------------------------------------------------------------------------- */
table.docutils.footnote {
border: none;
background: transparent;
margin-left: 10px;
}
table.footnote td.label {
padding-right: 10px;
display: table-cell;
}
/* -- STYLE PULL-QUOTE AS ADMONITION WHILE DOCS STILL PARSED FOR LGTM EMBEDDED HELP------------------------- */
blockquote.pull-quote {
margin: 20px 30px;
padding: 10px 20px;
background-color: #EEE;
border: #CCC;
border-radius: 5px;
}
blockquote.pull-quote:first-line {
font-weight: bold;
margin-top: 0px;
}
blockquote.pull-quote > :last-child {
margin-bottom: -10px;
}
/* -- COLLAPSIBLE SECTIONS --------------------------------------------------------------------------------- */
.toggle .name {
display: block;
clear: both;
}
.toggle .name:hover {
cursor: pointer;
}
.toggle .name:after {
content: " ▶";
font-family: "monospace";
}
.toggle .name.open:after {
content: " ▼";
font-family: "monospace";
}
/* Fixes a bug in "Supported languages and frameworks" where footnotes were incorrectly indented */
aside .label {
border: 0;
}
/* -- PRINT VIEW ----------------------------------------------------------------------------*/
@media print {
div.SideNav {
display: none;
}
body {
margin: 0;
padding: 0;
overflow: inherit;
width:95%;
}
div.privacy {
display: none;
}
}
/* -- SMALL SCREEN ------------------------------------------------------------------------------- */
@media screen and (max-width: 875px) {
/* Overrides strange behaviour caused by default styles */
body {
padding: 0;
}
div.footer {
display: block;
}
}