From c7a4b8cfdbd6e393235e5d54bac8641e1381143a Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sun, 20 Feb 2011 12:39:56 +1100 Subject: [PATCH] Fixed margin on boardlist --- inc/display.php | 5 ++++- style.css | 6 +++++- templates/index.html | 4 ++-- templates/thread.html | 4 ++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/inc/display.php b/inc/display.php index 0def6cda..206ff11f 100644 --- a/inc/display.php +++ b/inc/display.php @@ -42,7 +42,10 @@ $body = doBoardListPart($config['boards'], $mod?'?/':$config['root']); - return '
' . $body . '
'; + return Array( + 'top' => '
' . $body . '
', + 'bottom' => '
' . $body . '
' + ); } function error($message) { diff --git a/style.css b/style.css index 2ef6b7b9..0b00f14e 100644 --- a/style.css +++ b/style.css @@ -246,6 +246,7 @@ div.ban p.reason { } span.spoiler { background: black; + color: black; } span.spoiler:hover { color: white; @@ -308,7 +309,10 @@ hr { div.boardlist { color: #89A; font-size: 9pt; - margin-top: 10px; + margin-top: 3px; +} +div.boardlist.bottom { + margin-top: 20px; } div.boardlist a { text-decoration: none; diff --git a/templates/index.html b/templates/index.html index 2b54f7e5..03082681 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,7 +8,7 @@ - {boardlist} + {boardlist[top]}

{board[url]} - {board[name]}

{board[title]?{board[title]}}

{mod?Return to dashboard}

@@ -107,7 +107,7 @@
{btn[prev]} {pages: [{pages[num]}]{!%last? } } {btn[next]}
- {boardlist} + {boardlist[bottom]}

Powered by Tinyboard Alpha | Tinyboard Copyright © 2010-2011 OmegaSDG

\ No newline at end of file diff --git a/templates/thread.html b/templates/thread.html index 5af8d39f..221e3e5f 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -8,7 +8,7 @@ - {boardlist} + {boardlist[top]}

{board[url]} - {board[name]}

{board[title]?{board[title]}}

{mod?Return to dashboard}

@@ -97,7 +97,7 @@ [Return.] - {boardlist} + {boardlist[bottom]}

Powered by Tinyboard Alpha | Tinyboard Copyright © 2010-2011 OmegaSDG

\ No newline at end of file