н ранероае
пн роан
Страница: 1
Сообщений 1 страница 4 из 4
Поделиться22012-09-29 23:57:50
Ширина столбца профиля
/* C3.5 */
.punbb .post .post-author {
float: left;
width: 25em;
margin-top: -1.5em;
overflow: hidden;
}
/* C3.11 */
.punbb .post-body {
margin-left: 25em;
border-left-style: solid;
border-left-width: 1px;
padding: 0 0 1px 0;
}
/* C3.14 */
.punbb .post-links {
margin-left: 25em;
border-left-style: solid;
border-left-width: 1px;
}
1 em = 10 px
там, где у меня 25 em, меняешь на свои
у нас 19, к примеру
Поделиться32012-10-01 01:14:25
ссылки переливаются несколькими цветами:
Код:
<script>function Sparkling_links(){var rate=20,eH=0,eS=128,eV=255,a,i=0,clrOrg,aZ,TimerID;
a=document.links;for(i in a){a[i].onmouseover=function(){clrOrg=this.style.color;aZ=this;TimerID=setInterval(time,100)};a[i].onmouseout=function(){clearInterval(TimerID);this.style.color=clrOrg}};a=document.links;for(i in a){a[i].onmouseover=function(){clrOrg=this.style.color;aZ=this;TimerID=setInterval(time,100)};a[i].onmouseout=function(){clearInterval(TimerID);this.style.color=clrOrg}};function time(){aZ.style.color=makeColor()};function makeColor(){if(eS==0){eR=eV;eG=eV;eB=eV}else{t1=eV;t2=(255-eS)*eV/255;t3=eH%60;t3=(t1-t2)*t3/60;if(eH<60){eR=t1;eB=t2;eG=t2+t3}else if(eH<120){eG=t1;eB=t2;eR=t1-t3}else if(eH<180){eG=t1;eR=t2;eB=t2+t3}else if(eH<240){eB=t1;eR=t2;eG=t1-t3}else if(eH<300){eB=t1;eG=t2;eR=t2+t3}else if(eH<360){eR=t1;eG=t2;eB=t1-t3}else{eR=0;eG=0;eB=0}}eR=Math.floor(eR);eG=Math.floor(eG);eB=Math.floor(eB);clrRGB='#'+eR.toString(16)+eG.toString(16)+eB.toString(16);eH=eH+rate;if(eH>=360)eH=0;return clrRGB;}};Sparkling_links();
</script>Поделиться42012-10-01 01:21:51
Подвижку иконок (если они с левого края) вправо от границ рамки можно попробовать таким кодом
Код:
<style type="text/css">
#pun-index .tcl .intd {
margin-left:30px;
}
</style>Страница: 1



