Browse Source

fixed clickable header, tags etc

master
rra 6 years ago
parent
commit
ad14b413d2
  1. 3
      theme/wttf/static/main.css
  2. 6
      theme/wttf/templates/article.html
  3. 16
      theme/wttf/templates/base.html

3
theme/wttf/static/main.css

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

6
theme/wttf/templates/article.html

@ -8,14 +8,14 @@
{% block header %}
<h1 id="menu" class="sticky">
Welcome to
the
<a href="{{ SITEURL }}/">Welcome to
the <span id="character"></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 %}

16
theme/wttf/templates/base.html

@ -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"></span>
<a href="{{ SITEURL }}/">Welcome to
the <span id="character"></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>

Loading…
Cancel
Save