change show-more pre-expand-blog background

This commit is contained in:
zhaospei 2023-02-06 00:40:04 +07:00
parent ef1096c9f3
commit 66a1f62986
4 changed files with 9 additions and 5 deletions

View file

@ -152,6 +152,10 @@
}
}
.blog-box:hover {
border-color: #8a8a8a;
}
.blog-description {
max-height: 30em;
overflow: hidden;
@ -230,8 +234,8 @@
padding: 0px 12px;
margin-top: 5px;
position: absolute;
inset: 50% 0px 60px;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 1%, #f3f3f3 95%, #f3f3f3 100%);
inset: 50% 0px 52px;
background: linear-gradient(transparent, white);
display: flex;
-webkit-box-pack: end;
justify-content: flex-end;

View file

@ -1940,7 +1940,7 @@ noscript #noscript {
}
.show-more {
color: white;
background: linear-gradient(rgba(24, 26, 27, 0) 1%, rgb(31, 33, 35) 95%, rgb(31, 33, 35) 100%);
background: linear-gradient(rgba(0, 0, 0, 0), rgb(24, 26, 27));
}
@media (min-width: 800px) {

View file

@ -48,7 +48,7 @@
{% set pagevote = post.pagevote %}
{% set bookmark = post.bookmark %}
{% set hide_actionbar_comment = True %}
{% set include_hr = True %}
{% set include_hr = False %}
{% set share_url = request.build_absolute_uri(post.get_absolute_url()) %}
{% include "actionbar/list.html" %}
</div>

View file

@ -138,7 +138,7 @@
{% set pagevote = problem.pagevote %}
{% set bookmark = problem.bookmark %}
{% set hide_actionbar_comment = True %}
{% set include_hr = True %}
{% set include_hr = False %}
{% set share_url = request.build_absolute_uri(problem.get_absolute_url()) %}
{% include "actionbar/list.html" %}
</div>