Skip to content

Commit

Permalink
add small radius to feature images
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Sep 8, 2020
1 parent 121cb89 commit 8ea9b3e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
11 changes: 5 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
14 changes: 8 additions & 6 deletions src/sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ h6 {
h4,
h5,
h6 {
font-size: 1rem !important;
font-size: 1rem !important;
}

a {
Expand Down Expand Up @@ -271,6 +271,7 @@ img {
min-height: 180px;
object-fit: cover;
overflow: hidden;
border-radius: 3px;
}

span {
Expand All @@ -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;
}
}

Expand All @@ -312,8 +314,8 @@ img {
}

img {
max-width: 100%;
height: auto;
max-width: 100%;
height: auto;
}
}

Expand Down Expand Up @@ -362,7 +364,7 @@ img {
a:after {
font-family: GeekblogIcons;
content: "\ea17";
margin-top: -.125em;
margin-top: -0.125em;
}
}

Expand All @@ -372,7 +374,7 @@ img {
a::before {
font-family: GeekblogIcons;
content: "\ea18";
margin-top: -.125em;
margin-top: -0.125em;
}
}
}
Expand Down

0 comments on commit 8ea9b3e

Please sign in to comment.