comparison clipkit_repo/docs/_static/custom.css @ 2:e9cf321ee7be draft

"planemo upload for repository https://github.com/jlsteenwyk/clipkit commit cbe1e8577ecb1a46709034a40dff36052e876e7a-dirty"
author padge
date Fri, 25 Mar 2022 17:33:41 +0000
parents 49b058e85902
children
comparison
equal deleted inserted replaced
1:535881934a1a 2:e9cf321ee7be
1 div.document {
2 width: 100%;
3 max-width: 1200px;
4 }
5
6 body {
7 font-family: Oxygen, 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif;
8 }
9
10 .highlight {
11 margin-top: 25px;
12 }
13
14 .field-name {
15 /* Fix for https://github.com/bitprophet/alabaster/issues/95 */
16 -moz-hyphens: manual;
17 -ms-hyphens: manual;
18 -webkit-hyphens: manual;
19 hyphens: manual;
20
21 width: 110px; /* Prevent "Return type:" from wrapping. */
22 }
23
24 dd ul, dd table {
25 margin-bottom: 1.4em;
26 }
27
28 table.field-list th, table.field-list td {
29 padding-top: 1em;
30 }
31
32 table.field-list tbody tr:first-child th, table.field-list tbody tr:first-child td {
33 padding-top: 0;
34 }
35
36 code.docutils.literal {
37 background-color: rgba(0, 0, 0, 0.06);
38 padding: 2px 5px 1px 5px;
39 font-size: 0.88em;
40 }
41
42 code.xref.docutils.literal {
43 background-color: transparent;
44 padding: 0;
45 font-size: 0.9em;
46 }
47
48 a:hover, div.sphinxsidebar a:hover, a.reference:hover, a.reference.internal:hover code {
49 color: #0b81d5;
50 border-bottom: 1px solid #0b81d5;
51 }
52
53 a code.literal {
54 color: #c77c11;
55 border: none;
56 }
57
58 .highlight pre span {
59 line-height: 1.5em;
60 }
61
62 .field-body {
63 width: 100%;
64 }
65
66 .field-body cite {
67 font-style: normal;
68 font-weight: bold;
69 }
70
71 /* Hide theme's default logo section */
72 .logo a {
73 display: none;
74 }
75
76 #logo {
77 width: 100%;
78 }
79
80 #logo a,
81 #logo a:hover {
82 border-bottom: none;
83 }
84
85 #logo img {
86 margin: 0;
87 padding: 0;
88 padding-top: 20px;
89 }
90
91 #gh-buttons {
92 margin-top: 2em;
93 text-align: center;
94 }
95
96 #dev-warning {
97 background-color: #ffe;
98 border: 1px solid #ccc;
99 padding: 10px;
100 margin-bottom: 1em;
101 }
102
103 div.warning {
104 background-color: #ffe;
105 border: 1px solid #ccc;
106 }
107
108 div.note, div.admonition {
109 background-color: inherit;
110 }
111
112 div.body h1,
113 div.body h2,
114 div.body h3,
115 div.body h4,
116 div.body h5,
117 div.body h6,
118 div.sphinxsidebar h3 {
119 font-family: Oxygen, 'goudy old style', serif;
120 font-weight: bold;
121 color: #444;
122 }
123
124 div.sphinxsidebar h3 {
125 margin: 1.5em 0 0 0;
126 }
127
128 div.sphinxsidebar h4 {
129 font-family: Oxygen, Garamond, Georgia, serif;
130 }
131
132 div.sphinxsidebarwrapper {
133 padding-top: 0;
134 }
135
136 div.admonition p.admonition-title {
137 display: block;
138 line-height: 1.4em;
139 font-family: Oxygen, Garamond, Georgia, serif;
140 }
141
142 pre {
143 background-color: #EEE;
144 color: #333;
145 padding: 1.25em 30px;
146 }
147
148 .highlight pre .p, .highlight pre .o {
149 color: #333;
150 }
151
152 /* Fix notes not aligning with the left side of the property text. */
153 dd .highlight pre, dd div.admonition {
154 margin-left: -29px;
155 padding-left: 29px;
156 }
157
158 .highlight pre {
159 font-size: smaller;
160 }
161
162 .highlight .nt {
163 color: #4B77BE;
164 }
165
166 .highlight .s2 {
167 color: #0b81d5;
168 }
169
170 /* Fix drifting to the left in some parameters lists. */
171 li .highlight pre {
172 float: right;
173 }
174
175
176 div.admonition {
177 padding-bottom: 15px;
178 }
179
180 div input[type="text"] {
181 padding: 5px;
182 margin: 0 0 0.5em 0;
183 font-family: Oxygen, Garamond, Georgia, serif;
184 }
185
186 div input[type="submit"] {
187 font-size: 14px;
188 width: 72px;
189 height: 27px;
190 font-weight: 600;
191 font-family: Oxygen, Garamond, Georgia, serif;
192
193 border: 1px solid #d5d5d5;
194 border-radius: 3px;
195 padding: 0 10px;
196
197 color: #333;
198 background-color: #eee;
199 background-image: linear-gradient(to bottom,#fcfcfc,#eee);
200 }
201
202 div input[type="submit"]:hover {
203 background-color: #ddd;
204 background-image: linear-gradient(to bottom,#eee,#ddd);
205 border-color: #ccc;
206 }
207
208 div input[type="submit"]:active, #searchbox input[type="submit"]:active {
209 background-color: #dcdcdc;
210 background-image: none;
211 border-color: #b5b5b5;
212 box-shadow: inset 0 2px 4px rgba(0,0,0,.15);
213 }
214
215 div input[type="submit"]:focus {
216 outline: none;
217 }
218
219 input[type=text]:focus {
220 outline: 1px solid #999;
221 }
222
223 /* Togglable code blocks */
224 .toggle .header {
225 clear: both;
226 cursor: pointer;
227 display: inline-block;
228 padding: 0.35em 1.2em;
229 border: 0.1em solid black;
230 border-radius: 0.125em;
231 }
232
233 .toggle .header:hover {
234 background: #eee;
235 }
236
237 .toggle .header:after {
238 content: " ▶";
239 }
240
241 .toggle .header.open:after {
242 content: " ▼";
243 }