File: custom.css

package info (click to toggle)
python-griddataformats 0.5.0%2Bgit20200812.be6132a-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,580 kB
  • sloc: python: 3,038; makefile: 129; sh: 22
file content (206 lines) | stat: -rw-r--r-- 3,965 bytes parent folder | download | duplicates (2)
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
/* override css for readable.css */

/*  styles/fonts to match http://mdanalysis.org (see public/css) */
/* MDAnalysis orange: #FF9200 */
/* MDAnalysis gray: #808080 */
/* MDAnalysis white: #FFFFFF */
/* MDAnalysis black: #000000 */
/* Darker orange: e76900 */
/* Even darker orange: #a24900 */
/* RTD dark grey: #343131 */
/* RTD light grey: #e6e6e6 */

/* -- page layout --------------------------------------------------------- */

body {
    font-family: 'PT Sans', Helvetica, Arial, 'sans-serif';
    font-size: 17px;    
}

div.body {
    color: #000000;
}

div.sphinxsidebar a:hover {
    text-decoration: none !important;
}

div.sphinxsidebar p {
    color: #808080;
}

/* Home MDAnalysis colour */
.wy-side-nav-search > a {
    color: #343131;
}

/* Side MDAnalysis version colour */
.wy-side-nav-search > div.version {
    color: #808080;
}

/* Menubar caption colour */
div.wy-menu-vertical span.caption-text {
    color: #FF9200;
}

/* Mobile layout menubar option */
nav.wy-nav-top {
    background: #343131;
}

/* Menu search bar outline (default blue) */
.wy-side-nav-search input[type="text"] {
    border-color: #808080;
}


/* -- body styles --------------------------------------------------------- */

/* Different coloured links for sidebar vs body) */
div.rst-content a {
    color: #FF9200;
    text-decoration: none;
}

div.rst-content a:visited {
    color: #FF9200;
}
 
a:hover {
    color: #FF9200 !important;
    text-decoration: underline;
}


pre, tt, code {
    font-family: Menlo, Monaco, 'Courier New', monospace
}


div.body h1 {
    font-weight: bolder;
}

a.headerlink {
    color: #808080;
    font-size: 0.8em;
    padding: 0 4px 0 4px;
    text-decoration: none;
}
 
a.headerlink:hover {
    background-color: #808080;
    color: #fff;
}

/* ------- admonition boxes ------- */

div.admonition {
    margin: 10px 0px;
    padding: 10px 10px;
}

div.admonition p.admonition-title {
    font-size: 100%;
    font-weight: bolder;
}

/* ----- Tables ----- */

/* override table width restrictions */
/* wrap tables instead of scrolling */
@media screen and (min-width: 767px) {

    .wy-table-responsive table td, .wy-table-responsive table th {
       /* !important prevents the common CSS stylesheets from overriding
          this as on RTD they are loaded after this stylesheet */
       white-space: normal !important;
    }
 
    .wy-table-responsive {
       overflow: visible !important;
       max-width: 100% !important;
    }
 }

/* ----- Field lists ------ */

.section > dl.field-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

dl.field-list > dt::after {
    content: ":";
}

.rst-content dl:not(.docutils) dt {
    background: none;
    color: #000000;
    border-top: none;
}

.section > dl.field-list dt {
    margin: 0;
    padding: 0;
    flex-basis: 20%;
    display: block;
}

.section > dl.field-list > dd {
    flex-basis: 70%;
    margin: 0;
}

.section > dl.field-list > dd p {
    margin: 0;
}

/* ----- MDAnalysis coloured elements ------ */

.rst-content dl.class dt, .rst-content dl.function dt {
    color: #ca6500;
    background: #FFEBD0;
    border-top: solid 3px #FF9200;
}

.rst-content .viewcode-link, .rst-content .viewcode-back {
    color: #808080;
}

.rst-content .guilabel {
    background: #efefef;
    border: 1px solid #808080;
}


.rst-content .seealso p.admonition-title {
    background: #808080;
}

.rst-content .seealso {
    background: #e3e3e3;
}

.rst-content  .error p.admonition-title, .rst-content  .warning p.admonition-title {
    background: #F45F4B;
}

.rst-content .error, .rst-content .warning {
    background: #FFEEED;
}

.rst-content .caution p.admonition-title, .rst-content .note p.admonition-title, .rst-content .important p.admonition-title  {
    background: #FF9200;
}

.rst-content .caution, .rst-content .note, .rst-content .important {
    background: #FFEBD0;
}

.rst-content code:not(.xref).literal {
    color: #ca6500;
}