diff options
-rw-r--r-- | htdocs/page.css | 10 | ||||
-rw-r--r-- | templates/base.html | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/htdocs/page.css b/htdocs/page.css index 57c6071..bf77d69 100644 --- a/htdocs/page.css +++ b/htdocs/page.css @@ -30,12 +30,12 @@ h2 { padding: 0; } -#pagination { +.pagination { text-align: center; margin: 1.5em 0 0; } -#pagination a { +.pagination a { display: block; border: 1px solid #000; color: #000; @@ -45,15 +45,15 @@ h2 { margin: auto; } -#pagination a:hover { +.pagination a:hover { border-width: 3px; padding: 10px; } -#pagination a.prev { +.pagination a.prev { float: left; } -#pagination a.next { +.pagination a.next { float: right; } diff --git a/templates/base.html b/templates/base.html index c34e4bd..f5a318a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -18,7 +18,7 @@ <div id="content"> {%- if next or prev %} - <div id="pagination"> + <div class="pagination"> {% if prev %} <a class="prev" href="{{ prev.strftime("/sites/%Y/%m/%d.html") }}"> ← früher @@ -51,7 +51,7 @@ {% endfor -%} {%- if next or prev %} - <div id="pagination"> + <div class="pagination"> {% if prev %} <a class="prev" href="{{ prev.strftime("/sites/%Y/%m/%d.html") }}"> ← früher |