Add nofilter option to prevent darkmode reduced brightness

This commit is contained in:
Tanner Collin 2023-10-20 07:43:15 -06:00
parent ce064be053
commit 67340aca4c
3 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Date: 2023-10-19
Category: Writing
Summary: Photos from my trip to Japan.
Image: japan06lo.jpg
Nofilter: true
Short: j
All photos are unmodified (not even cropped) and taken with a Pixel 6a.

View File

@ -47,8 +47,16 @@
<hr />
<article>
{% if article.nofilter %}
<div class="nofilter">
{% endif %}
{{ article.content }}
{% if article.nofilter %}
</div>
{% endif %}
</article>
</div>
{% endblock %}

View File

@ -215,4 +215,8 @@
.content img {
filter: brightness(75%);
}
.nofilter img {
filter: initial !important;
}
}