Add nofilter option to prevent darkmode reduced brightness

master
Tanner Collin 7 months ago
parent ce064be053
commit 67340aca4c
  1. 1
      content/Japan Photography.md
  2. 8
      themes/theme/templates/article.html
  3. 4
      themes/theme/templates/style.css

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

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

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

Loading…
Cancel
Save