diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-20 12:39:56 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-20 12:39:56 +1100 |
| commit | 8e1ef6558b4541372d2b4dabd6fbecb500a4d78a (patch) | |
| tree | 7f4f2f9bf690f8368aa6c39dafb12681a4974a56 | |
| parent | 4d752074081209ce3ac078b8c9773b807838cec1 (diff) | |
Fixed margin on boardlist
| -rw-r--r-- | inc/display.php | 5 | ||||
| -rw-r--r-- | style.css | 6 | ||||
| -rw-r--r-- | templates/index.html | 4 | ||||
| -rw-r--r-- | 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 '<div class="boardlist">' . $body . '</div>'; + return Array( + 'top' => '<div class="boardlist">' . $body . '</div>', + 'bottom' => '<div class="boardlist bottom">' . $body . '</div>' + ); } function error($message) { @@ -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 @@ <script type="text/javascript" src="{index}main.js"></script>
</head>
<body>
- {boardlist}
+ {boardlist[top]}
<h1>{board[url]} - {board[name]}</h1>
<div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
@@ -107,7 +107,7 @@ <div class="pages">{btn[prev]} {pages:
[<a {pages[selected]?class="selected"}{!pages[selected]?href="{pages[link]}"}>{pages[num]}</a>]{!%last? }
} {btn[next]}</div>
- {boardlist}
+ {boardlist[bottom]}
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://wiki.omegasdg.com/index.php?title=Tinyboard">Tinyboard Alpha</a> | <a href="http://wiki.omegasdg.com/index.php?title=Tinyboard">Tinyboard</a> Copyright © 2010-2011 <a href="http://omegasdg.com/">OmegaSDG</a></p>
</body>
</html>
\ 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 @@ <script type="text/javascript" src="{index}main.js"></script>
</head>
<body>
- {boardlist}
+ {boardlist[top]}
<h1>{board[url]} - {board[name]}</h1>
<div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
@@ -97,7 +97,7 @@ </div>
</form>
<a href="{return}">[Return.]</a>
- {boardlist}
+ {boardlist[bottom]}
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://wiki.omegasdg.com/index.php?title=Tinyboard">Tinyboard Alpha</a> | <a href="http://wiki.omegasdg.com/index.php?title=Tinyboard">Tinyboard</a> Copyright © 2010-2011 <a href="http://omegasdg.com/">OmegaSDG</a></p>
</body>
</html>
\ No newline at end of file |
