site/_includes/layouts/components/nsfw-toggle.njk
Ruben a652971a27
All checks were successful
/ build (push) Successful in 4m35s
better file structure, cleanup
2025-10-27 09:20:00 -05:00

13 lines
No EOL
1 KiB
Text

<!-- nsfw toggle button -->
<fieldset class="nsfw-toggle-holder">
<div class="nsfw-toggle">
<input type="checkbox" id="view-nsfw-content" name="view-nsfw-content" />
<label for="view-nsfw-content">Enable <span class="_info" title="Not-safe-for-Work">NSFW</span> content</label><br>
<p class="caption">This page features optional NSFW content/mentions of related topics. <b>This is disabled by default, and is safe to view this page with this option <i>disabled</i>.</b> If you're not a fan of that stuff or a minor, <i>leave this option disabled</i>.</p>
</div>
<div class="spoil-nsfw-toggle">
<input type="checkbox" id="spoil-nsfw-content" name="spoil-nsfw-content" checked />
<label for="spoil-nsfw-content">Blur <span class="_info" title="Not-safe-for-Work">NSFW</span> content until focus</label><br>
<p class="caption">Hides the NSFW content itself under a blur effect, until hovered over/tapped on. Yes, at some point, I'll improve the styling over this.</p>
</div>
</fieldset>