Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ethen8181
GitHub Repository: ethen8181/machine-learning
Path: blob/master/notebook_format/custom2.css
1470 views
1
2
<style>
3
html {
4
font-size: 18px !important;
5
}
6
7
body {
8
background-color: #FFF !important;
9
font-weight: 1rem;
10
font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
11
}
12
13
body .notebook-app {
14
background-color: #FFF !important;
15
}
16
17
#header {
18
box-shadow: none !important;
19
}
20
21
#notebook {
22
padding-top: 0px;
23
}
24
25
#notebook-container {
26
box-shadow: none;
27
-webkit-box-shadow: none;
28
padding: 10px;
29
}
30
31
div.cell {
32
width: 1000px;
33
margin-left: 0% !important;
34
margin-right: auto;
35
}
36
37
div.cell.selected {
38
border: 1px dashed #CCCCCC;
39
}
40
41
.edit_mode div.cell.selected {
42
border: 1px dashed #828282;
43
}
44
45
div.output_wrapper {
46
margin-top: 8px;
47
}
48
49
a {
50
color: #383838;
51
}
52
53
code,
54
kbd,
55
pre,
56
samp {
57
font-family: 'Menlo', monospace !important;
58
font-size: 0.75rem !important;
59
}
60
61
h1 {
62
font-size: 2rem !important;
63
font-weight: 500 !important;
64
letter-spacing: 3px !important;
65
text-transform: uppercase !important;
66
}
67
68
h2 {
69
font-size: 1.8rem !important;
70
font-weight: 400 !important;
71
letter-spacing: 3px !important;
72
text-transform: none !important;
73
}
74
75
h3 {
76
font-size: 1.5rem !important;
77
font-weight: 400 !important;
78
font-style: italic !important;
79
display: block !important;
80
}
81
82
h4,
83
h5,
84
h6 {
85
font-size: 1rem !important;
86
font-weight: 400 !important;
87
display: block !important;
88
}
89
90
.prompt {
91
font-family: 'Menlo', monospace !important;
92
font-size: 0.75rem;
93
text-align: right;
94
line-height: 1.21429rem;
95
}
96
97
/* INTRO PAGE */
98
99
.toolbar_info,
100
.list-container {
101
;
102
}
103
/* NOTEBOOK */
104
105
div#header-container {
106
display: none !important;
107
}
108
109
div#notebook {
110
border-top: none;
111
font-size: 1rem;
112
}
113
114
div.input_prompt {
115
color: #C74483;
116
}
117
118
.code_cell div.input_prompt:after,
119
div.output_prompt:after {
120
content: '\25b6';
121
}
122
123
div.output_prompt {
124
color: #2B88D9;
125
}
126
127
div.input_area {
128
border-radius: 0px;
129
border: 1px solid #d8d8d8;
130
}
131
132
div.output_area pre {
133
font-weight: normal;
134
}
135
136
div.output_subarea {
137
font-weight: normal;
138
}
139
140
.rendered_html pre,
141
.rendered_html table,
142
.rendered_html th,
143
.rendered_html tr,
144
.rendered_html td {
145
border: 1px #828282 solid;
146
font-size: 0.75rem;
147
font-family: 'Menlo', monospace;
148
}
149
150
.rendered_html th,
151
.rendered_html tr,
152
.rendered_html td {
153
padding: 5px 10px;
154
}
155
156
.rendered_html th {
157
font-weight: normal;
158
background: #f8f8f8;
159
}
160
161
a:link{
162
font-weight: bold;
163
color:#447adb;
164
}
165
a:visited{
166
font-weight: bold;
167
color: #1d3b84;
168
}
169
a:hover{
170
font-weight: bold;
171
color: #1d3b84;
172
}
173
a:focus{
174
font-weight: bold;
175
color:#447adb;
176
}
177
a:active{
178
font-weight: bold;
179
color:#447adb;
180
}
181
.rendered_html :link {
182
text-decoration: underline;
183
}
184
185
div.output_html {
186
font-weight: 1rem;
187
font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
188
}
189
190
table.dataframe tr {
191
border: 1px #CCCCCC;
192
}
193
194
div.cell.selected {
195
border-radius: 0px;
196
}
197
198
div.cell.edit_mode {
199
border-radius: 0px;
200
border: thin solid #CF5804;
201
}
202
203
span.ansiblue {
204
color: #00A397;
205
}
206
207
span.ansigray {
208
color: #d8d8d8;
209
}
210
211
span.ansigreen {
212
color: #688A0A;
213
}
214
215
span.ansipurple {
216
color: #975DDE;
217
}
218
219
span.ansired {
220
color: #D43132;
221
}
222
223
span.ansiyellow {
224
color: #D9AA00;
225
}
226
227
div.output_stderr {
228
background-color: #D43132;
229
}
230
231
div.output_stderr pre {
232
color: #e8e8e8;
233
}
234
235
.cm-s-ipython.CodeMirror {
236
background: #F8F8F8;
237
}
238
239
.cm-s-ipython div.CodeMirror-selected {
240
background: #e8e8e8 !important;
241
}
242
243
.cm-s-ipython .CodeMirror-gutters {
244
background: #F8F8F8;
245
border-right: 0px;
246
}
247
248
.cm-s-ipython .CodeMirror-linenumber {
249
color: #b8b8b8;
250
}
251
252
.cm-s-ipython .CodeMirror-cursor {
253
border-left: 1px solid #585858 !important;
254
}
255
256
.cm-s-ipython span.cm-atom {
257
color: #C74483;
258
}
259
260
.cm-s-ipython span.cm-number {
261
color: #C74483;
262
}
263
264
.cm-s-ipython span.cm-property,
265
.cm-s-ipython span.cm-attribute {
266
color: #688A0A;
267
}
268
269
.cm-s-ipython span.cm-keyword {
270
font-weight: normal;
271
color: #D43132;
272
}
273
274
.cm-s-ipython span.cm-string {
275
color: #D9AA00;
276
}
277
278
.cm-s-ipython span.cm-operator {
279
font-weight: normal;
280
}
281
282
.cm-s-ipython span.cm-builtin {
283
color: #2B88D9;
284
}
285
286
.cm-s-ipython span.cm-variable {
287
color: #00A397;
288
}
289
290
.cm-s-ipython span.cm-variable-2 {
291
color: #2B88D9;
292
}
293
294
.cm-s-ipython span.cm-def {
295
color: #00A397;
296
}
297
298
.cm-s-ipython span.cm-error {
299
background: #FFBDBD;
300
color: #D43132;
301
}
302
303
.cm-s-ipython span.cm-tag {
304
color: #D43132;
305
}
306
307
.cm-s-ipython span.cm-link {
308
color: #975DDE;
309
}
310
311
.cm-s-ipython .CodeMirror-matchingbracket {
312
text-decoration: underline;
313
!important;
314
}
315
</style>
316
317
<script>
318
MathJax.Hub.Config({
319
TeX: {
320
extensions: ["AMSmath.js"]
321
},
322
tex2jax: {
323
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
324
displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
325
},
326
displayAlign: 'center', // Change this to 'center' to center equations.
327
"HTML-CSS": {
328
scale:100,
329
availableFonts: [],
330
preferredFont:null,
331
webFont: "TeX",
332
styles: {'.MathJax_Display': {"margin": 4}}
333
}
334
});
335
</script>
336