master
Aevann1 2022-02-06 19:55:06 +02:00
parent af2cb08a2a
commit 5c0d11ca54
1 changed files with 16 additions and 15 deletions

View File

@ -1,26 +1,14 @@
<nav class="shadow shadow-md fixed-top">
{% if SITE_NAME == 'Drama' %}
{% if SITE_NAME in ('Drama','2Much4You') %}
<style>
body {padding-top: 78.25px !important}
</style>
<div id="srd" style="width: 100%; background-color: var(--primary); padding: 2px; text-align: center; font-weight: bold;white-space:nowrap">
<a style="color: white" class="text-small-mobile" href="https://reddit.com/r/SubredditDrama">💖🌈 welcome to rdrama.net: the official site for r/subredditdrama</a>
</div>
{% elif SITE_NAME == '2Much4You' %}
<style>
body {padding-top: 90px !important}
body {padding-top: 85.88px !important}
@media (max-width: 767.98px) {
body {
padding-top: 66.75px !important
padding-top: 77.94px !important
}
}
</style>
<div id="srd" style="width: 100%; background-color: var(--primary); padding: 2px; text-align: left; font-weight: bold;white-space:nowrap">
{% for s in SUBS %}
<a {% if sub and s == sub.name %} style="color: var(--secondary)" {% else %} style="color: white"{% endif %} class="text-small-mobile ml-2" href="/s/{{s}}">/s/{{s}}</a>
{% endfor %}
</div>
{% else %}
<style>
body {padding-top: 65px !important}
@ -31,6 +19,19 @@
}
</style>
{% endif %}
{% if SITE_NAME == 'Drama' %}
<div id="srd" style="width: 100%; background-color: var(--primary); padding: 2px; text-align: center; font-weight: bold;white-space:nowrap">
<a style="color: white" class="text-small-mobile" href="https://reddit.com/r/SubredditDrama">💖🌈 welcome to rdrama.net: the official site for r/subredditdrama</a>
</div>
{% elif SITE_NAME == '2Much4You' %}
<div id="srd" style="width: 100%; background-color: var(--primary); padding: 2px; text-align: left; font-weight: bold;white-space:nowrap">
{% for s in SUBS %}
<a {% if sub and s == sub.name %} style="color: var(--secondary)" {% else %} style="color: white"{% endif %} class="text-small-mobile ml-2" href="/s/{{s}}">/s/{{s}}</a>
{% endfor %}
</div>
{% endif %}
<div class="navbar navbar-expand-md navbar-light" id="navbar">
<div class="container-fluid" style="padding:0;">
<div class="flex-grow-1">