-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
213 lines (180 loc) · 4.23 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,800,700italic');
@import url('http://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700');
@import url('http://fonts.googleapis.com/css?family=Source+Serif+Pro');
html {
font-size: 62.5%;
}
#notebook_panel { /* main background */
background: #f0f0f0;
}
div.cell {
width: 90%;
margin-left: auto;
margin-right: auto;
}
div.cell.selected {
border-color: #f5f5f5;
}
div #notebook { /* centre the content */
background: #fff; /* white background for content */
/* set cell width to about 80 chars */
width: 65%;
margin-left: auto;
margin-right: auto;
}
#notebook .container {
width: 100%;
}
/* draw border around running cells */
div.cell.border-box-sizing.code_cell.running {
border: 3px solid #333;
}
/* Put a solid color box around each cell and its output, visually linking them together */
div.cell.code_cell {
/* background-color: #f4f3e0; */
/* border-radius: 10px; */
/* padding: 1em;*/
/* margin-top: 1em;*/
}
/* Formatting for header cells */
div.text_cell_render h1 {
font-family: 'Open Sans', sans-serif;
font-weight: 100;
font-size: 3.6rem;
line-height: 100%;
/* margin-bottom: 0.1rem;*/
/* margin-top: 0.1rem;*/
color: #3f3f3f;
display: block;
}
div.text_cell_render h2 {
font-family: 'Open Sans', sans-serif;
font-weight: 100;
font-size: 3.2rem;
line-height: 100%;
color: #cc0000;
/* margin-bottom: 0.1rem;*/
/* margin-top: 0.1rem;*/
display: block;
}
div.text_cell_render h3 {
font-family: 'Open Sans', sans-serif;
font-weight: 100;
font-size: 4.8rem;
/* margin-top:12px;*/
/* margin-bottom: 3px;*/
color: #3f3f3f;
}
div.text_cell_render h4 {
font-family: 'Open Sans', sans-serif;
font-weight: 100;
font-size: 2.2rem;
line-height: 100%;
color: #3f3f3f;
/* margin-bottom: 0.1rem;*/
/* margin-top: 0.1rem;*/
display: block;
}
div.text_cell_render h5 {
font-family: 'Open Sans', sans-serif;
font-weight: 100;
font-size: 1.9rem;
line-height: 100%;
color: #3f3f3f;
/* margin-bottom: 0.1rem;*/
/* margin-top: 0.1rem;*/
display: block;
}
div.text_cell_render h6 {
font-family: 'Open Sans', sans-serif;
font-weight: 100;
font-size: 1.7rem;
line-height: 100%;
color: #3f3f3f;
/* margin-bottom: 0.1rem;*/
/* margin-top: 0.1rem;*/
display: block;
}
div.text_cell_render {
color: #404040;
font-family: 'Roboto Slab', Baskerville, Georgia, serif;
font-size: 1.6rem;
line-height: 2.6rem; /* added for some line spacing of text. */
}
.CodeMirror pre {
font-family: 'Source Code Pro', Consolas, monocco, monospace;
}
.text_cell_render table > td {
text-align: left;
vertical-align: top;
padding: 1rem 0 4rem 0;
margin-bottom: 1em;
border-top: 1px solid #efefef;
}
.math,
.MathJax_Display {
color: #05b9ff;
}
.text_cell_render .theorem {
padding: 3rem;
margin: auto;
border: 1px solid #05b9ff;
}
.text_cell_render ol.alpha > li {
list-style-type: upper-alpha;
}
.text_cell_render ol.roman > li {
list-style-type: upper-roman;
}
.text_cell_render table {
margin-top: 4rem;
}
.text_cell_render table,
.text_cell_render table tr,
.text_cell_render table td
{
border: 0;
border-left: 0;
border-right: 0;
border-bottom: 0;
}
.text_cell_render table td {
text-align: left;
vertical-align: top;
padding: 1rem 0 4rem 0;
margin-bottom: 1em;
border-top: 1px dotted #e2e2e2;
}
.text_cell_render table.no-border {
margin-top: 0;
}
.text_cell_render table.no-border td {
border-top: none;
}
/** Custom counters for Ordered List elements **/
@counter-style cs-alphabetic {
system: alphabetic;
symbols: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z;
suffix: ") ";
}
.text_cell_render ol.outline li span.section::before {
content: "Section: ";
}
.text_cell_render ol.outline li span.section,
.text_cell_render ol.outline li span.section::before {
font-weight: bold;
}
/** -------------------------------------------------------------------- **/
/** Media Queries
* Modify notebook layout based on parameters like screen width, etc.
*/
/** If the width of the viewport (i.e. browser window) is less
* than 1000px, let the content container consume more horizontal
* space.
*/
@media all and (max-width: 800px) {
div #notebook { width: 95%; }
#notebook .container {
width: 100%;
}
}