Thông tin :
Rip từ skin Invision của Chinhphuc về PunBB
Người rip : Chupy
Cách làm : Nội dung đã bị ẩn - Vui lòng trả lời để thấy
[Bài viết không bị Ẩn]
Cho cái này vào Css :
- Code:
table[id^="c"] td.row2.icon a[href^="/f5-forum"] {
background: url(http://i16.servimg.com/u/f16/17/80/97/50/untitl25.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f62-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/tin_tu10.jpg);
}
table[id^="c"] td.row2.icon a[href^="/63-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/phim10.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f65-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/domian10.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f21-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/tranh_11.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f60-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/ghost11.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f4-forum"] {
background: url(http://i16.servimg.com/u/f16/17/80/97/50/untitl15.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f7-forum"] {
background: url(http://i16.servimg.com/u/f16/17/80/97/50/untitl34.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f1-forum"] {
background: url(http://i15.servimg.com/u/f15/12/24/45/65/bnb310.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f56-forum"] {
background: url(http://i16.servimg.com/u/f16/17/80/97/50/untitl20.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f57-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/tdyt10.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f45-forum"] {
background: url(http://i16.servimg.com/u/f16/17/80/97/50/untitl41.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f55-forum"] {
background: url(http://i16.servimg.com/u/f16/17/80/97/50/untitl37.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f54-forum"] {
background: url(http://i16.servimg.com/u/f16/17/80/97/50/untitl13.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f12-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/4310.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f13-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/6712.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f16-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/viurs10.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f3-forum"] {
background: url(http://i15.servimg.com/u/f15/12/24/45/65/bnb510.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f6-forum"] {
background: url(http://www.servimg.com/u/f77/16/58/45/96/latrin10.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f10-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/ebok10.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f17-forum"] {
background: url(http://i77.servimg.com/u/f77/16/58/45/96/laptop10.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f99-forum"] {
background: url(http://i15.servimg.com/u/f15/12/24/45/65/bnb110.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f26-forum"] {
background: url(http://i12.servimg.com/u/f12/15/64/85/86/qios10.jpg);
}
table[id^="c"] td.row2.icon a[href^="/f33-forum"] {
background: url(http://i16.servimg.com/u/f16/17/80/97/50/untitl37.jpg);
}
#fo_stat {
text-align: justify;
}
.maintitle.floated div.toggle, .maintitle.floated h2, .maintitle.floated h3 {
float: left;
}
div.maintitle div.toggle, div.maintitle h1, div.maintitle h2, div.maintitle h3 {
font-size: 13px;
}
div.maintitle .contract {
background: url(http://i45.servimg.com/u/f45/16/55/88/76/cat_mi10.png) no-repeat;
}
div.maintitle .contract, div.maintitle .expand {
opacity: 0;
height: 22px;
width: 32px;
}
table.ipbtable th {
background-color: rgb(255, 235, 230);
background-image: url(http://2img.net/i/fa/empty.gif);
background-repeat: repeat-x;
border-bottom: 1px solid rgb(255, 255, 255);
border-right: 1px dotted rgb(255, 255, 255);
padding: 5px;
text-align: center;
}
.linklist ul {
float: right;
list-style: none;
}
.linklist ul li {
float: left;
margin: 0px 0.25em;
}
.linklist ul li a {
font-size: 11px;
font-weight: 700;
margin-right: 0.25em;
text-decoration: underline;
}
.statlinks ul li a {
border-bottom: 1px dotted rgb(210, 77, 54);
color: rgb(210, 77, 54);
text-decoration: initial;
}
table.ipbtable .last {
border-right: none;
}
#fo_stat {
text-align: justify;
}
div.borderwrap1 {
background-color: rgb(255, 255, 255);
}
div.maintitle h3 {
font-size: 13px;
}
#right .module.borderwrap1:nth-child(3) {
position: fixed;
top: 40%;
left: 20px;
box-shadow: black 0px 0px 10px;
}
.newslink, .activeusers, div[id*="ptrafic"], .module.module-advert, #qpost, .borderwrap1 {
border: 2px solid rgb(221, 221, 221);
border-image: initial;
padding: 3px;
}
.module .maintitle {
padding: 5px;
}
.module .maintitle h3 {
float: none;
font-size: 1em;
}
.module .box-content {
border-bottom: none;
line-height: normal;
padding: 5px;
}
.box-content {
border: 0px;
border-image: initial;
}
.box-content {
background-color: rgb(255, 255, 255);
}
input[value="Chuyển"]:hover, a.button:hover, input[id="find_user"]:hover, input[type="submit"]:hover {
background: rgb(255, 68, 0);
}
input[value="Chuyển"], a.button, input[id="find_user"], input[type="submit"] {
cursor: pointer;
font-family: inherit;
font-size: 11px;
font-weight: bold;
color: white;
padding: 0px 8px;
height: 30px;
min-width: 54px;
border: 3px double white;
border-image: initial;
background: rgb(221, 221, 221);
}
.borderwrap h2 {
font-size: 22px;
}
.maintitle.floated div.toggle, .maintitle.floated h2, .maintitle.floated h3 {
float: left;
}
.row2 {
background-color: rgb(255, 255, 255);
}
#profile-advanced-add a, .borderwrap a, .posting-buttons a, .post a, #mudimPanel {
-webkit-transition: All .3s ease;
-moz-transition: All .3s ease;
-o-transition: All .3s ease;
}
a:link, a:active, a:visited {
text-decoration: none!important;
}
.last-post-icon img {
width: 15px;
height: 22px;
}
#submenu {
background: rgb(255, 255, 255);
color: rgb(177, 0, 13);
padding: 0.5em 0px 0.65em;
text-align: left;
}
#submenu ul li a {
color: #f40;
margin: 0.5em 1em 0.65em 0px;
padding: 0.5em 1em 0.65em 0px;
text-decoration: initial;
}
#submenu {
background:url(http://i44.servimg.com/u/f44/15/64/85/86/cp12.png) 10px 0px no-repeat,url(http://i12.servimg.com/u/f12/15/64/85/86/idxlat10.png) 0 0 repeat-x #EEE;
left: 0;
width: 100%;
z-index: 999;
position: fixed;
top: 0;
border-bottom: 2px solid #DDD;
}
#submenu .clearfix{
text-align:center;
}
#page-body {
margin: 4px 0;
width: 100%;
}
.newslink, .activeusers, div[id*="ptrafic"], .module.module-advert, #qpost, .borderwrap {
padding: 3px!important;
}
#chatbox_header, .maintitle {
background: transparent!important;
border-bottom: 2px solid #F40!important;
color: #F40!important;
margin-bottom: 5px;
height: 22px!important;
}
#profile-advanced-add a, .borderwrap a, .posting-buttons a, .post a, #mudimPanel {
-webkit-transition: All .3s ease;
-moz-transition: All .3s ease;
-o-transition: All .3s ease;
}
div.maintitle .contract, div.maintitle .expand {
height: 22px!important;
width: 32px!important;
opacity: 0;
}
table[id^="c"] tbody tr td.row1.centered {margin:-19px 0px 0px 185px}
table[id^="c"] tbody tr td.row2.centered {margin: 45px 0px 0px 185px}
/*Index box 3 cĂ¡Â»â„¢t*/
table.ipbtable.index-box {
table-layout: fixed;
width: 100%;
}
.last-post-icon img {
width: 15px;
height: 22px;
}
table[id^="c"] tbody tr {
overflow: hidden;
margin-top: 10px;
background: white;
border: 1px solid #DDD;
width: 300px;
display: inline-block;
height: 300px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px;
-moz-box-shadow: rgba(0,0,0,0.1) 0px 1px 4px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px;
}
#main .borderwrap + br + div.borderwrap {
background: transparent;
padding: 0!important;
border: 0;
}
table[id^="c"] tbody tr td[class="row1"] {
position: absolute;
width: 289px;
height: 56px;
background: #FAFAFA url(http://i12.servimg.com/u/f12/15/64/85/86/idxlat10.png) repeat-x 0 0;
border-top: 1px solid #F1F1F1;
margin-top: 183px;
}
table[id^="c"] tbody tr:nth-child(3n+2) {margin:-302px 0 0 323px}
table[id^="c"] tbody tr:nth-child(3n+3) {margin:-302px 0 0 648px}
table[id^="c"] tbody tr td,table[id^="c"] tbody tr td[class="row1"] br + strong {display:block}
table[id^="c"] tbody tr td[class="row1"] br + strong::before {
content: "Trả lời cuối ";
font-weight: normal;
}
#c2 tbody tr:nth-child(1) td.row1.centered {margin:-4px 0 0 185px}
#c2 tbody tr:nth-child(1) td.row2.centered {margin:59px 0 0 185px}
table[id^="c"] tbody tr td.row1.centered::after {
content: "Chủ đề";
position: absolute;
font-size: 8px;
font-weight: bold;
}
table[id^="c"] tbody tr td.row2.centered::after {
content: "Bài gửi";
position: absolute;
font-size: 8px;
font-weight: bold;
}
img.icon {
margin: -5px 0 0 35px;
width: 290px;
height: 3px;
}
table[id^="c"] tbody tr td.row2.icon div.par.forum-name h3 a {
padding-top:132px;
width: 290px;
display: block;
margin: -131px 0 0 0px;
}
table[id^="c"] tbody tr:hover td.row2.icon .par.forum-name h3 a{
background-position: -44px 0!important;
}
table[id^="c"] tbody tr td.row2.icon {
margin: 15px 0 -117px 0;
padding: 115px 0 0 0!important;
border: 5px solid white;
}
table[id^="c"] td.row2.icon a{
background-repeat: no-repeat!important;
}
table[id^="c"] tbody tr td[class="row1"] strong img {
width: 12px;
}
table[id^="c"] tbody tr td[class="row1"] [href$="?view=newest"], .last-post-icon {
position: absolute;
padding: 23px;
margin: -53px 0 0 230px;
}
table[id^="c"] tbody tr td[class="row1"] [href$="?view=newest"]:hover,.last-post-icon:hover {
background: rgba(255, 255, 255, 0.75);
}
#main .borderwrap + br + div.borderwrap h2 {
font-size: 22px;
}
table[id^="c"] tbody tr:hover td.row2.centered, table[id^="c"] tbody tr:hover td.row1.centered {
display: block!important;
}
table[id^="c"] tbody tr td.row2.centered, table[id^="c"] tbody tr td.row1.centered {
text-align: left;
display: none!important;
display: block;
height: 52px;
width: 100px;
position: absolute;
background: #000;
color: #FFF;
}
table.ipbtable {
empty-cells: show;
width: 100%;
}
.row1, .row2 {
border-bottom: 1px solid rgb(255, 255, 255);
}
table.ipbtable td {
padding: 5px;
vertical-align: top;
}
table.index-box td {
height: 0px;
}
Tiếp theo thay toàn bộ code của Index_box = code sau :
- Code:
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="borderwrap">
<div class="maintitle floated clearfix">
<h2><a name="C1"><b>{catrow.tablehead.L_FORUM}</b></a></h2>
</div>
<table cellpadding="0" cellspacing="0" id="c" class="ipbtable index-box">
<tfoot><tr>
<td colspan="4"></td></tr></tfoot><tbody>
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="row2 icon" style="padding-right: 0px; padding-left: 45px;">
<span class="status clearfix" style="margin-right: -35px; margin-left: -35px;">
<img title="Không có bài viết mới" src="http://i34.servimg.com/u/f34/12/24/45/65/xam10.png" alt="Không có bài viết mới" class="icon"></span>
<div class="par forum-name">
<h3 class="hierarchy">
<a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a>
</h3>
<p class="forum-desc">{catrow.forumrow.FORUM_DESC}<br></p>
<div class="mtbox">
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
</div>
<br><p></p></div>
<div class="mods"></div><p><strong></strong> </p></td>
<td class="row1 centered">{catrow.forumrow.TOPICS}</td>
<td class="row2 centered">{catrow.forumrow.POSTS}</td>
<td class="row1"><span>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</span>
</td></tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</tbody></table>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
Thế là xong ^$^
Chú ý :
trong Css có những đoạn :
- Code:
table[id^="c"] td.row2.icon a[href^="/f5-forum"] {
background: url(http://i16.servimg.com/u/f16/17/80/97/50/untitl25.jpg);
}
...
link ảnh = link tùy thích
[/Bài viết không bị Ẩn]