fixed clickable header, tags etc

This commit is contained in:
rra 2018-05-19 23:35:16 +02:00
parent 6965c2055a
commit ad14b413d2
3 changed files with 14 additions and 11 deletions

View File

@ -114,6 +114,9 @@ header{
position: relative; position: relative;
z-index: 10; z-index: 10;
} }
#menu a{
text-decoration: none;
}
#menu.main .indent{ #menu.main .indent{
padding-left:60px; padding-left:60px;
} }

View File

@ -8,14 +8,14 @@
{% block header %} {% block header %}
<h1 id="menu" class="sticky"> <h1 id="menu" class="sticky">
Welcome to <a href="{{ SITEURL }}/">Welcome to
the the <span id="character"><EFBFBD></span></a>
<select onchange="window.location.href=this.value"> <select onchange="window.location.href=this.value">
{%- for t, article in tags|sort %} {%- for t, article in tags|sort %}
<option value="{{SITEURL}}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option> <option value="{{SITEURL}}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option>
{% endfor %} {% endfor %}
</select> </select>
Federation <a href="{{ SITEURL }}/">Federation</a>
</h1> </h1>
{% endblock %} {% endblock %}

View File

@ -45,29 +45,29 @@
{% block header %} {% block header %}
<h1 id="menu" class="main"> <h1 id="menu" class="main">
<div id="title"> <div id="title">
Welcome <a href="{{ SITEURL }}/">Welcome
<div class="indent">to the <div class="indent">to the</a>
<select onchange="window.location.href=this.value"> <select onchange="window.location.href=this.value">
{%- for t, article in tags|sort %} {%- for t, article in tags|sort %}
<option value="{{SITEURL}}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option> <option value="{{ SITEURL }}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>
<div class="indent">Federation</div> <div class="indent"><a href="{{ SITEURL }}/">Federation</a></div>
</div> </div>
<div id="subtitle"> <div id="subtitle">
{{ SUBTITLE }} {{ SUBTITLE }}
</div> </div>
</h1> </h1>
<h1 id="menu" class="sticky"> <h1 id="menu" class="sticky">
Welcome to <a href="{{ SITEURL }}/">Welcome to
the <span id="character"><EFBFBD></span> the <span id="character"><EFBFBD></span></a>
<select onchange="window.location.href=this.value"> <select onchange="window.location.href=this.value">
{%- for t, article in tags|sort %} {%- for t, article in tags|sort %}
<option value="{{SITEURL}}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option> <option value="{{ SITEURL }}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option>
{% endfor %} {% endfor %}
</select> </select>
Federation <a href="{{ SITEURL }}/">Federation</a>
</h1> </h1>
{% endblock %} {% endblock %}
</header> </header>