show actionbar pre-expand-blog

This commit is contained in:
zhaospei 2023-02-05 20:13:12 +07:00
parent d2405de7dd
commit 38d5c2cab1
4 changed files with 89 additions and 78 deletions

View file

@ -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;
}
}
}
}