Установка: заходим Вид материалов новостей и устанавливаем:
Код
<table style="border: 2px solid black;background-image: url(http://passagestalker.3dn.ru/img/mid_bg.jpg);" border="0" cellpadding="0" cellspacing="0" width="100%" class="pressed"><tr><td style="padding:3px;">
<?if($MODER_PANEL$)?><div style="float:right">$MODER_PANEL$</div><?endif?>
<div class="eTitle" style="text-align:left;"><a href="$ENTRY_URL$">$TITLE$</a></div>
<?if($MESSAGE$)?><div class="eMessage" style="text-align:left;clear:both;padding-top:2px;padding-bottom:2px;"><table align="left">
<td class="eeKartaka" >
<img alt="$TITLE$" style="position:absolute;" src="http://passagestalker.3dn.ru/img/rama.png" width="250px" height="180px">
<img src="$IMG_URL1$" style="margin: 0px 0px 7px 4px;" width="246px" height="180px">
</td>
</table>$MESSAGE$</div><?endif?>
<div class="eDetails" style="clear:both;">
<?if($CATEGORY_NAME$)?><span class="e-category"><span class="ed-title">Категория:</span> <span class="ed-value">[<a href="$CATEGORY_URL$">$CATEGORY_NAME$</a>]</span></span><span class="ed-sep"> | </span><?endif?>
<span class="e-reads"><span class="ed-title">Просмотров:</span> <span class="ed-value">[$READS$]</span></span><span class="ed-sep"> | </span>
<?if($USERNAME$)?><span class="e-author"><span class="ed-title">Добавил:</span> <span class="ed-value" >[<a href="$PROFILE_URL$">$USERNAME$</a>]</span></span><span class="ed-sep"> | </span><?endif?>
<span class="e-date"><span class="ed-title">Дата:</span> <span class="ed-value" title="$TIME$">[$DATE$]</span></span>
<?if($COMMENTS_URL$)?><span class="ed-sep"> | </span>Комментарии [<a class="e-comments" href="$COMMENTS_URL$">$COMMENTS_NUM$</a>]<?endif?>
</div></td></tr></table>
Дальше заходим в КСС и ставляем:
Код
/*------Red-Border by xemordio-----*/
.allobv { overflow:hidden;
width:96%;
background:#171717;
border: 1px solid #222;
margin:0;
padding:10px;
-moz-box-shadow:inset 0px 0px 10px #000, 0px 0px 35px #000; /* тень для Firefox */
-webkit-box-shadow:inset 0px 0px 10px #000, 0px 0px 35px #000; /* для Chrome и Safari */
box-shadow:inset 0px 0px 10px #000, 0px 0px 35px #000;
}
.hr3 {border-top:1px solid #333; border-bottom:1px solid #010101; margin:4 4;}
.pressed {
color : #a31b1b;
padding: 4px;
margin: 3;
background: rgb(11,11,11) ;
border: 1px solid #000;
border-right: 1px solid #252525;
border-bottom: 1px solid #252525;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-transition: All 0.5s ease;
-moz-transition: All 0.5s ease;
-o-transition: All 0.5s ease;
-ms-transition: All 0.5s ease;
transition: All 0.5s ease;
}
.pressed:hover {
-webkit-box-shadow:0 0 40px rgba(163,27,27, 0.2) inset;
-moz-box-shadow:0 0 40px rgba(163,27,27, 0.2) inset;
box-shadow:0 0 40px rgba(163,27,27, 0.2) inset;
}
/*-----------*/