-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcustom.css
143 lines (127 loc) · 4.1 KB
/
custom.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/* A typographically tinkered Jupyter notebook stylesheet
*
* Copyright © 2013--2015 Jiahao Chen <[email protected]>
*
* MIT License
*
* To use, place in
*
* ~/.jupyter/custom/custom.css
*
* and refresh the page.
*
* The Jupyter server does not need to be restarted.
*
* Based on suggestions from practicaltypography.com
*/
.rendered_html ol {
list-style:decimal;
margin: 1em 2em;
}
.autosave_status, .checkpoint_status {
color: #bbbbbb;
font-family: "Fira Sans", sans-serif;
}
.filename {
font-family: "Charis SIL", "Hoefler Text", Garamond, Palatino, serif;
font-variant: small-caps;
letter-spacing: 0.08em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
.text_cell, .text_cell_render {
font-family: "Charis SIL", "Hoefler Text", Garamond, Palatino, serif;
font-size: 18px;
line-height:1.4em;
padding-left:3em;
padding-right:3em;
max-width: 36em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-variant-ligatures: contextual no-historical-ligatures common-ligatures;
}
blockquote p {
font-size: 17px;
line-height:1.2em;
font-family: "Charis SIL", "Hoefler Text", Garamond, Palatino, serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-variant-ligatures: contextual no-historical-ligatures common-ligatures;
}
.code_cell { /* Area containing both code and output */
font-family: "Source Code Pro", "Droid Sans Mono", Consolas, "Ubuntu Mono", "Liberation Mono", monospace;
background-color:#F1F0FF; /* light blue */
border-radius: 0.8em;
padding: 1em;
}
code, pre, .CodeMirror {
font-family: "Source Code Pro", "Droid Sans Mono", Consolas, "Ubuntu Mono", "Liberation Mono", monospace;
line-height:1.25em;
font-size: 16px;
}
.slide-header, p.slide-header
{
color: #498AF3;
font-size: 200%;
font-weight:bold;
margin: 0px 20px 10px;
page-break-before: always;
text-align: center;
}
div.prompt {
font-family: "Source Code Pro", "Droid Sans Mono", Consolas, "Ubuntu Mono", "Liberation Mono", monospace;
font-size: 11px;
}
div.output_area pre {
font-family: "Source Code Pro", "Droid Sans Mono", Consolas, "Ubuntu Mono", "Liberation Mono", monospace;
line-height:1.25em;
font-size: 16px;
background-color: #F4F4F4;
}
div.output_error pre {
background-color: #ffeeee;
}
.cm-header-1, .rendered_html h1 {
font-family: "Charis SIL", "Hoefler Text", Garamond, Palatino, serif;
font-size: 24px;
font-variant: small-caps;
text-rendering: auto;
letter-spacing: 0.06em;
font-variant-ligatures: contextual no-historical-ligatures common-ligatures;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
.cm-header-2, .rendered_html h2 {
font-family: "Charis SIL", "Hoefler Text", Garamond, Palatino, serif;
font-size: 21px;
font-weight: bold;
font-variant-ligatures: contextual no-historical-ligatures common-ligatures;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
.cm-header-3, .rendered_html h3 {
font-family: "Charis SIL", "Hoefler Text", Garamond, Palatino, serif;
font-size: 19px;
font-weight: bold;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-variant-ligatures: contextual no-historical-ligatures common-ligatures;
}
.cm-header-4, .rendered_html h4, .cm-header-5, .rendered_html h5, .cm-header-6, .rendered_html h6 {
font-family: "Charis SIL", "Hoefler Text", Garamond, Palatino, serif;
font-size: 18px;
font-weight: bold;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-variant-ligatures: contextual no-historical-ligatures common-ligatures;
}
.rendered_html td {
font-variant-numeric: tabular-nums;
}