Add nofilter option to prevent darkmode reduced brightness
This commit is contained in:
parent
ce064be053
commit
67340aca4c
|
@ -3,6 +3,7 @@ Date: 2023-10-19
|
||||||
Category: Writing
|
Category: Writing
|
||||||
Summary: Photos from my trip to Japan.
|
Summary: Photos from my trip to Japan.
|
||||||
Image: japan06lo.jpg
|
Image: japan06lo.jpg
|
||||||
|
Nofilter: true
|
||||||
Short: j
|
Short: j
|
||||||
|
|
||||||
All photos are unmodified (not even cropped) and taken with a Pixel 6a.
|
All photos are unmodified (not even cropped) and taken with a Pixel 6a.
|
||||||
|
|
|
@ -47,8 +47,16 @@
|
||||||
<hr />
|
<hr />
|
||||||
<article>
|
<article>
|
||||||
|
|
||||||
|
{% if article.nofilter %}
|
||||||
|
<div class="nofilter">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
|
|
||||||
|
{% if article.nofilter %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -215,4 +215,8 @@
|
||||||
.content img {
|
.content img {
|
||||||
filter: brightness(75%);
|
filter: brightness(75%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nofilter img {
|
||||||
|
filter: initial !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user