forked from titipata/customize_ipython_notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom_nb.css
161 lines (128 loc) · 2.74 KB
/
custom_nb.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
<style>
@import url('http://fonts.googleapis.com/css?family=Crimson+Text');
@import url('http://fonts.googleapis.com/css?family=Kameron');
@import url('http://fonts.googleapis.com/css?family=Lato:200');
@import url('http://fonts.googleapis.com/css?family=Lato:300');
@import url('http://fonts.googleapis.com/css?family=Lato:400');
/* Change code font */
.CodeMirror pre {
font-family: Monaco;
font-size: 9pt;
}
div.output pre{
font-family: Monaco;
font-size: 9pt;
}
div.output_html td{
font-family: Monaco;
font-size: 8pt;
}
div.prompt{
font-family: Monaco;
font-size: 8pt;
}
div.completions select{
font-family: Monaco;
font-size: 9pt;
}
div.container pre{
font-family: Monaco;
font-size: 9pt;
}
div.tooltiptext pre{
font-family: Monaco;
font-size: 8pt;
}
div.input_area {
border-color: rgba(0,0,0,0.10);
background: rbga(0,0,0,0.5);
}
div.text_cell {
max-width: 105ex; /* instead of 100%, */
}
div.text_cell_render {
font-family: lato, "Crimson Text";
font-size: 11pt;
line-height: 145%; /* added for some line spacing of text. */
}
div.text_cell_render h1,
div.text_cell_render h2,
div.text_cell_render h3,
div.text_cell_render h4,
div.text_cell_render h5,
div.text_cell_render h6 {
font-family: lato, 'HelveticaNeue-Light';
font-weight: 300;
}
div.text_cell_render h1 {
font-size: 24pt;
}
div.text_cell_render h2 {
font-size: 18pt;
}
div.text_cell_render h3 {
font-size: 14pt;
}
.rendered_html pre,
.rendered_html code {
font-size: medium;
}
.rendered_html ol {
list-style:decimal;
margin: 1em 2em;
}
.prompt.input_prompt {
color: rgba(0,0,0,0.5);
}
.cell.command_mode.selected {
border-color: rgba(0,0,0,0.1);
}
.cell.edit_mode.selected {
border-color: rgba(0,0,0,0.15);
box-shadow: 0px 0px 5px #f0f0f0;
-webkit-box-shadow: 0px 0px 5px #f0f0f0;
}
div.output_scroll {
-webkit-box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
border-radious: 2px;
}
#menubar .navbar-inner {
background: #fff;
-webkit-box-shadow: none;
box-shadow: none;
border-radius: 0;
border: none;
font-family: lato;
font-weight: 400;
}
.navbar-fixed-top .navbar-inner,
.navbar-static-top .navbar-inner {
box-shadow: none;
-webkit-box-shadow: none;
border: none;
}
div#notebook_panel {
box-shadow: none;
-webkit-box-shadow: none;
border-top: none;
}
div#notebook {
border-top: 1px solid rgba(0,0,0,0.15);
}
#menubar .navbar .navbar-inner,
.toolbar-inner {
padding-left: 0;
padding-right: 0;
}
#checkpoint_status,
#autosave_status {
color: rgba(0,0,0,0.5);
}
#header {
font-family: lato;
}
#notebook_name {
font-weight: 200;
}
</style>