-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (61 loc) · 1.46 KB
/
index.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
---
layout: base
title: anderegg.ca
---
<div id="frontPost">
{% for post in site.posts limit:8 %}
<article>
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
<h3 class="date">{{ post.date | date: "%B %e, %Y" }}</h3>
{{ post.excerpt }}
<p class="readmore"><a href="{{ post.url }}">Read more »</a></p>
<hr>
</article>
{% endfor %}
</div>
<div class="readMore">
<a href="/archives/">More articles »</a>
</div>
<style>
@media screen and (max-width: 680px) {
#content article > h2 {
padding-top: 0;
}
}
#frontPost {
@media screen and (max-width: 680px) {
padding-top: 32px;
}
h2 a {
color: #DDD;
text-decoration: none;
}
article {
&:last-of-type {
padding-bottom: 0;
hr {
display: none;
}
}
.readmore {
margin: 0;
}
hr {
box-sizing: border-box;
width: 80%;
height: 16px;
background: url(/img/pixels.png);
image-rendering: pixelated;
border-top: 8px solid rgba(0, 0, 0, 0.4);
border-left: 8px solid rgba(0, 0, 0, 0.4);
margin: 3.2em auto;
@media screen and (max-width: 680px) {
height: 8px;
border-top: 4px solid rgba(0, 0, 0, 0.4);
border-left: 4px solid rgba(0, 0, 0, 0.4);
margin: 2.8em auto;
}
}
}
}
</style>