mono-lite 0.1.0 → 0.1.5

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: 862473c5830356823408920f4d6322ea7f25c7ea79e242644daf50989c6fed7e
4
- data.tar.gz: b67d801083c3adaf602226e53284ab20452ff52b27ab928f6bf2c918d1a44781
3
+ metadata.gz: 362f152aba1b584542da74f0b48fa11ee03f56018aad8e098c1d4c01d9e64c54
4
+ data.tar.gz: f85c22bfd42f254b6ef0453fb63d087894c7d50753097e3aab1dd99d4e2dcf26
5
5
  SHA512:
6
- metadata.gz: 1f8e3c4a149b08d8ea54eff511308660c20923bc0106a9ff41848d67968055565d316b9bb119bfc851aa1187070a0ca439392d8f09e31ca9ac595f47c9ff9493
7
- data.tar.gz: a67809eb661cabc298e8fba7623cdae4ff4316ee5d132c2842206390e94e8c9e58bf701744a083ced56130c7e9305c67a970876a6dd4923b92edba495f9f3b80
6
+ metadata.gz: cce03365f16f29fa486e7b4baecb3e3ea021022fa38d719edc0cf51fdb2a53793126b43b38b29f06c0680669faa1faa72265939e1fd82ef462831a347616e912
7
+ data.tar.gz: 2a7c675ba54a394462f577d15db1cf49491bcd789025182427c2fc3b9e07740db3bb8497a5c83be430adbe4ce4936f7f3503c26b6fb276ef32e9b030e7589242
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A lightweight single-column Jekyll theme.
4
4
 
5
+ ![Screenshot](screenshot.png)
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your Jekyll site's `Gemfile`:
data/_layouts/post.html CHANGED
@@ -4,10 +4,9 @@ layout: page
4
4
  <article class="post">
5
5
 
6
6
  <header class="post-header">
7
- <h2>{{ page.title | escape }}</h1>
7
+ <h2>{{ page.title | escape }}</h2>
8
+ <div class="post-byline">{{ page.subtitle }}</div>
8
9
  </header>
9
-
10
- <div>{{ page.subtitle }}</div>
11
10
 
12
11
  <div class="post-content">
13
12
  {{ content }}
data/_sass/_layout.scss CHANGED
@@ -95,6 +95,8 @@ h3 {
95
95
  .post-img img {
96
96
  height: 100%;
97
97
  width: 100%;
98
+ top: 0;
99
+ object-fit: cover;
98
100
  }
99
101
 
100
102
  .post-details {
@@ -123,6 +125,28 @@ h3 {
123
125
  font-size: 0.8em;
124
126
  }
125
127
 
128
+ .post-header h2 {
129
+ display: block;
130
+ font-size: 1.5em;
131
+ margin-block-start: 0.83em;
132
+ margin-block-end: 0.83em;
133
+ margin-inline-start: 0px;
134
+ margin-inline-end: 0px;
135
+ font-weight: bold;
136
+ }
137
+
138
+ .post-byline {
139
+ position: relative;
140
+ top: -12px;
141
+ font-weight: 300;
142
+ margin-bottom: 8px;
143
+ }
144
+
145
+ .post-content img {
146
+ object-fit: contain;
147
+ width: 100%;
148
+ }
149
+
126
150
  @media (max-width: $on-palm) {
127
151
  .site-title {
128
152
  text-align: center;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mono-lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Hawley
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
19
+ version: 3.9.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.2'
26
+ version: 3.9.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement