askclass-news-theme 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8354498de7cb9770db4ea5ddb0a3bc5503f016b95e3ec0bea9faf1d248eb25b8
4
- data.tar.gz: 96c2df326807b9f577084cfabf161c3d08e378afb01dcf49e89030382fc90637
3
+ metadata.gz: 30695dc170c68778546db94cd907c9c1e2e1f67b726697dc5926768cc6018f64
4
+ data.tar.gz: e0027ef4e0b274527a5f4c75036acddbac47de4ccb88e341a9aa9500abbf2fcb
5
5
  SHA512:
6
- metadata.gz: 87bc15d808552c187c23e6f7afe69c0e3ac01211635251a6fb1270064c2b72c54e8eee4768264f5864cb2ae0f2bd657879d85da0e7a1fcfdec690fb4b7ac0961
7
- data.tar.gz: c9ce5360b2188217466df84e8daef98a0ea8ca9a240d11fa32b48aeaec92a9609acbeecddf3468b497827001a8837c0a52af80d8524efd08cf57f9bc770ffb6a
6
+ metadata.gz: dace346dd826e13722fc0a0cca89cd478dfc401faabe676c16f73221b8848de2ae89b05c3f1dc686004fb18e8763b2e56e807c45afd2fc6553f2644e6bfc9fff
7
+ data.tar.gz: cca267996538e16a91f2ddfc37835ee7707e7b7a958b50ce3b4ba0c8bdc9ad6bbe2c122edcca426c51503d1a7537d250faad9dc8e0c3ec9265c529c9a105a6ea
data/_layouts/writer.html CHANGED
@@ -17,7 +17,7 @@
17
17
  {% if content %}
18
18
  <article class="{{ page.style | default: 'center' }}" >
19
19
  {% if page.image %}
20
- <img src="{{ page.image }}" alt="{{ author }}" width="{{ page.size }}" />
20
+ <img src="{{ page.image }}" alt="{{ author }}" width="{{ page.size }}" height="{{ page.size }}"/>
21
21
  {% endif %}
22
22
  {{ content }}
23
23
  </article>
data/_sass/_default.scss CHANGED
@@ -176,9 +176,14 @@ article {
176
176
  &.center {
177
177
  @include align-center();
178
178
  }
179
+ &.center img {
180
+ border-radius: 50%;
181
+ object-fit: cover;
182
+ }
179
183
  &.left img {
180
184
  float: left;
181
- margin: 10px 10px 0 0;
185
+ object-fit: cover;
186
+ margin: 5px 10px 0 0;
182
187
  display: inline-block;
183
188
  }
184
189
  }
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: writer
3
3
  size: 100
4
- style: left
4
+ style: center
5
5
  image: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/88/Plato_Silanion_Musei_Capitolini_MC1377.jpg/800px-Plato_Silanion_Musei_Capitolini_MC1377.jpg"
6
6
  ---
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: askclass-news-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - AskClass