From b2adcbcd57ceb9b3641d3a7e9472e1bdbbbdf1a3 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Fri, 08 Jan 2021 13:04:56 +0000
Subject: [PATCH] Merge pull request #72 from LucasVadilho/post-thumbnail
---
assets/css/style.css | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/assets/css/style.css b/assets/css/style.css
index 01ce335..70dbb98 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -14,6 +14,7 @@
--tag-color: #424242;
--blockquote-text-color: #858585;
--blockquote-border-color: #dfe2e5;
+ --thumbnail-height: 15em;
scroll-padding-top: 100px;
}
@@ -471,6 +472,24 @@
text-decoration: none;
}
+.post .post-thumbnail {
+ width: 100%;
+ padding-bottom: 1em;
+ box-shadow: black;
+ border-radius: 0.5em;
+ overflow: hidden;
+ transition: box-shadow .3s ease;
+
+}
+
+.post .post-thumbnail img {
+ width: 100%;
+ height: var(--thumbnail-height);
+ object-fit: cover;
+ border: 1px solid var(--border-color);
+ border-bottom: 0px;
+}
+
.pagination {
margin: 30px;
padding: 0px 0 56px 0;
--
Gitblit v1.10.0