Browse Source

Fixed margin on boardlist

pull/40/head
Savetheinternet 12 years ago
parent
commit
8e1ef6558b
  1. 5
      inc/display.php
  2. 6
      style.css
  3. 4
      templates/index.html
  4. 4
      templates/thread.html

5
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) {

6
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;

4
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>

4
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>
Loading…
Cancel
Save