Fix darkmode post-gallery image opacity

This commit is contained in:
Mimi 2020-08-08 21:14:25 +08:00
parent f436facb20
commit 04ced15d8a
4 changed files with 6 additions and 9 deletions

View File

@ -17,6 +17,8 @@
img {
height: 100%;
object-fit: cover;
// Override darkmode image opacity.
opacity: 1;
width: 100%;
}
}

View File

@ -59,11 +59,6 @@
margin-top: 1em;
}
// Top main padding from header to posts (default 40px).
.post-block:first-of-type {
padding-top: initial;
}
// Post delimiters.
.post-eof {
display: none;

View File

@ -48,10 +48,6 @@
}
}
.post-block:first-of-type {
padding-top: 40px;
}
.footer-inner {
if (hexo-config('sidebar.position') == 'right') {

View File

@ -3,3 +3,7 @@
@import '_menu';
@import '_sub-menu';
@import '_sidebar';
.post-block:first-of-type {
padding-top: 40px;
}