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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/post.html +8 -0
  3. data/_sass/main.scss +20 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b904dfe59ed10bea2d50f6e0ff60bb451ed30726b8f47a8a1148932d56b7e22
4
- data.tar.gz: 5850263521c13d2c54ee0d3feaecab4c67f8e55efeb86cc9a3c5e1e8b1f67ee0
3
+ metadata.gz: ac2f1bf7a0bad4d21730360e91bb9c6ea03d9b07cb04ac75804ea1babdd91abb
4
+ data.tar.gz: 310239c052c8b2f697085fca54ffeb9e7a1a4ca35c5514abe6b5089d1163d0fa
5
5
  SHA512:
6
- metadata.gz: 28aa408dedd05b0c2c1e3ac049f2db0a8df59bc4c949057ec4ea84f034afad45b4067d8c9e4ac2792d4e2769ed18143a21c23def768d52e742f97a5dd1116523
7
- data.tar.gz: e4cbdf610775c72e1eeaf5934e7457d2288f6ea4d2683db80649f03a1da1fbe270b14e2be7c9b5876a02a1e13152d84c0ae3d718c5ecf70f507d44ec9188bc6d
6
+ metadata.gz: 20c74d490cd8d5434d28ccfa4f02007e42daf80597e464bb75d6045fba70c329560fef011a0fb09a4dbf8de0f9e41274882bcc14e6e318140bac79f7f55a7f41
7
+ data.tar.gz: 9bc5ce5e88248696280347af391c2e393f669e7415941f972b762d86d7e1ea9b252a1e252f4aba8691070fba6ba87e13a8d919d73b1f49578dafd0d6fe3cc457
@@ -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>
@@ -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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-darkred-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kento Oki