Главная страница форума для ucoz
Главная страница форума для ucoz-хотелось бы иметь какой нибудь другой формы,или расположения тем,так вот такой скрипт для форума позволит вам изменить расположения тем не в колонку а в определенный ряд
Общий вид страниц форума в самом низу перед /body этот код вставляем
В ксс
Общий вид страниц форума в самом низу перед /body этот код вставляем
Код
<script>
var gTLast = 'show',
infodiv = true,
marginBlock = '1';
$.getScript('http://obsub.ucoz.net/js/mjsforum.js');
</script>
var gTLast = 'show',
infodiv = true,
marginBlock = '1';
$.getScript('http://obsub.ucoz.net/js/mjsforum.js');
</script>
В ксс
Код
/* Главная страница форума */
.block{
display:block;
width:auto;
margin: 0;
}
.forumBlock {display:inline-block;
width: 160px;
float:left;
height: 60px;
background: #E4E7EA;
margin: 3px;
padding: 5px 5px 5px 5px;
position: relative;
border:1px solid #95bee8;}
.forumBlock:hover{background: #ccdae8;cursor:pointer;text-align:left;}
.tablTitle {background: #D1D6DC url(http://thebeststudio.ru//public/img/for-b.gif);
background-position: 150px 0px;
background-size: 450px 17px;
margin: 0px 0 3px 0;
padding: 5px 10px;
background-repeat: no-repeat;
display: block;
clear: both;
width: 100%;
color: white;
font-size: 13px;
font-weight:bold;
text-transform: uppercase;
text-shadow: 1px 1px 4px #9e9e9e;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.tablTitle a {color: white;
text-decoration:none;}
.fBTit {
color: #56B0D5;
font-weight: normal;
margin: 0;
padding: 0;
font-size: 12px;
font-weight:bold;
}
.forumDesc {display:block;
margin-top:5px;
padding-left:30px;
color: #777;}
.fInfoTImg {float: left;
display:block;
width: 24px;
height:24px;
margin:2px 5px 2px 0;
color:#56789d;
}
.imgPFor{
display:block;
width: 24px;
height:24px;
opacity:0.8;
}
.imgPFor img { width: 22px;
height:22px;
}
/* ---- */
.block{
display:block;
width:auto;
margin: 0;
}
.forumBlock {display:inline-block;
width: 160px;
float:left;
height: 60px;
background: #E4E7EA;
margin: 3px;
padding: 5px 5px 5px 5px;
position: relative;
border:1px solid #95bee8;}
.forumBlock:hover{background: #ccdae8;cursor:pointer;text-align:left;}
.tablTitle {background: #D1D6DC url(http://thebeststudio.ru//public/img/for-b.gif);
background-position: 150px 0px;
background-size: 450px 17px;
margin: 0px 0 3px 0;
padding: 5px 10px;
background-repeat: no-repeat;
display: block;
clear: both;
width: 100%;
color: white;
font-size: 13px;
font-weight:bold;
text-transform: uppercase;
text-shadow: 1px 1px 4px #9e9e9e;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.tablTitle a {color: white;
text-decoration:none;}
.fBTit {
color: #56B0D5;
font-weight: normal;
margin: 0;
padding: 0;
font-size: 12px;
font-weight:bold;
}
.forumDesc {display:block;
margin-top:5px;
padding-left:30px;
color: #777;}
.fInfoTImg {float: left;
display:block;
width: 24px;
height:24px;
margin:2px 5px 2px 0;
color:#56789d;
}
.imgPFor{
display:block;
width: 24px;
height:24px;
opacity:0.8;
}
.imgPFor img { width: 22px;
height:22px;
}
/* ---- */
Файлы для скачивания отсутствуют.
Поблагодарить автора
Автор: Turbo
Комментарии (0)