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;
z-index: 10;
}
#menu a{
text-decoration: none;
}
#menu.main .indent{
padding-left:60px;
}

View File

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

View File

@ -45,29 +45,29 @@
{% block header %}
<h1 id="menu" class="main">
<div id="title">
Welcome
<div class="indent">to the
<a href="{{ SITEURL }}/">Welcome
<div class="indent">to the</a>
<select onchange="window.location.href=this.value">
{%- 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 %}
</select>
</div>
<div class="indent">Federation</div>
<div class="indent"><a href="{{ SITEURL }}/">Federation</a></div>
</div>
<div id="subtitle">
{{ SUBTITLE }}
</div>
</h1>
<h1 id="menu" class="sticky">
Welcome to
the <span id="character"><EFBFBD></span>
<a href="{{ SITEURL }}/">Welcome to
the <span id="character"><EFBFBD></span></a>
<select onchange="window.location.href=this.value">
{%- 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 %}
</select>
Federation
<a href="{{ SITEURL }}/">Federation</a>
</h1>
{% endblock %}
</header>