gjorfjgof

This commit is contained in:
x 2025-03-28 01:10:37 +01:00
parent c4dfd6b5c6
commit 3ca5b5d598
3 changed files with 60 additions and 36 deletions

View File

@ -141,3 +141,11 @@ html[theme="f0ck"] .image-brand {
.tos {
margin: 2em;
}
.nav-link[data-toggle="dropdown"]::after {
content: "" !important;
}
.dropdown-menu.shii {
width: auto;
}

View File

@ -114,6 +114,14 @@
<li><a href="/logout">logout</a></li>
</ul>
</li>
<li class="nav-item dropdown" id="themes">
<a class="nav-link ddcontent" href="#" content="{{ theme }}" data-toggle="dropdown">𐂧</a>
<ul class="dropdown-menu shii">
@each(themes as t)
<li><a href="/theme/{{ t }}">{{ t }}</a></li>
@endeach
</ul>
</li>
<li class="nav-item @if(session)dropdown@endif">
<a class="nav-link ddcontent" href="#"@if(typeof session.mode !== "undefined") content="{{ modes[session.mode] ?? 'sfw' }}" data-toggle="dropdown"@endif>Mode</a>
<ul class="dropdown-menu">
@ -122,6 +130,11 @@
@endfor
</ul>
</li>
<li class="nav-item">
<a id="explore-tags" class="nav-link" href="/tags">
<span class="nav-link-identifier">Tags</span>
</a>
</li>
<li class="nav-item">
<a id="random" class="nav-link" href="/random">
<span class="nav-link-identifier">Random</span>

View File

@ -5,9 +5,12 @@
<div class="tags">
@each(toptags as toptag)
<div class="tag badge badge-light mr-2">
<!-- <img src="/s/img/tags/{!! toptag.tag !!}.webp" alt=""> -->
<div class="tagbox-body">
<span class="toptag_id">{!! toptag.tag !!}</span>
<span class="toptag_tag"><a href="/tag/{!! toptag.tag !!}">{{ toptag.total_items }}</a></span>
</div>
</div>
@endeach
</div>
</div>