diff --git a/themes/buha/assets/scss/gen_list.scss b/themes/buha/assets/scss/gen_list.scss index f214f9f8..fe09ae96 100644 --- a/themes/buha/assets/scss/gen_list.scss +++ b/themes/buha/assets/scss/gen_list.scss @@ -3,6 +3,11 @@ .list_item { margin-bottom: 5rem; min-height: 25vh; + &:hover { + .readmore { + text-decoration: underline; + } + } } a { text-decoration: none; @@ -25,6 +30,10 @@ font-weight: bold; } } + .readmore { + margin-top: 1em; + text-align: right; + } } @media (min-width: 640px) { diff --git a/themes/buha/layouts/partials/layout/gen_list.html b/themes/buha/layouts/partials/layout/gen_list.html index 6d6050b0..3072df95 100644 --- a/themes/buha/layouts/partials/layout/gen_list.html +++ b/themes/buha/layouts/partials/layout/gen_list.html @@ -120,7 +120,7 @@ {{ end }} {{ if .Truncated }} -
+
{{ if i18n "readmore" }}{{ i18n "readmore" }}{{ else }}{{ "read more" }}{{ end }}..
{{ end }}