Post by MisforM on Feb 25, 2016 6:34:58 GMT -8
tothelimit.freeforums.net/
Is it just me (it could be just my computer after all) or when I hover the first circle I can't really scroll? Is there a way to fix this? I'm new to the messing around with board stuff, but I do have some coding knowledge (albeit self-taught), so my code probably is buggy and has some unnecessary stuff, but I'll post what I have for my board list.
EDIT: One can scroll if they just click a place where the scroll bar isn't, but if they try to drag and scroll it, then it tries to pick up the image behind it.
Is it just me (it could be just my computer after all) or when I hover the first circle I can't really scroll? Is there a way to fix this? I'm new to the messing around with board stuff, but I do have some coding knowledge (albeit self-taught), so my code probably is buggy and has some unnecessary stuff, but I'll post what I have for my board list.
EDIT: One can scroll if they just click a place where the scroll bar isn't, but if they try to drag and scroll it, then it tries to pick up the image behind it.
<style>
.boards table.list { float: left; width: 33%; table-layout: fixed; }
.boards table.list .board > td { height: 100px; border:none; }
.boards table.list .main { width: auto; }
.boards table.list.first.last { width: 100%; }
.boards table.list { float: left; width: 33%; }
.ie7 .boards table.list { width: 33%; }
.boards .main { width: 100%; text-align: @board_align_main; }
.boards .threads { width: 100%; text-align: @board_align_threads; white-space: nowrap; }
.boards .posts { width: 100%; text-align: @board_align_posts; white-space: nowrap; }
.boards .latest { width: 100%%; text-align: left!important; margin-top:20px;}
.link {font-size:14px!important;position:relative;top:-8px;left:8px;
}
/*change the margin to make the 3 boards centered in the row*/
#make_square{
width:250px;
height:250px;
margin:4px;
padding-top:8px;
}
/*board with no post message*/
#no_post_here{
position:relative;top:120px;
height:20px;
}
</style>
{foreach $[board]}
<table class="list{if $[board.odd]} odd{/if}{if $[board.even]} even{/if}{if $[board.index] == 3} first{/if}{if $[board.index] == $[board.lastIndex]} last{/if}" role="grid">
<tbody>
{if !$[board.is_redirect]}
<tr id="$[board.content_id]" class="$[board.content_class]">
<td>
<div id="make_square">
<td class="special" colspan="3"><div style="margin-left:-50px;"><a href="$[board.href]"><div class="reddboard" style="background-image:url('$[board.display_name]');background-size:cover;">
<div class="reddbop"><div class="reddboh"><center><hr>
<p class="description">$[board.description]</p>
<hr></center></div></div></div></a>
<center><table style="margin-top:15px;margin-bottom:25px;"><tr><td class="reddtp"><center>$[board.posts] posts</center></td><td style="width:50px;"></td><td class="reddtp"><center>$[board.threads] threads</center></td></tr></table></center>
<br /> <div class="board-last-post"><span>
<center><div class="reddlast">
{if $[board.posts] > 0}
{if $[board.last_thread]}$[board.last_thread.recent_link]
by $[board.last_thread.last_post.created_by_user] $[board.last_thread.last_post.date]
{/if}
{/if}
</div>
</center>
</span>
</div></div></td>
</div>
</td>
</tr>
</tbody>
<table>
{else}
<table>
<tr id="$[board.content_id]" class="$[board.content_class]">
<td class="special" colspan="3" ><div style="margin-left:-100px;"><a href="$[board.href]"><div class="reddboard" style="background-image:url('$[board.display_name]');background-size:cover;">
<div class="reddbop"><div class="reddboh"><center><hr>
<p class="description">$[board.description]</p>
<hr></center></div></div></div></a>
<center><table style="margin-top:15px;margin-bottom:25px;"><tr><td class="reddtp"><center>$[board.posts] posts</center></td><td style="width:50px;"></td><td class="reddtp"><center>$[board.threads] threads</center></td></tr></table></center>
<br /> <div class="board-last-post"><span>
<center><div class="reddlast">
{if $[board.posts] > 0}
{if $[board.last_thread]}$[board.last_thread.recent_link]
by $[board.last_thread.last_post.created_by_user] $[board.last_thread.last_post.date]
{/if}
{/if}
</div>
</center>
</span>
</div></div></td>
</tr>
{/if}
</table>
{/foreach}
{if !$[board]}
<table class="list" role="grid"><tbody><tr class="last"><td class="last center" colspan="5">No boards were found.</td></tr></tbody></table>
{/if}
<style>
.reddbop {
position: absolute;
width: 250px;
height: 260px;
opacity: 0;
margin-top:-5px;
display:table;
border-radius:400px;
-webkit-transition-duration: .8s;
transition-duration: .8s;
-moz-transition-duration: .8s;
-o-transition: .8s;
}
.reddbop:hover {
opacity: .5;
}
.reddboh {
background-color:#000000;
width:250px;
height:50px;
color:#fff !important;
display:table-cell;
vertical-align:middle;
padding:25px;
border-radius:400px;
}
.reddboard {
border:5px #000 solid;
width:250px;
height:250px;
border-radius:300px;
}
.reddtable {
padding:50px;
}
.reddlast {
width:250px;
margin-bottom:10px;
min-height:25px;
font-size:13px;
}
.reddtp {
width:200px;
height:30px;
font-size:15px;
}
.description {
height:125px;
overflow:auto;
}
</style>