jekyll-darkred-theme 0.1.1 → 0.1.2
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/_layouts/post.html +8 -0
- data/_sass/main.scss +20 -0
- 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: ac2f1bf7a0bad4d21730360e91bb9c6ea03d9b07cb04ac75804ea1babdd91abb
|
4
|
+
data.tar.gz: 310239c052c8b2f697085fca54ffeb9e7a1a4ca35c5514abe6b5089d1163d0fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20c74d490cd8d5434d28ccfa4f02007e42daf80597e464bb75d6045fba70c329560fef011a0fb09a4dbf8de0f9e41274882bcc14e6e318140bac79f7f55a7f41
|
7
|
+
data.tar.gz: 9bc5ce5e88248696280347af391c2e393f669e7415941f972b762d86d7e1ea9b252a1e252f4aba8691070fba6ba87e13a8d919d73b1f49578dafd0d6fe3cc457
|
data/_layouts/post.html
CHANGED
@@ -3,5 +3,13 @@ layout: default
|
|
3
3
|
---
|
4
4
|
|
5
5
|
<article class="post-body" itemscope itemtype="http://schema.org/BlogPosting">
|
6
|
+
<div class="post-details">
|
7
|
+
{%- if page.title -%}
|
8
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
9
|
+
{%- endif -%}
|
10
|
+
|
11
|
+
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
12
|
+
<span class="post-date">{{ page.date | date: date_format }}</span>
|
13
|
+
</div>
|
6
14
|
{{ content }}
|
7
15
|
</article>
|
data/_sass/main.scss
CHANGED
@@ -209,6 +209,26 @@ code {
|
|
209
209
|
.post-body {
|
210
210
|
width: 100%;
|
211
211
|
|
212
|
+
.post-details {
|
213
|
+
display: flex;
|
214
|
+
flex-direction: column;
|
215
|
+
margin-bottom: 20px;
|
216
|
+
border-left: 2px solid $color-primary;
|
217
|
+
padding-left: 14px;
|
218
|
+
padding-bottom: 4px;
|
219
|
+
}
|
220
|
+
|
221
|
+
.post-title {
|
222
|
+
font-size: 1.5rem;
|
223
|
+
font-weight: bold;
|
224
|
+
border: 0 !important;
|
225
|
+
}
|
226
|
+
|
227
|
+
.post-date {
|
228
|
+
color: $color-font-thin;
|
229
|
+
font-family: 'Source Code Pro', sans-serif, monospace;
|
230
|
+
}
|
231
|
+
|
212
232
|
> * {
|
213
233
|
margin-bottom: 12px;
|
214
234
|
}
|