mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-06-15 06:41:00 +02:00
add small radius to feature images
This commit is contained in:
parent
121cb89363
commit
8ea9b3e092
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -1,7 +1,6 @@
|
||||||
|
- BREAKING
|
||||||
|
- remove `geekblogAnchorLeft`;
|
||||||
|
for a better spacing left-side anchors were removed
|
||||||
- ENHANCEMENT
|
- ENHANCEMENT
|
||||||
- slightly change the date formate displayed on posts
|
- display page metadata only on content type `posts`
|
||||||
- use `.Lastmod` instead of `.Date` on posts
|
- add a small radius to feature images
|
||||||
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
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ h6 {
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 1rem !important;
|
font-size: 1rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -271,6 +271,7 @@ img {
|
||||||
min-height: 180px;
|
min-height: 180px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
@ -281,11 +282,12 @@ img {
|
||||||
padding: $padding-4;
|
padding: $padding-4;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
color: $gray-200;
|
color: $gray-200;
|
||||||
|
border-radius: 3px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover,
|
a:hover,
|
||||||
a:visited {
|
a:visited {
|
||||||
color: $gray-200!important;
|
color: $gray-200 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -312,8 +314,8 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -362,7 +364,7 @@ img {
|
||||||
a:after {
|
a:after {
|
||||||
font-family: GeekblogIcons;
|
font-family: GeekblogIcons;
|
||||||
content: "\ea17";
|
content: "\ea17";
|
||||||
margin-top: -.125em;
|
margin-top: -0.125em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -372,7 +374,7 @@ img {
|
||||||
a::before {
|
a::before {
|
||||||
font-family: GeekblogIcons;
|
font-family: GeekblogIcons;
|
||||||
content: "\ea18";
|
content: "\ea18";
|
||||||
margin-top: -.125em;
|
margin-top: -0.125em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user