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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b503118a1125d6f426fcba814e432c4162e0039302fbfa98f3d263c7b4da4775
4
- data.tar.gz: 46ab5bb4f7110ce3f9237039385b5e707b71c32a2ea61272dc99da51f52a5687
3
+ metadata.gz: 6a514fb49854f91ca33d132c60981232fefc1ea9bc8fda69e1f0b74223b1e134
4
+ data.tar.gz: d976b7d1d3ce79c3f758cb57f7f219197641ccd0a228d5de693163369a3ea9c8
5
5
  SHA512:
6
- metadata.gz: 05ce4ee27b7adea9d723b460bd4fc1e2c336b271bf54e333af4755ce4c6c3a7312d9cdc27f251740e32c3bf3130205c0ab6e89ae31f87cc672b2a496d6787083
7
- data.tar.gz: 686622382a0f866d82488c413c9dc596313eb31d8c71d6a92cf6eac694c0fa1ca0e1b17eac9792cf2e4b8e17397b4acbc81ab1c93f0d52cb1b007a2be8d9cf39
6
+ metadata.gz: ab39b02cfb07d82086aa24083a8b97193b276572596b085c36e1182dd92f29827b6576027ce33cf092fb06cf115b65c59dd4a3dbc2f3e85c004f3d8ea62c5ecf
7
+ data.tar.gz: e7d38224ab0379fbdb2798fcfd9aa76874961aca94fdeae4a30c3f8f49a16429a4c4abb68cc650d7bbbb211de16feab973c0307af3332343ab383a052429bed2
@@ -1,6 +1,6 @@
1
1
  {% for post in site.posts %}
2
2
  <div class="post">
3
- <h5 class="kicker">Filed under {{ post.kicker }} ▪︎ {{ post.date | date: "%m.%d.%Y" }} </h5>
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>
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <h5 class="kicker">Filed under {{ page.kicker }} ▪︎ {{ page.date | date: "%m.%d.%Y" }} </h5>
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>
@@ -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: 40px;
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: 34px;
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-size: 28px;
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: 30px;
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: 26px;
96
+ font-size: $ptsize * pow($scalefactor, 1);
81
97
  line-height: 140%;
82
98
  }
83
99
  h5 {
84
- font-size: 18px;
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: 14px;
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: 24px;
114
+ font-size: $ptsize;
100
115
  font-weight: 400;
101
- line-height: 150%;
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: 800px;
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: 20px;
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: 20px;
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: 30px;
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: 20px;
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: 16px;
257
+ font-size: $ptsize/1.2;
242
258
  margin-bottom: 160px;
243
259
  color: grey;
244
260
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: space-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - '0xf17'