diff --git a/resources/blog.scss b/resources/blog.scss index 13a60eb..4f95d00 100644 --- a/resources/blog.scss +++ b/resources/blog.scss @@ -222,20 +222,26 @@ padding-bottom: 0; } -.pre-expand-blog::before { +.show-more { + color: var(--color-accent-dark); + font-style: italic; + font-size: 16px; + font-weight: 700; + padding: 0px 12px; + margin-top: 5px; position: absolute; - z-index: 1; - top: 0; - left: 0; - width: 100%; - height: 100%; - content: ""; - background-image: -webkit-linear-gradient(bottom, gray, lightgray 3%, transparent 8%, transparent 100%); - border-radius: 8px; + inset: 50% 0px 60px; + background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 1%, #f3f3f3 95%, #f3f3f3 100%); + display: flex; + -webkit-box-pack: end; + justify-content: flex-end; + align-items: flex-end; + cursor: pointer; + padding: 16px 16px; } -.pre-expand-blog:hover { - background-color: #f3f3f3; +.actionbar-box { + margin: 8px 16px; } .post-full { @@ -349,4 +355,4 @@ font-size: 2.5em; } } -} +} \ No newline at end of file diff --git a/templates/actionbar/list.html b/templates/actionbar/list.html index 24d07dc..e5761bb 100644 --- a/templates/actionbar/list.html +++ b/templates/actionbar/list.html @@ -1,51 +1,54 @@ {% set logged_in = request.user.is_authenticated %} {% set profile = request.profile if logged_in else None %} {% if logged_in %} - {% if include_hr %}