space-jekyll-theme 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/posts.html +1 -1
- data/_layouts/post.html +1 -1
- data/_sass/main.scss +33 -17
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a514fb49854f91ca33d132c60981232fefc1ea9bc8fda69e1f0b74223b1e134
|
4
|
+
data.tar.gz: d976b7d1d3ce79c3f758cb57f7f219197641ccd0a228d5de693163369a3ea9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab39b02cfb07d82086aa24083a8b97193b276572596b085c36e1182dd92f29827b6576027ce33cf092fb06cf115b65c59dd4a3dbc2f3e85c004f3d8ea62c5ecf
|
7
|
+
data.tar.gz: e7d38224ab0379fbdb2798fcfd9aa76874961aca94fdeae4a30c3f8f49a16429a4c4abb68cc650d7bbbb211de16feab973c0307af3332343ab383a052429bed2
|
data/_includes/posts.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{% for post in site.posts %}
|
2
2
|
<div class="post">
|
3
|
-
<
|
3
|
+
<h6 class="kicker">Filed under {{ post.kicker }} ▪︎ {{ post.date | date: "%m.%d.%Y" }} </h6>
|
4
4
|
<h1 class="title">
|
5
5
|
<a href="{{ post.url }}">{{ post.title }}</a>
|
6
6
|
</h1>
|
data/_layouts/post.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
4
|
+
<p class="kicker">Filed under {{ page.kicker }} ▪︎ {{ page.date | date: "%m.%d.%Y" }} </p>
|
5
5
|
<h1>{{ page.title }}</h1>
|
6
6
|
<h2 class="subtitle">{{ page.subtitle }}</h2>
|
7
7
|
<div class="meta"><p>By {{ page.author }}</p></div>
|
data/_sass/main.scss
CHANGED
@@ -7,9 +7,24 @@ $mono-font : "Inconsolata";
|
|
7
7
|
$orange : #fd5200;
|
8
8
|
$rust : #af3800;
|
9
9
|
|
10
|
+
$ptsize : 25px;
|
11
|
+
$scalefactor : 1.333;
|
12
|
+
@function pow($number, $exponent) {
|
13
|
+
$value: 1;
|
14
|
+
|
15
|
+
@if $exponent > 0 {
|
16
|
+
@for $i from 1 through $exponent {
|
17
|
+
$value: $value * $number;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
@return $value;
|
22
|
+
}
|
23
|
+
|
10
24
|
* {
|
11
25
|
box-sizing: border-box;
|
12
26
|
text-rendering: optimizeLegibility;
|
27
|
+
font-kerning: normal;
|
13
28
|
}
|
14
29
|
|
15
30
|
.logo {
|
@@ -23,7 +38,7 @@ h4,
|
|
23
38
|
h5,
|
24
39
|
h6, blockquote {
|
25
40
|
font-family: $display-font;
|
26
|
-
font-weight: normal;
|
41
|
+
// font-weight: normal;
|
27
42
|
}
|
28
43
|
|
29
44
|
a {
|
@@ -39,7 +54,7 @@ a:hover {
|
|
39
54
|
}
|
40
55
|
|
41
56
|
h1 {
|
42
|
-
font-size:
|
57
|
+
font-size: $ptsize * pow($scalefactor, 3);
|
43
58
|
line-height: 120%;
|
44
59
|
margin-top: 80px;
|
45
60
|
margin-bottom: 40px;
|
@@ -56,7 +71,7 @@ h1.title {
|
|
56
71
|
|
57
72
|
h2 {
|
58
73
|
color: $orange;
|
59
|
-
font-size:
|
74
|
+
font-size: $ptsize * pow($scalefactor, 2);
|
60
75
|
line-height: 160%;
|
61
76
|
margin-top: 60px;
|
62
77
|
margin-bottom: 40px;
|
@@ -64,41 +79,41 @@ h2 {
|
|
64
79
|
|
65
80
|
h2.subtitle {
|
66
81
|
font-weight: 200;
|
67
|
-
font-
|
82
|
+
font-style: italic;
|
83
|
+
font-size: $ptsize * pow($scalefactor, 2);
|
68
84
|
font-family: $body-font;
|
69
85
|
margin-top: -30px;
|
70
86
|
}
|
71
87
|
|
72
88
|
h3 {
|
73
|
-
font-size:
|
89
|
+
font-size: $ptsize * pow($scalefactor, 1);
|
74
90
|
line-height: 150%;
|
75
91
|
margin-top: 40px;
|
76
92
|
margin-bottom: 20px;
|
77
93
|
}
|
78
94
|
|
79
95
|
h4 {
|
80
|
-
font-size:
|
96
|
+
font-size: $ptsize * pow($scalefactor, 1);
|
81
97
|
line-height: 140%;
|
82
98
|
}
|
83
99
|
h5 {
|
84
|
-
font-size:
|
100
|
+
font-size: $ptsize * pow($scalefactor, 1);
|
85
101
|
letter-spacing: 1px;
|
86
102
|
text-transform: uppercase;
|
87
103
|
line-height: 140%;
|
88
104
|
}
|
89
105
|
h6 {
|
90
|
-
font-size:
|
106
|
+
font-size: $ptsize;
|
91
107
|
letter-spacing: 2px;
|
92
108
|
text-transform: uppercase;
|
93
109
|
line-height: 140%;
|
94
110
|
}
|
95
111
|
|
96
112
|
p {
|
97
|
-
// color: #353535;
|
98
113
|
color: black;
|
99
|
-
font-size:
|
114
|
+
font-size: $ptsize;
|
100
115
|
font-weight: 400;
|
101
|
-
line-height:
|
116
|
+
line-height: 145%;
|
102
117
|
margin-top: 40px;
|
103
118
|
margin-bottom: 40px;
|
104
119
|
}
|
@@ -131,7 +146,7 @@ iframe {
|
|
131
146
|
background-color: white;
|
132
147
|
margin: 2em auto 2em auto;
|
133
148
|
padding: 0 2em 0 2em;
|
134
|
-
max-width:
|
149
|
+
max-width: 760px;
|
135
150
|
@include sm {
|
136
151
|
margin: 2em auto 2em auto;
|
137
152
|
padding: 0 2em 0 2em;
|
@@ -145,7 +160,7 @@ nav {
|
|
145
160
|
margin-top: 40px;
|
146
161
|
margin-bottom: 40px;
|
147
162
|
font-family: $display-font;
|
148
|
-
font-size:
|
163
|
+
font-size: $ptsize;
|
149
164
|
|
150
165
|
a {
|
151
166
|
color: black;
|
@@ -185,7 +200,7 @@ nav {
|
|
185
200
|
|
186
201
|
table {
|
187
202
|
text-align: left;
|
188
|
-
font-size:
|
203
|
+
font-size: $ptsize;
|
189
204
|
|
190
205
|
caption {
|
191
206
|
text-align: left;
|
@@ -200,13 +215,14 @@ li {
|
|
200
215
|
blockquote {
|
201
216
|
font-family: $body-font;
|
202
217
|
color: black;
|
203
|
-
font-size:
|
218
|
+
font-size: $ptsize * pow($scalefactor, 1);
|
204
219
|
// font-style: italic;
|
205
220
|
line-height: 140%;
|
206
221
|
margin-top: 40px;
|
207
222
|
margin-bottom: 40px;
|
208
223
|
p {
|
209
224
|
color: inherit;
|
225
|
+
font-style: italic;
|
210
226
|
}
|
211
227
|
}
|
212
228
|
|
@@ -221,7 +237,7 @@ kbd {
|
|
221
237
|
}
|
222
238
|
|
223
239
|
pre {
|
224
|
-
font-size:
|
240
|
+
font-size: $ptsize;
|
225
241
|
}
|
226
242
|
|
227
243
|
cite {
|
@@ -238,7 +254,7 @@ hr {
|
|
238
254
|
|
239
255
|
footer {
|
240
256
|
margin-top: 80px;
|
241
|
-
font-size:
|
257
|
+
font-size: $ptsize/1.2;
|
242
258
|
margin-bottom: 160px;
|
243
259
|
color: grey;
|
244
260
|
|