/
template.html
79 lines (66 loc) · 1.16 KB
/
template.html
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
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://sindresorhus.com/github-markdown-css/github-markdown.css">
<style>
body {
font-family: Helvetica;
font-size: 20px;
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
}
.sidenav {
font-size: 14px;
float: left;
height: 100%;
width: 160px;
list-style: none;
}
.sidenav ul {
list-style: none;
}
article {
float: right;
max-width:600px
}
iframe {
width: 100%;
max-width: 640px;
}
.video-container {
position:relative;
padding-bottom:56.25%;
padding-top:30px;
height:0;
overflow:hidden;
}
.video-container iframe, .video-container object, .video-container embed {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}
@media (max-width: 767px) {
body {
padding: 15px;
}
.sidenav {
display: none;
}
}
.header ul {
list-style: none;
padding-left: 0px;
}
</style>
<div class="header">
{{{navbar}}}
</div>
<div class="sidenav">
{{{sidebar}}}
</div>
<article class="markdown-body" style="font-size: 20px;">
{{{main_content}}}
</article>