yefeme 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +10 -0
- data/_includes/header.html +3 -0
- data/_layouts/default.html +7 -3
- data/_layouts/home.html +9 -11
- data/_layouts/post.html +9 -1
- data/_sass/yefeme.scss +95 -11
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e4bdad05fe117b91473807364d62a1380f5f283
|
4
|
+
data.tar.gz: b54ceb7fed6cd59b6d5bd1f64772efc4400a8def
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 703a6df347841ec7b688341948f24b3d5e6835831230c20dd6b4e35da94f0f8d83c23e4b3b8087da4813b5d672690afe49734d14ce3783efb806f243d9ff800a
|
7
|
+
data.tar.gz: 801ab0fe744055854dbee4fefab91e6059d70bb3862d3ef9f810e739fb7cc8a71b9ac4f08d3f20a3816124aead2658940a3478b1be802acda3d67b919e6556fc
|
data/_includes/footer.html
CHANGED
@@ -1,2 +1,12 @@
|
|
1
1
|
<footer>
|
2
|
+
<div class="content">
|
3
|
+
<div class="links">
|
4
|
+
{% if site.twitter_username %}
|
5
|
+
<a href="https://twitter.com/{{ site.twitter_username }}">twitter</a>
|
6
|
+
{% endif %}
|
7
|
+
{% if site.github_username %}
|
8
|
+
<a href="https://github.com/{{ site.github_username }}">github</a>
|
9
|
+
{% endif %}
|
10
|
+
</div>
|
11
|
+
</div>
|
2
12
|
</footer>
|
data/_includes/header.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -2,10 +2,14 @@
|
|
2
2
|
<html lang={{ page.lang | default: site.lang | default: "en" }}">
|
3
3
|
{% include head.html %}
|
4
4
|
<body>
|
5
|
-
{% include header.html %}
|
6
5
|
<div class="wrapper">
|
7
|
-
{
|
6
|
+
{% include header.html %}
|
7
|
+
<main>
|
8
|
+
<div class="content">
|
9
|
+
{{ content }}
|
10
|
+
</div>
|
11
|
+
</main>
|
12
|
+
{% include footer.html %}
|
8
13
|
</div>
|
9
|
-
{% include footer.html %}
|
10
14
|
</body>
|
11
15
|
</html>
|
data/_layouts/home.html
CHANGED
@@ -2,14 +2,12 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
<
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
</ul>
|
15
|
-
</div>
|
5
|
+
<h1>Musings</h1>
|
6
|
+
<ul class="post-list">
|
7
|
+
{% for post in site.posts %}
|
8
|
+
<li>
|
9
|
+
<h2><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h2>
|
10
|
+
<span>{{ post.date | date: "%B %-d, %Y" }}</span>
|
11
|
+
</li>
|
12
|
+
{% endfor %}
|
13
|
+
</ul>
|
data/_layouts/post.html
CHANGED
@@ -2,4 +2,12 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
|
5
|
+
<article>
|
6
|
+
<div class="post-header">
|
7
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
<p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%B %-d, %Y" }}</time></p>
|
9
|
+
</div>
|
10
|
+
<div class="post-content" itemprop="articleBody">
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
</article>
|
data/_sass/yefeme.scss
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
2
2
|
$base-font-size: 16px !default;
|
3
3
|
$base-font-weight: 400 !default;
|
4
|
-
$small-font-size: $base-font-size *
|
4
|
+
$small-font-size: $base-font-size * .875 !default;
|
5
5
|
$base-line-height: 1.5 !default;
|
6
6
|
|
7
|
-
$
|
8
|
-
$
|
7
|
+
$width: 1100px;
|
8
|
+
$spacing: 30px;
|
9
|
+
|
10
|
+
$white: #fff !default;
|
11
|
+
$gray: #47525d !default;
|
12
|
+
$dark-gray: #929faa !default;
|
13
|
+
$light-gray: #dbe4eb !default;
|
14
|
+
$lighter-gray: #f2f9ff !default;
|
15
|
+
$blue: #2d95f3;
|
9
16
|
|
10
17
|
html {
|
11
18
|
box-sizing: border-box;
|
@@ -19,23 +26,22 @@ html {
|
|
19
26
|
|
20
27
|
body,
|
21
28
|
html {
|
29
|
+
height: 100%;
|
22
30
|
margin: 0;
|
23
31
|
padding: 0;
|
24
32
|
}
|
25
33
|
|
26
34
|
body {
|
35
|
+
background-color: $white;
|
36
|
+
color: $gray;
|
27
37
|
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
28
|
-
|
29
|
-
background-color: $background-color;
|
30
|
-
-webkit-text-size-adjust: 100%;
|
31
|
-
-webkit-font-feature-settings: "kern" 1;
|
32
|
-
-moz-font-feature-settings: "kern" 1;
|
33
|
-
-o-font-feature-settings: "kern" 1;
|
34
|
-
font-feature-settings: "kern" 1;
|
38
|
+
font-feature-settings: "kern" 1;
|
35
39
|
font-kerning: normal;
|
36
40
|
}
|
37
41
|
|
38
42
|
h1 {
|
43
|
+
font-size: 28px;
|
44
|
+
line-height: 36px;
|
39
45
|
margin: 0;
|
40
46
|
}
|
41
47
|
|
@@ -46,10 +52,88 @@ ul {
|
|
46
52
|
}
|
47
53
|
|
48
54
|
h2 {
|
55
|
+
font-size: 22px;
|
56
|
+
line-height: 30px;
|
49
57
|
margin: 0;
|
50
58
|
}
|
51
59
|
|
60
|
+
a,
|
61
|
+
a:hover,
|
62
|
+
a:active,
|
63
|
+
a:focus,
|
64
|
+
a:visited {
|
65
|
+
color: $blue;
|
66
|
+
text-decoration: none;
|
67
|
+
}
|
68
|
+
|
69
|
+
a:hover {
|
70
|
+
border-bottom: 1px solid $blue;
|
71
|
+
}
|
72
|
+
|
52
73
|
.wrapper {
|
74
|
+
display: flex;
|
75
|
+
flex-direction: column;
|
76
|
+
min-height: 100%;
|
77
|
+
}
|
78
|
+
|
79
|
+
.content {
|
53
80
|
margin: 0 auto;
|
54
|
-
max-width:
|
81
|
+
max-width: $width;
|
82
|
+
padding: 0 $spacing;
|
83
|
+
}
|
84
|
+
|
85
|
+
main {
|
86
|
+
flex-grow: 1;
|
87
|
+
}
|
88
|
+
|
89
|
+
header {
|
90
|
+
border-bottom: 1px solid $light-gray;
|
91
|
+
border-top: 5px solid $light-gray;
|
92
|
+
margin: 0 0 20px;
|
93
|
+
padding: 20px 0;
|
94
|
+
|
95
|
+
a,
|
96
|
+
a:hover,
|
97
|
+
a:focus,
|
98
|
+
a:visited {
|
99
|
+
color: $gray;
|
100
|
+
}
|
101
|
+
|
102
|
+
a:hover {
|
103
|
+
border-bottom: 1px solid $gray;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
footer {
|
108
|
+
border-top: 1px solid $light-gray;
|
109
|
+
margin: 20px 0 0;
|
110
|
+
padding: 20px 0;
|
111
|
+
}
|
112
|
+
|
113
|
+
.post-list {
|
114
|
+
li {
|
115
|
+
margin: 0 0 12px;
|
116
|
+
}
|
117
|
+
|
118
|
+
li:last-child {
|
119
|
+
margin: 0;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.post-header {
|
124
|
+
margin: 0 0 20px;
|
125
|
+
|
126
|
+
.post-meta {
|
127
|
+
margin: 0;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
.post-content {
|
132
|
+
p {
|
133
|
+
margin: 0 0 12px;
|
134
|
+
}
|
135
|
+
|
136
|
+
p:last-child {
|
137
|
+
margin: 0;
|
138
|
+
}
|
55
139
|
}
|