mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-19 18:42:34 +00:00
Fix darkmode post-gallery image opacity
This commit is contained in:
parent
f436facb20
commit
04ced15d8a
@ -17,6 +17,8 @@
|
|||||||
img {
|
img {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
// Override darkmode image opacity.
|
||||||
|
opacity: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -59,11 +59,6 @@
|
|||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Top main padding from header to posts (default 40px).
|
|
||||||
.post-block:first-of-type {
|
|
||||||
padding-top: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Post delimiters.
|
// Post delimiters.
|
||||||
.post-eof {
|
.post-eof {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@ -48,10 +48,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-block:first-of-type {
|
|
||||||
padding-top: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-inner {
|
.footer-inner {
|
||||||
|
|
||||||
if (hexo-config('sidebar.position') == 'right') {
|
if (hexo-config('sidebar.position') == 'right') {
|
||||||
|
|||||||
@ -3,3 +3,7 @@
|
|||||||
@import '_menu';
|
@import '_menu';
|
||||||
@import '_sub-menu';
|
@import '_sub-menu';
|
||||||
@import '_sidebar';
|
@import '_sidebar';
|
||||||
|
|
||||||
|
.post-block:first-of-type {
|
||||||
|
padding-top: 40px;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user