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 +4 -4
- data/_layouts/writer.html +1 -1
- data/_sass/_default.scss +6 -1
- data/content/_writers/plato.md +1 -1
- 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: 30695dc170c68778546db94cd907c9c1e2e1f67b726697dc5926768cc6018f64
|
4
|
+
data.tar.gz: e0027ef4e0b274527a5f4c75036acddbac47de4ccb88e341a9aa9500abbf2fcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
185
|
+
object-fit: cover;
|
186
|
+
margin: 5px 10px 0 0;
|
182
187
|
display: inline-block;
|
183
188
|
}
|
184
189
|
}
|
data/content/_writers/plato.md
CHANGED