site/_includes/layouts/components/nsfw-toggle.njk

13 lines
1 KiB
Text
Raw Normal View History

2025-07-14 18:48:05 -05:00
<!-- 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>