master
Aevann1 2022-03-22 04:39:21 +02:00
parent 0f12a680ef
commit e5460a5480
1 changed files with 7 additions and 11 deletions

View File

@ -29,17 +29,13 @@
<div class="navbar navbar-expand-md navbar-light" id="navbar">
<div class="container-fluid" style="padding:0;">
<div>
<a href="/" class="navbar-brand mr-auto">
{% if SITE_NAME == 'Drama' %}
<img alt="header icon" height=33 width=43 src="/static/assets/images/{{SITE_NAME}}/headericon.webp?v=1015">
{% else %}
<div {% if not sub %}class="flex-grow-1"{% endif %}>
<img alt="header icon" height=33 src="/static/assets/images/{{SITE_NAME}}/headericon.webp?v=1015">
</div>
{% endif %}
</a>
</div>
<a href="/" class="navbar-brand mr-auto {% if SITE_NAME != 'Drama' and not sub %}flex-grow-1{% endif %}">
{% if SITE_NAME == 'Drama' %}
<img alt="header icon" height=33 width=43 src="/static/assets/images/{{SITE_NAME}}/headericon.webp?v=1015">
{% else %}
<img alt="header icon" height=33 src="/static/assets/images/{{SITE_NAME}}/headericon.webp?v=1015">
{% endif %}
</a>
{% if sub %}
<a href="/h/{{sub.name}}" class="font-weight-bold ml-2 flex-grow-1 mt-1" style="font-size:max(14px,1.2vw)">/h/{{sub.name}}</a>