-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhtml_conf.py
executable file
·74 lines (59 loc) · 970 Bytes
/
html_conf.py
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
from IPython.display import display, HTML
s = """
<style>
.rendered_html {
font-family: "proxima-nova", helvetica;
font-size: 40%;
line-height: 1.;
}
.rendered_html h1 {
margin: 0.25em 0em 0.5em;
color: #015C9C;
text-align: center;
line-height: 1.;
page-break-before: always;
}
.rendered_html h2 {
margin: 1.1em 0em 0.5em;
color: #26465D;
line-height: 1.;
}
.rendered_html h3 {
margin: 1.1em 0em 0.5em;
color: #002845;
line-height: 1.;
}
.rendered_html li {
line-height: .8;
}
.prompt {
font-size: 60%;
}
.CodeMirror-lines {
font-size: 60%;
}
.output_area {
font-size:60%;
}
h1.bigtitle {
margin: 4cm 1cm 4cm 1cm;
font-size: 200%;
}
h3.point {
font-size: 100%;
text-align: center;
margin: 2em 0em 2em 0em;
#26465D
}
.logo {
margin: 20px 0 20px 0;
}
a.anchor-link {
display: none;
}
h1.title {
font-size: 300%;
}
</style>
"""
display(HTML(s))