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 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.

View File

@ -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 %}

View File

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