-
Notifications
You must be signed in to change notification settings - Fork 38
/
post.html
83 lines (65 loc) · 1.8 KB
/
post.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
80
81
82
83
{% include head.html %}
{% include grid-promo.html %}
<style type="text/gss">
#{{ page.uid }} {
overflow: hidden;
top: >= ::window[top];
@h |(&)| in(::window) !require;
header {
height: == &[intrinsic-height] !require;
top: == ^[top] + $top-margin !strong;
@h |-(&)-| in(^) gap($col-size);
bottom: == ^title-bottom;
h2 {
font-size: == $subtitle-font-size;
}
h1 {
font-size: == $title-font-size;
margin-bottom: == $baseline / 2;
}
}
.content h2 {
font-size: == $subtitle-font-size * 1.9;
padding: == $baseline;
margin-top: == $baseline * 2;
}
.content {
bottom: <= ^[bottom] - $top-margin / 2;
font-size: == $content-font-size;
line-height: == $baseline;
top: == ^title-bottom + $baseline;
height: == &intrinsic-height;
width: <= $max-p-width;
center-x: == ^center-x;
x: == content-left;
}
p, blockquote, pre, h2, ul, ol {
margin-bottom: == $baseline;
}
}
</style>
<style type="text/css">
.cols-2 {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: == 30px;
-moz-column-gap: == 30px;
column-gap: == 30px;
}
</style>
<section class="section color-{{page.color}}" id="{{ page.uid }}" style="position: relative">
{% if page.title %}
<header>
<h1>{{ page.title }}</h1>
<h2 class="subtitle">{{ page.subtitle }}</h2>
</header>
{% endif %}
<div class="content">
{{ content | markdownify }}
{% if page.include %}
{% include {{page.include}} %}
{% endif %}
</div>
</section>
{% include tail.html %}