Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/bigspring-hugo-startup-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt6697 <32440697+matt6697@users.noreply.github.com>2021-09-13 19:57:07 +0300
committermatt6697 <32440697+matt6697@users.noreply.github.com>2021-09-13 19:57:07 +0300
commit43ae6c2b9be9fc4b3272971b8cb17cd1b15b4953 (patch)
tree3afc3cb55b909a3c1de0213b60d59709b46045cd
parentf37ea9a7077c49244459b84dcad8af13b82e0a4b (diff)
Align all card images of a blog page
Configure the same height for all card-img of a row
-rw-r--r--assets/scss/templates/_main.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/assets/scss/templates/_main.scss b/assets/scss/templates/_main.scss
index a616e70..93c0e60 100644
--- a/assets/scss/templates/_main.scss
+++ b/assets/scss/templates/_main.scss
@@ -48,6 +48,13 @@
}
}
+// blog card
+.card-img {
+ object-fit: cover;
+ width: 100%;
+ height: 10vw;
+}
+
// blog post
a.post-title {
color: $text-color-dark;