mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Fix darkmode post-gallery image opacity
This commit is contained in:
parent
f436facb20
commit
04ced15d8a
@ -17,6 +17,8 @@
|
||||
img {
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
// Override darkmode image opacity.
|
||||
opacity: 1;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -48,10 +48,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.post-block:first-of-type {
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
.footer-inner {
|
||||
|
||||
if (hexo-config('sidebar.position') == 'right') {
|
||||
|
||||
@ -3,3 +3,7 @@
|
||||
@import '_menu';
|
||||
@import '_sub-menu';
|
||||
@import '_sidebar';
|
||||
|
||||
.post-block:first-of-type {
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user