-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththeme_overrides.css
83 lines (68 loc) · 1.35 KB
/
theme_overrides.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
/* override table width restrictions */
@media screen and (min-width: 767px) {
table.clean-wrap td {
/* !important prevents the common CSS stylesheets from overriding
this as on RTD they are loaded after this stylesheet */
white-space: normal !important;
}
table.reece-wrap {
overflow: visible !important;
}
.wy-table-responsive table.reece-wrap td,
.wy-table-responsive table.reece-wrap th {
white-space: normal;
}
}
h2 {
color: #2980b9;
border-top: #2980b9 thin solid;
border-bottom: #2980b9 thin solid;
}
h3 {
color: #888;
text-decoration: underline;
}
figure {
border: thin solid #6ab0de;
padding: 2px;
}
figure img {
margin-bottom: 5px;
}
figcaption {
margin: 0;
padding: 0;
}
figcaption p,
figcaption div.legend {
background: #e7f2fa;
padding: 3px;
}
figcaption p .caption-text::before {
content: "Figure: ";
}
figcaption p .caption-text {
font-weight: bold;
}
figcaption p {
line-height: unset;
margin: unset;
display: inline-block;
width: 100%;
}
.legend p {
font-size: smaller;
line-height: unset;
margin: 0;
}
.legend p:not(:last-child) {
margin-bottom: 10px;
}
/* nested ul leads to awkward spacing of list items.
This change doesn't seem to induce any other odd spacing */
.rst-content .section ul p {
margin-bottom: 0px;
}
span.std-term::after {
content: " 🛈";
}