forked from daniel-koehn/Theory-of-seismic-waves-II
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
executable file
·149 lines (131 loc) · 3.59 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
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,300i,400,400i,700,700i,900,900i" rel='stylesheet' >
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,700,700i" rel='stylesheet' >
<link href='http://fonts.googleapis.com/css?family=Source+Code+Pro:300,400' rel='stylesheet' >
<style>
@font-face {
font-family: "Computer Modern";
src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');
}
#notebook_panel { /* main background */
background: rgb(245,245,245);
}
div.cell { /* set cell width */
width: 800px;
}
div #notebook { /* centre the content */
background: #fff; /* white background for content */
width: 1000px;
margin: auto;
padding-left: 0em;
}
#notebook li { /* More space between bullet points */
margin-top:0.5em;
}
/* draw border around running cells */
div.cell.border-box-sizing.code_cell.running {
border: 1px solid #111;
}
/* Put a solid color box around each cell and its output, visually linking them*/
div.cell.code_cell {
background-color: rgb(256,256,256);
border-radius: 0px;
padding: 0.5em;
margin-left:1em;
margin-top: 1em;
}
div.text_cell_render{
font-family: 'Source Sans Pro', sans-serif;
line-height: 140%;
font-size: 110%;
width:680px;
margin-left:auto;
margin-right:auto;
}
/* Formatting for header cells */
.text_cell_render h1 {
font-family: 'Merriweather', serif;
font-style:regular;
font-weight: bold;
font-size: 250%;
line-height: 100%;
color: #004065;
margin-bottom: 1em;
margin-top: 0.5em;
display: block;
}
.text_cell_render h2 {
font-family: 'Merriweather', serif;
font-weight: bold;
font-size: 180%;
line-height: 100%;
color: #0096d6;
margin-bottom: 0.5em;
margin-top: 0.5em;
display: block;
}
.text_cell_render h3 {
font-family: 'Merriweather', serif;
font-size: 150%;
margin-top:12px;
margin-bottom: 3px;
font-style: regular;
color: #008367;
}
.text_cell_render h4 { /*Use this for captions*/
font-family: 'Merriweather', serif;
font-weight: 300;
font-size: 100%;
line-height: 120%;
text-align: left;
width:500px;
margin-top: 1em;
margin-bottom: 2em;
margin-left: 80pt;
font-style: regular;
}
.text_cell_render h5 { /*Use this for small titles*/
font-family: 'Source Sans Pro', sans-serif;
font-weight: regular;
font-size: 130%;
color: #e31937;
font-style: italic;
margin-bottom: .5em;
margin-top: 1em;
display: block;
}
.text_cell_render h6 { /*use this for copyright note*/
font-family: 'Source Code Pro', sans-serif;
font-weight: 300;
font-size: 9pt;
line-height: 100%;
color: grey;
margin-bottom: 1px;
margin-top: 1px;
}
.CodeMirror{
font-family: "Source Code Pro";
font-size: 90%;
}
/* .prompt{
display: None;
}*/
.warning{
color: rgb( 240, 20, 20 )
}
</style>
<script>
MathJax.Hub.Config({
TeX: {
extensions: ["AMSmath.js"],
equationNumbers: { autoNumber: "AMS", useLabelIds: true}
},
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
},
displayAlign: 'center', // Change this to 'center' to center equations.
"HTML-CSS": {
styles: {'.MathJax_Display': {"margin": 4}}
}
});
</script>