Show More
@@ -1,297 +1,310 | |||
|
1 | 1 | /** |
|
2 | 2 | * HTML5 ✰ Boilerplate |
|
3 | 3 | * |
|
4 | 4 | * style.css contains a reset, font normalization and some base styles. |
|
5 | 5 | * |
|
6 | 6 | * Credit is left where credit is due. |
|
7 | 7 | * Much inspiration was taken from these projects: |
|
8 | 8 | * - yui.yahooapis.com/2.8.1/build/base/base.css |
|
9 | 9 | * - camendesign.com/design/ |
|
10 | 10 | * - praegnanz.de/weblog/htmlcssjs-kickstart |
|
11 | 11 | */ |
|
12 | 12 | |
|
13 | 13 | |
|
14 | 14 | /** |
|
15 | 15 | * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline) |
|
16 | 16 | * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark |
|
17 | 17 | * html5doctor.com/html-5-reset-stylesheet/ |
|
18 | 18 | */ |
|
19 | 19 | |
|
20 | 20 | html, body, div, span, object, iframe, |
|
21 | 21 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
|
22 | 22 | abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, |
|
23 | 23 | small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, |
|
24 | 24 | fieldset, form, label, legend, |
|
25 | 25 | table, caption, tbody, tfoot, thead, tr, th, td, |
|
26 | 26 | article, aside, canvas, details, figcaption, figure, |
|
27 | 27 | footer, header, hgroup, menu, nav, section, summary, |
|
28 | 28 | time, mark, audio, video { |
|
29 | 29 | margin: 0; |
|
30 | 30 | padding: 0; |
|
31 | 31 | border: 0; |
|
32 | 32 | /* font-size: 100%;*/ |
|
33 | 33 | font: inherit; |
|
34 | 34 | vertical-align: baseline; |
|
35 | 35 | } |
|
36 | 36 | |
|
37 | 37 | article, aside, details, figcaption, figure, |
|
38 | 38 | footer, header, hgroup, menu, nav, section { |
|
39 | 39 | display: block; |
|
40 | 40 | } |
|
41 | 41 | |
|
42 | 42 | blockquote, q { quotes: none; } |
|
43 | 43 | |
|
44 | 44 | blockquote:before, blockquote:after, |
|
45 | 45 | q:before, q:after { content: ""; content: none; } |
|
46 | 46 | |
|
47 | 47 | ins { background-color: #ff9; color: #000; text-decoration: none; } |
|
48 | 48 | |
|
49 | 49 | mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; } |
|
50 | 50 | |
|
51 | 51 | del { text-decoration: line-through; } |
|
52 | 52 | |
|
53 | 53 | abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; } |
|
54 | 54 | |
|
55 | 55 | table { border-collapse: collapse; border-spacing: 0; } |
|
56 | 56 | |
|
57 | 57 | hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } |
|
58 | 58 | |
|
59 | 59 | input, select { vertical-align: middle; } |
|
60 | 60 | |
|
61 | 61 | /* Normalize monospace sizing: |
|
62 | 62 | en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */ |
|
63 | 63 | pre, code, kbd, samp { font-family: monospace, sans-serif; } |
|
64 | 64 | |
|
65 | 65 | pre { |
|
66 | 66 | text-align: left; |
|
67 | 67 | font-family: Monaco, Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; |
|
68 | 68 | font-size: 12pt; |
|
69 | 69 | } |
|
70 | 70 | |
|
71 | 71 | body { |
|
72 | 72 | background-color: white; |
|
73 | 73 | /* This won't propagate to all children so we also set it below */ |
|
74 | 74 | font-size: 12pt; |
|
75 | 75 | /* This makes sure that the body covers the entire window and needs to |
|
76 | 76 | be in a different element than the display: box in wrapper below */ |
|
77 | 77 | position: absolute; |
|
78 | 78 | left: 0px; |
|
79 | 79 | right: 0px; |
|
80 | 80 | top: 0px; |
|
81 | 81 | bottom: 0px; |
|
82 | 82 | } |
|
83 | 83 | |
|
84 | 84 | div#wrapper { |
|
85 | 85 | display: box; |
|
86 | 86 | display: -webkit-box; |
|
87 | 87 | display: -moz-box; |
|
88 | 88 | |
|
89 | 89 | box-orient: vertical; |
|
90 | 90 | -webkit-box-orient: vertical; |
|
91 | 91 | -moz-box-orient: vertical; |
|
92 | 92 | |
|
93 | 93 | /* This is needed to make sure the wrapper fills the body */ |
|
94 | 94 | width: 100%; |
|
95 | 95 | height: 100%; |
|
96 | 96 | |
|
97 | 97 | box-sizing: border-box; |
|
98 | 98 | -moz-box-sizing: border-box; |
|
99 | 99 | -webkit-box-sizing: border-box; |
|
100 | 100 | } |
|
101 | 101 | |
|
102 | 102 | span#ipython_notebook h1 { |
|
103 | 103 | font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
104 | 104 | font-size: 26pt; |
|
105 | 105 | padding: 10px; |
|
106 | 106 | margin: 10px; |
|
107 | 107 | } |
|
108 | 108 | |
|
109 | 109 | div#tools { |
|
110 | 110 | font-size: 11pt; |
|
111 | 111 | } |
|
112 | 112 | |
|
113 | 113 | span#kernel_status { |
|
114 | 114 | position: absolute; |
|
115 | 115 | top: 12%; |
|
116 | 116 | right: 10px; |
|
117 | 117 | font-weight: bold; |
|
118 | 118 | } |
|
119 | 119 | |
|
120 | 120 | .status_idle { |
|
121 | 121 | color: gray; |
|
122 | 122 | } |
|
123 | 123 | |
|
124 | 124 | .status_busy { |
|
125 | 125 | color: red; |
|
126 | 126 | } |
|
127 | 127 | |
|
128 | 128 | .status_restarting { |
|
129 | 129 | color: black; |
|
130 | 130 | } |
|
131 | 131 | |
|
132 | 132 | div.notebook { |
|
133 | 133 | /* This is a trick from Google Docs. We set the height artificially low |
|
134 | 134 | and set overflow-y: auto to force scrolling of this dev when needed, |
|
135 | 135 | but prevent the browser window from scrolling. Crazy hack */ |
|
136 | 136 | height: 15px; |
|
137 | 137 | overflow-y: auto; |
|
138 | 138 | overflow-x: hidden; |
|
139 | 139 | padding: 5px; |
|
140 | 140 | background-color: white; |
|
141 | 141 | font-size: 12pt; |
|
142 | 142 | |
|
143 | 143 | /* Allow the notebook div to take up the rest of the vertical space */ |
|
144 | 144 | box-flex: 1; |
|
145 | 145 | -webkit-box-flex: 1; |
|
146 | 146 | -moz-box-flex: 1; |
|
147 | 147 | |
|
148 | 148 | box-sizing: border-box; |
|
149 | 149 | -moz-box-sizing: border-box; |
|
150 | 150 | -webkit-box-sizing: border-box; |
|
151 | 151 | } |
|
152 | 152 | |
|
153 | 153 | div.cell { |
|
154 | 154 | width: 100%; |
|
155 | 155 | padding: 5px; |
|
156 | 156 | position: relative; |
|
157 | 157 | |
|
158 | 158 | box-sizing: border-box; |
|
159 | 159 | -moz-box-sizing: border-box; |
|
160 | 160 | -webkit-box-sizing: border-box; |
|
161 | 161 | |
|
162 | 162 | display: box; |
|
163 | 163 | display: -webkit-box; |
|
164 | 164 | display: -moz-box; |
|
165 | 165 | |
|
166 | 166 | box-orient: vertical; |
|
167 | 167 | -webkit-box-orient: vertical; |
|
168 | 168 | -moz-box-orient: vertical; |
|
169 | 169 | } |
|
170 | 170 | |
|
171 | 171 | div.code_cell { |
|
172 | 172 | background-color: white; |
|
173 | 173 | } |
|
174 | 174 | |
|
175 | 175 | div.prompt { |
|
176 | 176 | width: 90px; |
|
177 | 177 | padding: 0px; |
|
178 | 178 | margin: 0px; |
|
179 | 179 | font-family: Monaco, Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; |
|
180 | 180 | } |
|
181 | 181 | |
|
182 | 182 | div.input { |
|
183 | 183 | display: box; |
|
184 | 184 | display: -webkit-box; |
|
185 | 185 | display: -moz-box; |
|
186 | 186 | |
|
187 | 187 | box-orient: horizontal; |
|
188 | 188 | -webkit-box-orient: horizontal; |
|
189 | 189 | -moz-box-orient: horizontal; |
|
190 | 190 | } |
|
191 | 191 | |
|
192 | 192 | div.input_prompt { |
|
193 | 193 | color: blue; |
|
194 | 194 | } |
|
195 | 195 | |
|
196 | 196 | div.input_area { |
|
197 | 197 | box-flex: 1; |
|
198 | 198 | -webkit-box-flex: 1; |
|
199 | 199 | -moz-box-flex: 1; |
|
200 | 200 | |
|
201 | 201 | box-sizing: border-box; |
|
202 | 202 | -moz-box-sizing: border-box; |
|
203 | 203 | -webkit-box-sizing: border-box; |
|
204 | 204 | } |
|
205 | 205 | |
|
206 | 206 | textarea.input_textarea { |
|
207 | 207 | width: 100%; |
|
208 | 208 | text-align: left; |
|
209 | 209 | font-family: Monaco, Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; |
|
210 | 210 | font-size: 12pt; |
|
211 | 211 | border-style: none; |
|
212 | 212 | padding: 0px; |
|
213 | 213 | margin: 0px; |
|
214 | 214 | overflow: auto; |
|
215 | 215 | outline: none; |
|
216 | 216 | resize: none; |
|
217 | 217 | } |
|
218 | 218 | |
|
219 | 219 | div.output { |
|
220 | 220 | display: box; |
|
221 | 221 | display: -webkit-box; |
|
222 | 222 | display: -moz-box; |
|
223 | 223 | |
|
224 | 224 | box-orient: vertical; |
|
225 | 225 | -webkit-box-orient: vertical; |
|
226 | 226 | -moz-box-orient: vertical; |
|
227 | 227 | } |
|
228 | 228 | |
|
229 | 229 | div.output_pyout { |
|
230 | 230 | display: box; |
|
231 | 231 | display: -webkit-box; |
|
232 | 232 | display: -moz-box; |
|
233 | 233 | |
|
234 | 234 | box-orient: horizontal; |
|
235 | 235 | -webkit-box-orient: horizontal; |
|
236 | 236 | -moz-box-orient: horizontal; |
|
237 | 237 | } |
|
238 | 238 | |
|
239 | 239 | div.output_prompt { |
|
240 | 240 | color: red; |
|
241 | 241 | } |
|
242 | 242 | |
|
243 | 243 | div.output_area { |
|
244 | 244 | text-align: left; |
|
245 | 245 | color: black; |
|
246 | 246 | font-family: Monaco, Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; |
|
247 | 247 | font-size: 12pt; |
|
248 | 248 | } |
|
249 | 249 | |
|
250 | 250 | div.output_latex { |
|
251 | 251 | font-size: 13pt; |
|
252 | 252 | } |
|
253 | 253 | |
|
254 | 254 | .box_flex1 { |
|
255 | 255 | box-flex: 1; |
|
256 | 256 | -webkit-box-flex: 1; |
|
257 | 257 | -moz-box-flex: 1; |
|
258 | 258 | } |
|
259 | 259 | |
|
260 | 260 | div.text_cell { |
|
261 | 261 | background-color: white; |
|
262 | 262 | } |
|
263 | 263 | |
|
264 | 264 | textarea.text_cell_input { |
|
265 | 265 | font-family: Monaco, Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; |
|
266 | 266 | /* font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/ |
|
267 | 267 | /* Slightly bigger than the rest of the notebook */ |
|
268 | 268 | font-size: 13pt; |
|
269 | 269 | outline: none; |
|
270 | 270 | resize: none; |
|
271 | 271 | width: inherit; |
|
272 | 272 | border-style: none; |
|
273 | 273 | padding: 0px; |
|
274 | 274 | margin: 0px; |
|
275 | 275 | color: black; |
|
276 | 276 | } |
|
277 | 277 | |
|
278 | 278 | div.text_cell_render { |
|
279 | 279 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
280 | 280 | /* Slightly bigger than the rest of the notebook */ |
|
281 | 281 | font-size: 13pt; |
|
282 | 282 | outline: none; |
|
283 | 283 | resize: none; |
|
284 | 284 | width: inherit; |
|
285 | 285 | border-style: none; |
|
286 | 286 | padding: 5px; |
|
287 | 287 | color: black; |
|
288 | 288 | } |
|
289 | 289 | |
|
290 | div.text_cell_render em { | |
|
291 | font-style: italic; | |
|
292 | } | |
|
290 | div.text_cell_render em {font-style: italic;} | |
|
291 | div.text_cell_render strong {font-weight: bold;} | |
|
292 | div.text_cell_render u {text-decoration: underline;} | |
|
293 | div.text_cell_render :link { text-decoration: underline } | |
|
294 | div.text_cell_render :visited { text-decoration: underline } | |
|
295 | div.text_cell_render h1 {font-size: 2.0em; margin: .67em 0; font-weight: bold;} | |
|
296 | div.text_cell_render h2 {font-size: 1.5em; margin: .75em 0; font-weight: bold;} | |
|
297 | div.text_cell_render h3 {font-size: 1.17em; margin: .83em 0; font-weight: bold;} | |
|
298 | div.text_cell_render h4 {margin: 1.12em 0; font-weight: bold;} | |
|
299 | div.text_cell_render h5 {font-size: .83em; margin: 1.5em 0; font-weight: bold;} | |
|
300 | div.text_cell_render h6 {font-size: .75em; margin: 1.67em 0; font-weight: bold;} | |
|
301 | div.text_cell_render ul {list-style:disc; margin-left: 40px;} | |
|
302 | div.text_cell_render ul ul {list-style:square; margin-left: 40px;} | |
|
303 | div.text_cell_render ul ul ul {list-style:circle; margin-left: 40px;} | |
|
304 | div.text_cell_render ol {list-style:upper-roman; margin-left: 40px;} | |
|
305 | div.text_cell_render ol ol {list-style:upper-alpha;} | |
|
306 | div.text_cell_render ol ol ol {list-style:decimal;} | |
|
307 | div.text_cell_render ol ol ol ol {list-style:lower-alpha;} | |
|
308 | div.text_cell_render ol ol ol ol ol {list-style:lower-roman;} | |
|
293 | 309 | |
|
294 | div.text_cell_render strong { | |
|
295 | font-weight: bold; | |
|
296 | } | |
|
297 | 310 |
General Comments 0
You need to be logged in to leave comments.
Login now