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