jekyll-theme-low 1.3.1 → 1.3.3

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: 1dd2772921a98acd512bc0ce8c876ec2080a3ed7d31cc7fd550a72361147f04f
4
- data.tar.gz: 6e510b6feb6a336131edd3697258957f83cb60c69e42d2b369867b2f0ef7f3a5
3
+ metadata.gz: e3d74fe6edc106955fc1661ce4407689a80eee0f3458266625b4561df12ee673
4
+ data.tar.gz: 7bc022f78ce9ccd3ba1a11c3fcd2abeb959fa4f4598e4d0d89bfdc7c02149b77
5
5
  SHA512:
6
- metadata.gz: da7d0d7c3a5f7ebf8a14c1c7141d42557912d01c671c3205fe27e80573d5496ea01c098fbcb71da2e94b033f22f66ec881491120f95f6465e3924e4f9ca9ea0d
7
- data.tar.gz: 7d7da572c7613ff8942f1bc7fa9d57e7d868f5f7fc96190775485a05bcf4d1cb107d66dab3b4d6321b0ddbaf7d0dd8acc7a897892f088fc9edb5c37339db3f3d
6
+ metadata.gz: 146a0972b4b5c5790cfafec9d90936f922fb26d2df7579be3c313c87b52426e74dc36c8b7d348cb7c9ae55859be6ca980edee2c961ada02c53c5bd57419db954
7
+ data.tar.gz: 0ce5827d5197bed7249257f2afeabe9b9559b2509d66ee5d41550f65b7d8a775938a9f3c60f0e53ea901e47bc534bf3230b5d58d71075866883e602f6c144f20
@@ -8,11 +8,9 @@ layout: nil
8
8
  </head>
9
9
  <body>
10
10
  {% include header.html %}
11
- <div style="margin-bottom: 2ch; text-transform: none;"></div>
12
11
  <main class="container">
13
12
  {{ content }}
14
13
  </main>
15
14
  {% include footer.html %}
16
15
  </body>
17
16
  </html>
18
-
data/_layouts/home.html CHANGED
@@ -3,18 +3,13 @@ layout: default
3
3
  ---
4
4
  <h1 class="heading">{{ site.tagline | default: site.title }}</h1>
5
5
  <hr>
6
-
7
6
  <p>{{ site.description }}</p>
8
-
9
7
  {{ content }}
10
-
11
8
  <h2 class="heading">Articles</h2>
12
9
  <hr>
13
10
  {% include post-list.html %}
14
-
15
11
  <h2 class="heading">Projects</h2>
16
12
  <hr>
17
- Ongoing <a href="{{ '/projects/' | relative_url }}">Projects</a>
18
-
13
+ <p>Ongoing work lives on the <a href="{{ '/projects/' | relative_url }}">projects</a> page.</p>
19
14
  <hr>
20
- <center><span class="sun">*</span></center>
15
+ <div class="sun-rule"><span class="sun">*</span></div>
data/assets/css/main.scss CHANGED
@@ -27,11 +27,11 @@
27
27
  BASE RESET
28
28
  =============================== */
29
29
  * {
30
- font-size: 16px;
31
30
  box-sizing: border-box;
32
31
  }
33
32
 
34
33
  html {
34
+ font-size: 16px;
35
35
  font-family: 'fabfont', 'DejaVu Sans Mono', 'Consolas', 'Monaco', 'Courier New', monospace;
36
36
  max-width: 900px;
37
37
  margin: 0 auto;
@@ -45,6 +45,20 @@ html {
45
45
  body {
46
46
  margin: 0;
47
47
  padding: 0;
48
+ font-size: 1rem;
49
+ }
50
+
51
+ p, li, dt, dd, td, th, figcaption, label, small, blockquote {
52
+ font-size: 1rem;
53
+ }
54
+
55
+ input, button, select, textarea {
56
+ font: inherit;
57
+ color: inherit;
58
+ }
59
+
60
+ main.container {
61
+ margin-top: 2ch;
48
62
  }
49
63
 
50
64
  /* ===============================
@@ -72,23 +86,25 @@ sup {
72
86
  /* ===============================
73
87
  HEADINGS
74
88
  =============================== */
75
- div.heading {
89
+ h1, h2, h3, h4, h5, h6, .heading {
76
90
  font-weight: bold;
77
91
  text-transform: uppercase;
78
92
  margin-top: 4ch;
79
93
  }
80
94
 
81
- h1, h2, h3, h4 {
82
- font-weight: bold;
83
- text-transform: uppercase;
84
- margin-top: 4ch;
85
- }
95
+ h1 { font-size: 1.6rem; }
96
+ h2 { font-size: 1.35rem; }
97
+ h3 { font-size: 1.15rem; }
98
+ h4 { font-size: 1rem; }
99
+ h5 { font-size: 1rem; }
100
+ h6 { font-size: 1rem; }
86
101
 
87
102
  /* ===============================
88
103
  CODE & PRE BLOCKS
89
104
  =============================== */
90
- pre, code {
91
- font-family: 'fabfont', monospace;
105
+ pre, code, kbd, samp, tt {
106
+ font-family: 'fabfont', 'DejaVu Sans Mono', 'Consolas', 'Monaco', 'Courier New', monospace;
107
+ font-size: 1rem;
92
108
  }
93
109
 
94
110
  pre {
@@ -106,12 +122,16 @@ code {
106
122
  font-weight: bold;
107
123
  }
108
124
 
109
- /* Inline code inside pre shouldn't have double background */
110
125
  pre code {
111
126
  background: none;
112
127
  padding: 0;
113
128
  border-radius: 0;
114
129
  font-weight: normal;
130
+ font-size: inherit;
131
+ }
132
+
133
+ h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
134
+ font-size: inherit;
115
135
  }
116
136
 
117
137
  /* ===============================
@@ -135,7 +155,6 @@ img.pixel, canvas.pixel {
135
155
  image-rendering: crisp-edges;
136
156
  }
137
157
 
138
- /* For blog images inside posts */
139
158
  .post img,
140
159
  article img {
141
160
  border: 1px solid black;
@@ -166,6 +185,10 @@ blockquote div {
166
185
  padding: 0 2px;
167
186
  }
168
187
 
188
+ .sun-rule {
189
+ text-align: center;
190
+ }
191
+
169
192
  /* ===============================
170
193
  TRIVIA BLOCK
171
194
  =============================== */
@@ -188,14 +211,14 @@ blockquote div {
188
211
  margin-top: 4ch;
189
212
  margin-bottom: 2ch;
190
213
  opacity: 0.7;
191
- font-size: 0.9em;
214
+ font-size: 0.9rem;
192
215
  }
193
216
 
194
217
  /* ===============================
195
218
  RESPONSIVE
196
219
  =============================== */
197
220
  @media (max-width: 500px) {
198
- * {
221
+ html {
199
222
  font-size: 12px;
200
223
  }
201
224
  }
data/lib/low/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Low
3
- VERSION = "1.3.1"
3
+ VERSION = "1.3.3"
4
4
  end
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-low
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Levent Kaya