summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stylesheets/style.css12
-rw-r--r--templates/index.html18
2 files changed, 16 insertions, 14 deletions
diff --git a/stylesheets/style.css b/stylesheets/style.css
index aa5d121e..894fa3e4 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -320,11 +320,13 @@ div.pages {
border-bottom: 1px solid #B7C5D9;
}
div.pages.top {
- display: inline-block;
- padding: 4px 8px;
- margin-top: 40px;
- float: left;
- position: absolute;
+ display: block;
+ padding: 5px 8px;
+ margin-bottom: 5px;
+ position: fixed;
+ top: 0;
+ right: 0;
+ opacity: 0.9;
}
div.pages a.selected {
color: black;
diff --git a/templates/index.html b/templates/index.html
index b8c5d1ae..0458ed5a 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -8,15 +8,6 @@
<body>
{{ boardlist.top }}
- {% if config.page_nav_top %}
- <div class="pages top">
- {% for page in pages %}
- [<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
- {% endfor %}
- {{ btn.next }}
- </div>
- {% endif %}
-
{% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
{% if config.url_banner %}<img class="banner" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %}
@@ -36,6 +27,15 @@
{% include 'post_form.html' %}
+ {% if config.page_nav_top %}
+ <div class="pages top">
+ {% for page in pages %}
+ [<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
+ {% endfor %}
+ {{ btn.next }}
+ </div>
+ {% endif %}
+
{% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
<hr />
<form name="postcontrols" action="{{ config.post_url }}" method="post">