From 8ea9b3e092be4b9738401ee88856e57573977005 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 8 Sep 2020 21:59:17 +0200 Subject: [PATCH] add small radius to feature images --- CHANGELOG.md | 11 +++++------ src/sass/_base.scss | 14 ++++++++------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85e4e81a..4c8ef65c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,6 @@ +- BREAKING + - remove `geekblogAnchorLeft`; + for a better spacing left-side anchors were removed - ENHANCEMENT - - slightly change the date formate displayed on posts - - use `.Lastmod` instead of `.Date` on posts - the date on updated posts will be prefixed with `Updated on` string - modifications from the same day are ignored - - add read time indicator - - add basic post metadata to posts single view + - display page metadata only on content type `posts` + - add a small radius to feature images diff --git a/src/sass/_base.scss b/src/sass/_base.scss index c130a8a0..3995ab1c 100644 --- a/src/sass/_base.scss +++ b/src/sass/_base.scss @@ -45,7 +45,7 @@ h6 { h4, h5, h6 { - font-size: 1rem !important; + font-size: 1rem !important; } a { @@ -271,6 +271,7 @@ img { min-height: 180px; object-fit: cover; overflow: hidden; + border-radius: 3px; } span { @@ -281,11 +282,12 @@ img { padding: $padding-4; font-size: 0.8em; color: $gray-200; + border-radius: 3px 0; } a:hover, a:visited { - color: $gray-200!important; + color: $gray-200 !important; } } @@ -312,8 +314,8 @@ img { } img { - max-width: 100%; - height: auto; + max-width: 100%; + height: auto; } } @@ -362,7 +364,7 @@ img { a:after { font-family: GeekblogIcons; content: "\ea17"; - margin-top: -.125em; + margin-top: -0.125em; } } @@ -372,7 +374,7 @@ img { a::before { font-family: GeekblogIcons; content: "\ea18"; - margin-top: -.125em; + margin-top: -0.125em; } } }