Skip to content

Commit da85ce1

Browse files
committed
new example.css file
1 parent 71dedd2 commit da85ce1

File tree

1 file changed

+116
-0
lines changed

1 file changed

+116
-0
lines changed

files/example.css

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<link href='http://fonts.googleapis.com/css?family=Alegreya+Sans:100,300,400,500,700,800,900,100italic,300italic,400italic,500italic,700italic,800italic,900italic' rel='stylesheet' type='text/css'>
2+
<link href='http://fonts.googleapis.com/css?family=Arvo:400,700,400italic' rel='stylesheet' type='text/css'>
3+
<link href='http://fonts.googleapis.com/css?family=PT+Mono' rel='stylesheet' type='text/css'>
4+
<link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light' rel='stylesheet' type='text/css'>
5+
<link href='http://fonts.googleapis.com/css?family=Philosopher:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
6+
7+
<style>
8+
9+
@font-face {
10+
font-family: "Computer Modern";
11+
src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');
12+
}
13+
14+
#notebook_panel { /* main background */
15+
background: #888;
16+
color: #f6f6f6;
17+
}
18+
19+
div.cell { /* set cell width to about 80 chars */
20+
width: 800px;
21+
}
22+
23+
div #notebook { /* centre the content */
24+
background: #fff; /* white background for content */
25+
width: 1000px;
26+
margin: auto;
27+
padding-left: 1em;
28+
}
29+
30+
#notebook li { /* More space between bullet points */
31+
margin-top:0.8em;
32+
}
33+
34+
/* draw border around running cells */
35+
div.cell.border-box-sizing.code_cell.running {
36+
border: 3px solid #111;
37+
}
38+
39+
/* Put a solid color box around each cell and its output, visually linking them together */
40+
div.cell.code_cell {
41+
background-color: rgba(171,165,131,1.0);
42+
border-radius: 10px; /* rounded borders */
43+
padding: 1em;
44+
margin-top: 1em;
45+
}
46+
47+
div.text_cell_render{
48+
font-family: 'Arvo' sans-serif;
49+
line-height: 130%;
50+
font-size: 115%;
51+
width:700px;
52+
margin-left:auto;
53+
margin-right:auto;
54+
}
55+
56+
57+
/* Formatting for header cells */
58+
.text_cell_render h1 {
59+
font-family: 'Philosopher', sans-serif;
60+
font-weight: 400;
61+
font-size: 40pt;
62+
line-height: 100%;
63+
color: rgb(12,85,97);
64+
margin-bottom: 0.1em;
65+
margin-top: 0.1em;
66+
display: block;
67+
}
68+
.text_cell_render h2 {
69+
font-family: 'Philosopher', serif;
70+
font-weight: 700;
71+
font-size: 24pt;
72+
line-height: 100%;
73+
color: rgb(171,165,131);
74+
margin-bottom: 0.1em;
75+
margin-top: 0.1em;
76+
display: block;
77+
}
78+
79+
.text_cell_render h3 {
80+
font-family: 'Philosopher', serif;
81+
margin-top:12px;
82+
margin-bottom: 3px;
83+
font-style: italic;
84+
color: rgb(95,92,72);
85+
}
86+
87+
.text_cell_render h4 {
88+
font-family: 'Philosopher', serif;
89+
}
90+
91+
.text_cell_render h5 {
92+
font-family: 'Alegreya Sans', sans-serif;
93+
font-weight: 300;
94+
font-size: 16pt;
95+
color: grey;
96+
font-style: italic;
97+
margin-bottom: .1em;
98+
margin-top: 0.1em;
99+
display: block;
100+
}
101+
102+
.text_cell_render h6 {
103+
font-family: 'PT Mono', sans-serif;
104+
font-weight: 300;
105+
font-size: 10pt;
106+
color: grey;
107+
margin-bottom: 1px;
108+
margin-top: 1px;
109+
}
110+
111+
.CodeMirror{
112+
font-family: "PT Mono";
113+
font-size: 100%;
114+
}
115+
116+
</style>

0 commit comments

Comments
 (0)