File: style.css

package info (click to toggle)
odc 1.4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,060 kB
  • sloc: cpp: 22,074; f90: 3,707; sh: 999; ansic: 471; python: 382; makefile: 39
file content (158 lines) | stat: -rw-r--r-- 3,094 bytes parent folder | download | duplicates (5)
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
.wy-side-nav-search {
    background-color: #5d89bb;
}

/*There is a clash between xarray notebook styles and readthedoc*/

.rst-content dl.xr-attrs dt {
    all: revert;
    font-size: 95%;
    white-space: nowrap;
}

.rst-content dl.xr-attrs dd {
    font-size: 95%;
}

.xr-wrap {
    font-size: 85%;
}

img.badge {
    height: 20px;
}


.wy-table-responsive table td,
.wy-table-responsive table th {
    white-space: normal !important;
    vertical-align: top !important;
}

.wy-table-responsive {
    margin-bottom: 24px;
    max-width: 100%;
    overflow: visible;
}

/* Hide notebooks warnings */
.nboutput .stderr {
    display: none;
}

/* Code reference */

.rst-content dl:not(.docutils) em.property,
.rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) em.property {
    padding-right: 0 !important;
}

.rst-content dl:not(.docutils) span.pre,
.rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) span.pre {
    padding-right: 3px;
}

/* Sphinx Tabs */

div.sphinx-tabs > div[role="tablist"] {
    margin-bottom: 1em;
    border-bottom: 2px solid #ebecf0;
}

div.sphinx-tabs button.sphinx-tabs-tab {
    background: none;
    border: none;
    border-bottom: 2px solid #ebecf0;
    margin-right: 12px;
    margin-bottom: -2px;
    padding-bottom: 5px;
}

div.sphinx-tabs button.sphinx-tabs-tab[aria-selected="true"] {
    border-bottom-color: #5d89bb;
    color: #5d89bb;
}

div.sphinx-tabs button.sphinx-tabs-tab:hover {
    color: #5d89bb;
}

/* Figure text styles */

.figure p.caption {
    margin: 6px 0;
}

.figure > div.legend > p {
    font-size: 14px;
    line-height: 21px;
}

/* Copy buttons */

a.copybtn {
    position: absolute;
    top: 0.2em;
    right: 0.2em;
    width: 1.3em;
    height: 1.3em;
	opacity: 0.3;
    transition: opacity 0.5s;
    border: none;
    user-select: none;
}

div.highlight  {
    position: relative;
}

a.copybtn > img {
    vertical-align: top;
    margin: 0;
    top: 0;
    right: 0;
    position: absolute;
}

.highlight:hover .copybtn {
	opacity: 1;
}

/**
 * A minimal CSS-only tooltip copied from:
 *   https://codepen.io/mildrenben/pen/rVBrpK
 *
 * To use, write HTML like the following:
 *
 * <p class="o-tooltip--left" data-tooltip="Hey">Short</p>
 */

.o-tooltip--left {
    position: relative;
}

.o-tooltip--left:after {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    content: attr(data-tooltip);
    padding: 2px;
    top: 0.1em;
    left: -0.1em;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #607d8b;
    white-space: nowrap;
    z-index: 2;
    border-radius: 2px;
    transform: translateX(-102%) translateY(0);
    transition: opacity 0.5s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.5s cubic-bezier(0.64, 0.09, 0.08, 1);
}

.o-tooltip--left:hover:after {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-100%) translateY(0);
    transition: opacity 0.5s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.5s cubic-bezier(0.64, 0.09, 0.08, 1);
}