diff --git a/assets/themes/default/_global.scss b/assets/themes/default/_global.scss index e96e6d79..e2e6f100 100644 --- a/assets/themes/default/_global.scss +++ b/assets/themes/default/_global.scss @@ -219,17 +219,21 @@ p.error { margin: 20px; } + .cover-link { + margin: 0; + + &:hover { + opacity: 0.9; + } + } + .cover { min-height: 10em; background-position: center; background-size: cover; margin: 0px; - - &:hover { - opacity: 0.9; - } } - + header { display: flex; } @@ -245,6 +249,9 @@ p.error { position: relative; a { display: block; + width: 100%; + height: 100%; + padding-block-start: 0.5em; transition: color 0.1s ease-in; color: $text-color; @@ -611,4 +618,4 @@ code { .function{ color:inherit; } -} \ No newline at end of file +} diff --git a/templates/partials/post_card.rs.html b/templates/partials/post_card.rs.html index 76953f30..e91d8311 100644 --- a/templates/partials/post_card.rs.html +++ b/templates/partials/post_card.rs.html @@ -6,7 +6,9 @@
@if article.cover_id.is_some() { -
+ +
+
}

diff --git a/templates/users/dashboard.rs.html b/templates/users/dashboard.rs.html index 239ec6b7..698c1620 100644 --- a/templates/users/dashboard.rs.html +++ b/templates/users/dashboard.rs.html @@ -18,7 +18,10 @@ @for blog in blogs {
@if blog.banner_id.is_some() { -
+ +
+
+
}

@blog.title

@Html(blog.summary_html)