Show More
@@ -1,266 +1,266 b'' | |||
|
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 | |
|
66 | 66 | |
|
67 | 67 | body { |
|
68 | 68 | background-color: white; |
|
69 | 69 | font-size: 11pt; |
|
70 | 70 | |
|
71 | 71 | /* This makes sure that the body covers the entire window and needs to |
|
72 | 72 | be in a different element than the display: box in wrapper below */ |
|
73 | 73 | position: absolute; |
|
74 | 74 | left: 0px; |
|
75 | 75 | right: 0px; |
|
76 | 76 | top: 0px; |
|
77 | 77 | bottom: 0px; |
|
78 | 78 | } |
|
79 | 79 | |
|
80 | 80 | div#wrapper { |
|
81 | 81 | display: box; |
|
82 | 82 | box-orient: vertical; |
|
83 | 83 | |
|
84 | 84 | display: -webkit-box; |
|
85 | 85 | -webkit-box-orient: vertical; |
|
86 | 86 | |
|
87 | 87 | display: -moz-box; |
|
88 | 88 | -moz-box-orient: vertical; |
|
89 | 89 | |
|
90 | 90 | /* This is needed to make sure the wrapper fills the body */ |
|
91 | 91 | width: 100%; |
|
92 | 92 | height: 100%; |
|
93 | 93 | |
|
94 | 94 | box-sizing: border-box; |
|
95 | 95 | -moz-box-sizing: border-box; |
|
96 | 96 | -webkit-box-sizing: border-box; |
|
97 | 97 | } |
|
98 | 98 | |
|
99 | 99 | span#ipython_notebook h1 { |
|
100 | 100 | font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
101 | 101 | font-size: 26pt; |
|
102 | 102 | padding: 10px; |
|
103 | 103 | margin: 10px; |
|
104 | 104 | } |
|
105 | 105 | |
|
106 | 106 | div#tools { |
|
107 |
font-size: |
|
|
107 | font-size: 10pt; | |
|
108 | 108 | } |
|
109 | 109 | |
|
110 | 110 | span#kernel_status { |
|
111 | 111 | position: absolute; |
|
112 | 112 | top: 12%; |
|
113 | 113 | right: 10px; |
|
114 | 114 | font-weight: bold; |
|
115 | 115 | } |
|
116 | 116 | |
|
117 | 117 | .status_idle { |
|
118 | 118 | color: gray; |
|
119 | 119 | } |
|
120 | 120 | |
|
121 | 121 | .status_busy { |
|
122 | 122 | color: red; |
|
123 | 123 | } |
|
124 | 124 | |
|
125 | 125 | .status_restarting { |
|
126 | 126 | color: black; |
|
127 | 127 | } |
|
128 | 128 | |
|
129 | 129 | div.notebook { |
|
130 | 130 | /* This is a trick from Google Docs. We set the height artificially low |
|
131 | 131 | and set overflow-y: auto to force scrolling of this dev when needed, |
|
132 | 132 | but prevent the browser window from scrolling. Crazy hack */ |
|
133 | 133 | height: 15px; |
|
134 | 134 | overflow-y: auto; |
|
135 | 135 | overflow-x: hidden; |
|
136 | 136 | padding: 5px; |
|
137 | 137 | /* padding-top: 5px;*/ |
|
138 | 138 | /* padding-bottom: 5px;*/ |
|
139 | 139 | background-color: white; |
|
140 | 140 | |
|
141 | 141 | /* Allow the notebook div to take up the rest of the vertical space */ |
|
142 | 142 | box-flex: 1; |
|
143 | 143 | -webkit-box-flex: 1; |
|
144 | 144 | -moz-box-flex: 1; |
|
145 | 145 | |
|
146 | 146 | box-sizing: border-box; |
|
147 | 147 | -moz-box-sizing: border-box; |
|
148 | 148 | -webkit-box-sizing: border-box; |
|
149 | 149 | } |
|
150 | 150 | |
|
151 | 151 | div.cell { |
|
152 | 152 | width: 100%; |
|
153 | 153 | padding: 5px; |
|
154 | 154 | position: relative; |
|
155 | 155 | display: table; |
|
156 | 156 | box-sizing: border-box; |
|
157 | 157 | -moz-box-sizing: border-box; |
|
158 | 158 | -webkit-box-sizing: border-box; |
|
159 | 159 | } |
|
160 | 160 | |
|
161 | 161 | div.code_cell { |
|
162 | 162 | background-color: white; |
|
163 | 163 | } |
|
164 | 164 | |
|
165 | 165 | div.prompt { |
|
166 | 166 | vertical-align: top; |
|
167 | 167 | display: table-cell; |
|
168 | 168 | width: 80px; |
|
169 | 169 | padding: 0px; |
|
170 | 170 | margin: 0px; |
|
171 | font-family: Menlo, "Courier New", Courier, mono; | |
|
171 | font-family: Monaco, Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; | |
|
172 | 172 | font-weight: normal; |
|
173 | 173 | font-style: normal; |
|
174 | 174 | } |
|
175 | 175 | |
|
176 | 176 | div.input { |
|
177 | 177 | display: box; |
|
178 | 178 | box-orient: horizontal; |
|
179 | 179 | |
|
180 | 180 | display: -webkit-box; |
|
181 | 181 | -webkit-box-orient: horizontal; |
|
182 | 182 | |
|
183 | 183 | display: -moz-box; |
|
184 | 184 | -moz-box-orient: horizontal; |
|
185 | 185 | } |
|
186 | 186 | |
|
187 | 187 | div.input_prompt { |
|
188 | 188 | color: blue; |
|
189 | 189 | } |
|
190 | 190 | |
|
191 | 191 | textarea.input_area { |
|
192 | 192 | text-align: left; |
|
193 | font-family: Menlo, "Courier New", Courier, mono; | |
|
193 | font-family: Monaco, Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; | |
|
194 | 194 | font-size: inherit; |
|
195 | 195 | border-style: none; |
|
196 | 196 | display: table-cell; |
|
197 | 197 | padding: 0px; |
|
198 | 198 | margin: 0px; |
|
199 | 199 | overflow: auto; |
|
200 | 200 | outline: none; |
|
201 | 201 | resize: none; |
|
202 | 202 | |
|
203 | 203 | box-flex: 1; |
|
204 | 204 | -webkit-box-flex: 1; |
|
205 | 205 | -moz-box-flex: 1; |
|
206 | 206 | box-sizing: border-box; |
|
207 | 207 | -moz-box-sizing: border-box; |
|
208 | 208 | -webkit-box-sizing: border-box; |
|
209 | 209 | } |
|
210 | 210 | |
|
211 | 211 | div.output { |
|
212 | 212 | display: box; |
|
213 | 213 | box-orient: horizontal; |
|
214 | 214 | |
|
215 | 215 | display: -webkit-box; |
|
216 | 216 | -webkit-box-orient: horizontal; |
|
217 | 217 | |
|
218 | 218 | display: -moz-box; |
|
219 | 219 | -moz-box-orient: horizontal; |
|
220 | 220 | } |
|
221 | 221 | |
|
222 | 222 | div.output_prompt { |
|
223 | 223 | color: red; |
|
224 | 224 | } |
|
225 | 225 | |
|
226 | 226 | div.output_area { |
|
227 | 227 | text-align: left; |
|
228 | font-family: Menlo, "Courier New", Courier, mono; | |
|
228 | font-family: Monaco, Consolas, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace; | |
|
229 | 229 | display: table-cell; |
|
230 | 230 | } |
|
231 | 231 | |
|
232 | 232 | div.text_cell { |
|
233 | 233 | background-color: white; |
|
234 | 234 | } |
|
235 | 235 | |
|
236 | 236 | textarea.text_cell_input { |
|
237 | 237 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
238 | 238 | font-size: 12pt; |
|
239 | 239 | outline: none; |
|
240 | 240 | resize: none; |
|
241 | 241 | width: inherit; |
|
242 | 242 | border-style: none; |
|
243 | 243 | padding: 0px; |
|
244 | 244 | margin: 0px; |
|
245 | 245 | color: black; |
|
246 | 246 | } |
|
247 | 247 | |
|
248 | 248 | div.text_cell_render { |
|
249 | 249 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; |
|
250 | 250 | font-size: 12pt; |
|
251 | 251 | outline: none; |
|
252 | 252 | resize: none; |
|
253 | 253 | width: inherit; |
|
254 | 254 | border-style: none; |
|
255 | 255 | padding: 5px; |
|
256 | 256 | color: black; |
|
257 | 257 | } |
|
258 | 258 | |
|
259 | 259 | div.text_cell_render em { |
|
260 | 260 | font-style: italic; |
|
261 | 261 | } |
|
262 | 262 | |
|
263 | 263 | div.text_cell_render strong { |
|
264 | 264 | font-weight: bold; |
|
265 | 265 | } |
|
266 | 266 |
General Comments 0
You need to be logged in to leave comments.
Login now