/
gammapy.css
48 lines (41 loc) · 1.04 KB
/
gammapy.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
:root {
--gammapy-primary: rgb(224, 10, 52);
--gammapy-secondary: #1e254a;
--gammapy-lightgray: #f2f2f2;;
}
/* sidebar header (and topbar for mobile) */
.wy-side-nav-search, .wy-nav-top {
background: var(--gammapy-secondary);
}
/* sidebar */
.wy-nav-side {
background: var(--gammapy-secondary);
}
/* links outside nav */
.rst-content a:link, .rst-content a:visited {
color: var(--gammapy-primary);
text-decoration: none;
}
/* admonitions only */
.admonition.note {
background: var(--gammapy-lightgray);
}
/* font size smaller and striped cols in notebook tables */
.output_area {
font-size: 12px;
}
.output_area tr:nth-child(even) {background-color: var(--gammapy-lightgray);}
th {
background-color: #f2f2f2;
padding-right: 8px;
text-align: left;
}
/* font size smaller and not-stripped cols in API tables */
table.docutils {
font-size: 14px;
}
.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td,
.wy-table-striped tr:nth-child(2n-1) td,
.wy-table-odd td {
background-color: #fff;
}