1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00

Fixed margin on boardlist

This commit is contained in:
Savetheinternet 2011-02-20 12:39:56 +11:00
parent dbca0716f2
commit c7a4b8cfdb
4 changed files with 13 additions and 6 deletions

View File

@ -42,7 +42,10 @@
$body = doBoardListPart($config['boards'], $mod?'?/':$config['root']); $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) { function error($message) {

View File

@ -246,6 +246,7 @@ div.ban p.reason {
} }
span.spoiler { span.spoiler {
background: black; background: black;
color: black;
} }
span.spoiler:hover { span.spoiler:hover {
color: white; color: white;
@ -308,7 +309,10 @@ hr {
div.boardlist { div.boardlist {
color: #89A; color: #89A;
font-size: 9pt; font-size: 9pt;
margin-top: 10px; margin-top: 3px;
}
div.boardlist.bottom {
margin-top: 20px;
} }
div.boardlist a { div.boardlist a {
text-decoration: none; text-decoration: none;

View File

@ -8,7 +8,7 @@
<script type="text/javascript" src="{index}main.js"></script> <script type="text/javascript" src="{index}main.js"></script>
</head> </head>
<body> <body>
{boardlist} {boardlist[top]}
<h1>{board[url]} - {board[name]}</h1> <h1>{board[url]} - {board[name]}</h1>
<div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div> <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: <div class="pages">{btn[prev]} {pages:
[<a {pages[selected]?class="selected"}{!pages[selected]?href="{pages[link]}"}>{pages[num]}</a>]{!%last? } [<a {pages[selected]?class="selected"}{!pages[selected]?href="{pages[link]}"}>{pages[num]}</a>]{!%last? }
} {btn[next]}</div> } {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> <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> </body>
</html> </html>

View File

@ -8,7 +8,7 @@
<script type="text/javascript" src="{index}main.js"></script> <script type="text/javascript" src="{index}main.js"></script>
</head> </head>
<body> <body>
{boardlist} {boardlist[top]}
<h1>{board[url]} - {board[name]}</h1> <h1>{board[url]} - {board[name]}</h1>
<div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div> <div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
@ -97,7 +97,7 @@
</div> </div>
</form> </form>
<a href="{return}">[Return.]</a> <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> <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> </body>
</html> </html>