FIX отображение списка лучших авторов
This commit is contained in:
parent
d74951affb
commit
de9d8409eb
|
|
@ -89,7 +89,7 @@ nav.navbar.navbar-inverse .navbar-nav>li>a {color: #ddd;}
|
||||||
nav.navbar.navbar-inverse a.bigGreen {background-image: -webkit-linear-gradient(top,#3cfc3c 0, #398739 100%);background-image: linear-gradient(to bottom,#3cfc3c 0, #398739 100%);background-repeat: repeat-x;margin: 0 3px;padding: 15px 15px;border-radius: 5px;display: inline-block;color: white;font-weight: bold;}
|
nav.navbar.navbar-inverse a.bigGreen {background-image: -webkit-linear-gradient(top,#3cfc3c 0, #398739 100%);background-image: linear-gradient(to bottom,#3cfc3c 0, #398739 100%);background-repeat: repeat-x;margin: 0 3px;padding: 15px 15px;border-radius: 5px;display: inline-block;color: white;font-weight: bold;}
|
||||||
|
|
||||||
span.notifications {font-weight: bolder; color: red;}
|
span.notifications {font-weight: bolder; color: red;}
|
||||||
div.top5authors {width: 16.66666667%; float: left; display: inline-block;}
|
div.top5authors {width: 16.66666667%; float: left; display: inline-block; overflow: hidden;}
|
||||||
|
|
||||||
/*BOX*/
|
/*BOX*/
|
||||||
body.openBox div#box {display: block; z-index: 100; overflow-y: scroll;overflow-x: hidden;}
|
body.openBox div#box {display: block; z-index: 100; overflow-y: scroll;overflow-x: hidden;}
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@
|
||||||
<h4 class="top5authors">Самые активные авторы</h4>
|
<h4 class="top5authors">Самые активные авторы</h4>
|
||||||
<?php foreach ($authors as $author):?>
|
<?php foreach ($authors as $author):?>
|
||||||
<div class="top5authors text-center">
|
<div class="top5authors text-center">
|
||||||
<a href="/user/<?= $author->id;?>">
|
<a href="/user/<?= $author->id;?>" title="Создано точек: <?= $author->pointsCount;?>">
|
||||||
<img src="/img/avatars/<?= $author->id;?>.jpg"><br/>
|
<img src="/img/avatars/<?= $author->id;?>.jpg"><br/>
|
||||||
<nobr><b><?= $author->nick;?></b> [<?= $author->pointsCount;?>]</nobr>
|
<nobr><b><?= $author->nick;?></b></nobr>
|
||||||
</a><br/>
|
</a><br/>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue