Add author's avatar image settings.

This commit is contained in:
凡梦星尘
2022-05-06 22:42:09 +08:00
parent a1393183b9
commit bb482faeec
7 changed files with 44 additions and 48 deletions

View File

@@ -1,11 +1,16 @@
/** User-defined style. **/
{{- $P := .Site.Params -}}
.sidebar {
visibility: inherit;
}
.site-author-image {
{{ if $P.avatar.rounded }}
border-radius:50%;
{{ end }}
{{ if $P.avatar.rotated }}
transition: transform 1s ease-out;
{{ end }}
}
.back-to-top {