Demo ảnh
Hướng dẫn
ACP >> Display >> Colors >> CSSThay toàn bộ bằng code sau
Code:
::selection {
background: none repeat scroll 0% 0% rgba(255, 0, 234, 1);
color: #fff;
}
::-webkit-selection {
background: none repeat scroll 0% 0% rgba(255, 0, 234, 1);
color: #fff;
}
*::-moz-selection {
background: none repeat scroll 0% 0% rgba(255, 0, 234, 1);
color: #fff;
}
.contents {
overflow: initial!important;
}
body {
background-color: #f9f9f9;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
color:#333333;
}
#page-body {
margin: 0!important
}
.pun {
margin: 0 auto;
padding: 0!important;
width: 100%;
}
a {
color:#3b5998;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.none {
display: none;
}
.center h3 a{color:#000!important}
.pic img {
display: block;
margin: 0 auto;
max-width: 310px;
min-width: 300px;
min-height: 200px;
}
/*footer*/
#pun-about ul li a {
color: #f9f9f9!important;
pointer-events: none;
}
#pun-about ul li {
color: #f9f9f9!important;
}
/*main-head*/
.reply #pun-qpost .main-head p.h2:before{font-size: 26px!important;content: "Trả lời của thành viên"}
.main .main-head {
position: relative;
background: transparent;
border-bottom: 1px solid #359bed;
line-height: 32px;
min-height: 33px;
padding: 0;
}
.main .main-head .h2 ,.main .main-head .page-title {
color: #359bed;
font-size: 26px;
text-shadow: 0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF,0 0 2px #FFF;
font-weight: 300;
padding: 0;
}
.main .main-head > .page-title {
margin: 0;
}
/*NAVBAR*/
li.sub .hot {
background: url(http://i.imgur.com/SEmTduA.png) no-repeat;
display: inline-table;
height: 16px;
margin-left: -83px;
margin-top: -8px;
position: absolute;
width: 24px;
}
#nav {
list-style: none;
background-color:#3b5998;
height:35px;
box-shadow: 0 1px 5px #888888;
}
#nav li.sub{
float: left;
}
#nav li.sub a{
line-height: 35px;
float: left;
color:#ffffff;
font-size:14px;
padding: 0 15px;
border-right: 1px solid #123682;
border-left: 1px solid #4965a0;
}
#nav li.sub a.home {
background:url(http://i.imgur.com/DIGTTgH.png) no-repeat center;
height: 35px;
width:15px;
}
#nav li.sub a.home:hover {
background:url(http://i.imgur.com/MkL3U6W.png) no-repeat center;
}
#nav li.sub a:hover {
text-decoration: none;
color:#cccccc;
}
#nav li.upload {
float: right;
}
#nav li.upload a {
margin-right: 3px;
top: 9px;
}
#nav li.upload a:hover{
}
#nav ul {
list-style: none;
display: none;
position: absolute;
z-index:3;
margin-top: 35px;
box-shadow: 0 1px 5px #888888;
}
#nav li:hover ul {
display: block;
}
#nav li.sub ul li {
float: none;
border: none;
}
#nav li.sub ul li a{
display:block;
background-color: #ffffff;
border-left: none;
border-right: none;
border-bottom: 1px solid #dfdfdf;
color: #666666;
line-height: 25px;
width:130px;
}
/*SEACH*/
#header .search{
width:367px;
height:38px;
position: absolute;
left: 265px;
top:20px;
}
#header .search .gsc-control-cse {
background: none!important;
padding: 0!important;
border: none!important;
}
#header .search .gsc-input {
background: none!important;
}
/*HEAD*/
.wauto {
width:980px;
margin: 0 auto;
}
#header {
position: relative;
height:68px;
}
#header h1 a{
font-size: 0;
background:url(http://i.imgur.com/gCWiZJZ.png) no-repeat;
width:172px;
height:68px;
display: inline-block;
}
/*butoon*/
.uibutton, .uibutton:visited {
-moz-box-shadow: 0 1px 0 rgba(0,0,0,0.1), inset 0 1px 0 #fff;
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.1), inset 0 1px 0 #fff;
background-color: #eee;
background-image: linear-gradient(#f5f6f6,#e4e4e3);
border: 1px solid #999;
border-bottom-color: #888;
box-shadow: 0 1px 0 rgba(0,0,0,0.1), inset 0 1px 0 #fff;
color: #333;
cursor: pointer;
display: inline;
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f5f6f6',EndColorStr='#e4e4e3');
font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
font-size: 11px;
font-style: normal;
font-variant: normal;
font-weight: bold;
line-height: normal;
margin: 0;
overflow: visible;
padding: .3em .7em .375em;
position: relative;
text-align: center;
text-decoration: none;
white-space: nowrap;
z-index: 1;
zoom: 1;
}
.uibutton:hover,
.uibutton:focus,
.uibutton:active,
.uibutton.active {
border-color: #777 #777 #666;
text-decoration: none;
}
.uibutton:active,
.uibutton.active {
border-color: #aaa;
background: #ddd;
filter: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
/*sider trai phai*/
#main {
position: relative;
margin: 10px 0px;
}
#main .m-top {
position: relative;
color: #3B5998;
border-bottom: 1px dotted #DFDFDF;
margin-bottom: 10px;
padding-bottom: 8px;
}
#main .m-left {
float: left;
width:680px;
margin-left: 1px;
}
#main-contents {
width:670px;
background-color: #ffffff;
box-shadow: 0 1px 5px #888888;
}
#main .m-right {
float: right;
width:295px;
margin-right: 1px;
}
.contents .items{
background: #ffffff;
float: left;
width: 330px;
margin-right:10px;
margin-bottom:10px;
box-shadow: 0 1px 3px #D6D6D6;
}
.contents .items:hover {
box-shadow: 0 1px 5px #888888;
}
.contents .items .top {
position: relative;
padding: 8px 10px;
border-bottom: 1px solid #dfdfdf;
color:#9B9B9B;
font-size:11px;
}
.contents .items .top div.like {
position: absolute;
right:10px;
top: 10px;
}
.contents .items .center {
padding: 10px;
position: relative;
}
.contents .items .center h3 {
font-size: 20px;
margin-bottom: 10px;
}
.contents .items .center img.thumb {
max-width:310px;
margin: 0 auto 0;
display: block;
}
.contents .items .center img.vplay {
display: block;
margin: 0 auto -65px;
position: relative;
top: -125px;
}
.contents .items .center p {
margin-top: 8px;
}
.contents .items .pic {
position: relative;
}
.contents .items .bot {
top: 15px;
right: 0;
position: absolute;
}
.ffffff {
background-color: #ffffff;
box-shadow: 0 1px 5px #888888;
}
.mrbottom {
margin-bottom: 10px;
}
.box .html {
padding: 10px;
}
.box {
position: relative;
background:url(http://i.imgur.com/SdcMkDe.png) repeat-x;
padding-top: 6px;
}
.box .h3-right {
position: absolute;
right:10px;
top: 10px;
}
.box h3{
border-bottom: 1px solid #dfdfdf;
font-size:20px;
line-height: 35px;
padding-left: 15px;
}
.box h2{
font-size:20px;
}
.box .stats {
font-size: 14px;
font-weight: bold;
margin: 5px 0;
}
.box .stats .comments {
margin-left: 10px;
}
.box div.source {
font-weight:bold;
font-size:14px;
margin: 5px 0;
}
.box div.source .text {
font-weight: normal;
}
.box .stats .number {
color: #3B5998;
font-size: 16px;
}
.box .stats .text {
font-weight: normal;
}
.box .stats a {
font-weight: normal;
}
div.box .likeButton {
background-color: #F4F4F4;
border-bottom: 1px solid #DDDDDD;
border-top: 1px solid #DDDDDD;
height: 25px;
margin: 0 -10px 10px;
padding: 10px 10px 5px;
width: 650px;
z-index: 2;
}
div.box .likeButtonVoting {
background-color: #FFFF99;
}
div.box .likeButton .text {
color: #3B5998;
float: left;
font-size: 15px;
font-weight: bold;
line-height: 20px;
padding-right: 5px;
}
/*top*/
div.topUsers {
}
div.topUsers .item {
float: left;
margin-bottom: 8px;
margin-right: 5px;
position: relative;
width: 130px;
}
div.topUsers .itemWide {
width: 215px;
}
div.topUsers .item img {
margin-left: -37px;
float: left;
height: 35px;
width: 35px;
}
div.topUsers .item .info {
margin-left: 38px;
}
div.topUsers .item a:hover{
text-decoration: none;
}
div.topUsers .name {
font-weight: bold;
height: 15px;
margin-bottom: 3px;
overflow: hidden;
}
div.topUsers .item a:hover .name {
color:#FF3300
}
div.topUsers span.likes {
color: #333333;
background: url("http://i.imgur.com/AwvX1zE.png") no-repeat scroll 0 2px transparent;
padding-left: 13px;
}
h3.topUsers {
background: url("../img/smile_icon.png") no-repeat scroll 5px 10px transparent;
padding-left: 25px;
}
div.topUsers span.num {
position: absolute;
left: -5px;
top: -5px;
background-color: #000;
display:inline-block;
float: left;
width: 15px;
height:15px;
text-align: center;
display: inline-block;
color:#ffffff;
}
div.topUsers span.num.number_0 {
background-color: #009DDC;
}
div.topUsers span.num.number_1 {
background-color: #47AA42;
}
div.topUsers span.num.number_2 {
background-color: #F57B20;
}
/*sider top tabs phải*/
div.tab .uibutton-group {
position: absolute;
top: 12px;
right: 5px;
}
.uibutton-group > .uibutton:first-child, .uibutton-group li:first-child .uibutton {
margin-left: 0;
}
/*login*/
#_Login{
position: absolute;
right: 0;
top: 20px;
}
#_Login .login {
background: url("http://i.imgur.com/DuVolAK.png") no-repeat scroll 5px 5px #3B5998;
color: #FFFFFF;
display: inline-block;
height: 30px;
line-height: 30px;
padding: 0 8px 0 33px;
vertical-align: middle;
}
#_Login .login:hover,
#_Login .login.act {
background-color: #5977B6;
text-decoration: none;
}
#_Login .tab_login {
background-color: #5977B6;
position: absolute;
right: 0;
width: 150px;
z-index: 2;
display: none;
}
#_Login .tab_login > li {
list-style: none outside none;
}
#_Login .tab_login a {
color: #FFFFFF;
display: block;
padding: 5px 15px;
}
#_Login .tab_login a:hover {
background-color: #3B5998;
text-decoration: none;
}
#_Login .login.btn_fb {
position: relative;
padding:0;
width:30px;
background-image:url(http://www.ngamvn.com/ngamvnTemp/img/icon-user.png);
cursor:pointer;
margin-right: 5px;
}
#_Login .login.btn_fb.msg_1 {
background-position: 5px 2px;
}
#_Login .login.btn_fb.msg_2 {
background-position: 5px -33px;
}
#_Login .login.btn_fb.msg_3 {
background-position: 5px -103px;
}
#_Login .login.btn_fb span {
background-color:#FF0000;
height:15px;
font-size:11px;
position: absolute;
right:-2px;
top:-3px;
display: inline-block;
line-height: normal;
padding: 0 3px;
}
#_Login .box_fb{
position: absolute;
right:0;
top: 40px;
z-index:2;
width:400px;
background-color: #ffffff;
border: 1px solid rgba(100, 100, 100, 0.4);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
display: none;
}
#_Login .box_fb span.arrow {
background: url("http://www.ngamvn.com/ngamvnTemp/img/arrow.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
display: inline-block;
height: 8px;
margin-left: 193px;
margin-top: -8px;
position: absolute;
width: 11px;
z-index: 3;
}
#_Login .box_fb span.arrow.m2 {
margin-left: 226px;
}
#_Login .box_fb span.arrow.m3 {
margin-left: 258px;
}
#_Login .box_fb h3 {
color: #333333;
font-size:11px;
border-bottom: 1px solid rgba(100, 100, 100, 0.4);
padding: 5px 10px;
}
#_Login .box_fb .contents li{
border-bottom: 1px solid rgba(100, 100, 100, 0.4);
padding: 10px;
list-style: none;
position: relative;
}
#_Login .box_fb .contents li a:hover {
text-decoration: none;
}
#_Login .box_fb .contents li .img {
float: left;
width: 50px;
}
#_Login .box_fb .contents li .img > img {
width: 40px;
}
#_Login .box_fb .contents li .info2 {
float: left;
width: 200px;
}
#_Login .box_fb .contents li .info2 a {
font-weight: bold;
line-height: 40px;
display: inline-block;
}
#_Login .box_fb .contents li .action {
float: right;
padding-top: 10px;
}
#_Login .box_fb .contents li.act {
background-color: #E7E7E7;
}
#_Login .box_fb .contents li.nodata {
height:40px;
text-align: center;
font-size:11px;
border-bottom:none;
line-height:40px;
}
#_Login .box_fb .contents li.ajax,
#msg_n_page.ajax {
background:url(http://www.ngamvn.com/ngamvnTemp/img/indicator.gif) no-repeat 6px 9px;
padding-left:25px;
font-style:italic;
}
#_Login .box_fb .contents li .info {
float:right;
width:330px;
}
#_Login .box_fb .contents li .info strong{
color: #333333;
}
#_Login .box_fb .contents li .info span{
color: #666666;
font-size:11px;
}
#_Login .box_fb .contents li .info span.time {
font-style: italic;
}
#_Login .box_fb .contents {
max-height: 305px;
}
/*seditor*/
.sceditor-group a {
cursor:pointer!important;
border:1px solid #999!important;
background:#FFF url(http://i38.servimg.com/u/f38/16/18/15/10/untitl27.png)repeat-x bottom left!important;
box-shadow:0 1px 0 #dedade!important;
margin-left:-1px;
border-radius:0;
-moz-border-radius:0;
padding:0px 3px!important;
}
a.sceditor-button-faspoiler div {
background:#FFF url(http://i35.servimg.com/u/f35/16/18/15/10/183.png)no-repeat center!important;
border:1px solid #ccc!important;
height:9px!important;
width:9px!important;
padding:3px!important;
}
.sceditor-container {
border:1px solid #bdbdbd!important;
border-radius:0!important;
-moz-border-radius:0!important;
}
.sceditor-toolbar {
text-align:left;
border-bottom:1px solid #cecfce!important;
background:#f2f2f2!important;
}
.sceditor-group a:active {
background:#dedede!important;
box-shadow:inset 0 1px 1px #b0b0b0!important;
}
.sceditor-group a.hover,.sceditor-group a.active {
background:#dedede!important;
box-shadow:inset 0 0 0 #b0b0b0!important;
}
.sceditor-toolbar .sceditor-group {
background:none!important;
border:0!important;
}
.sceditor-button-date,.sceditor-button-time{display:none!important}
/*button*/
input.button2:hover,input[type=button],.pun input[type=submit],input[type=reset] {
cursor:pointer;
border:1px solid #999;
border-bottom:1px solid rgb(131,131,131);
color:#000;
background-color:#FFF;
background-image:url(http://i38.servimg.com/u/f38/16/18/15/10/untitl27.png);
background-repeat:repeat-x;
background-position:bottom left;
font:bold 11px Tahoma!important;
box-shadow: 0px 1px 0px #dedade;
height:23px!important;
padding:3px 5px 5px 5px!important;
}
input.button2,select{padding:3px 5px;}
.pun input[name=login],.pun input[name=submit],.pun input.mainoption,.pun input[name=post] {
box-shadow: 0px 1px 0px #dedade;
border:1px solid rgb(32,100,202);
color:#fff;
background-color:rgb(87,145,237);
background-image:url(http://i57.servimg.com/u/f57/16/18/15/10/1189.png);
background-position:top left;
}
.pun input[type=reset]:active,input[type=submit]:active {
background-color:#dedede;
background-image:none;
box-shadow: inset 0 1px 1px #b0b0b0;
}
input[name=submit]:active,input.button2:active,.pun input[name=login]:active,input.mainoption:active,input[name=post]:active {
background:rgb(69,130,230) url();
box-shadow: inset 0 0px 0px #b0b0b0;
}
.pun-crumbs {
display:none;
}
#pun-visit {margin:5px 0px;color:rgb(128,128,128);font:bold 12px Arial;display:none}
/*xem them con nhieu lam*/
.uibutton.special {
border-color: #3b6e22 #3b6e22 #2c5115;
color: #fff!important;
background-color: #69a74e;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#75ae5c), to(#67a54b));
background-image: -moz-linear-gradient(#75ae5c, #67a54b);
background-image: -o-linear-gradient(#75ae5c, #67a54b);
background-image: linear-gradient(#75ae5c, #67a54b);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#75ae5c', EndColorStr='#67a54b'); /* for IE 6 - 9 */
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 #98c286;
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 #98c286;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 #98c286;
padding: 6px;
}
.uibutton.special:active {
border-color: #3b6e22;
background: #609946;
filter: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.uibutton.large {
font-size: 13px;
}
#pages a {
display: block;
width: 655px;
}
/*pass*/
#username_reg,#email,#password_reg,#password,#subject,#username {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
width:200px;
margin-bottom:4px;
margin-top:-4px;
border:1px solid #a6a6a6;
border-top:1px solid #858583;
border-left:1px solid #858583;
padding:5px 4px 5px 28px;
}
#password_reg,#password {
float:left;
background:#FFF url(http://i48.servimg.com/u/f48/16/18/15/10/login_12.jpg) no-repeat 2px center;
}
#username_reg,#username {
float:left;
background:#FFF url(http://i48.servimg.com/u/f48/16/18/15/10/login_11.jpg) no-repeat 2px center;
}
#pwd_bad:before {
content:"Xin vui lòng chọn mật khẩu với độ dài ít nhất là 6 kí tự. Mật khẩu phải chứa ít nhất 1 ký tự (a-z) và 1 ký tự số .";
font:11px Arial;
color:red;
margin-top:-7px;
display:inline-block;
}
#pwd_bad {
text-align:left;
width:300px;
font-size:0;
padding-left:30px;
background:url(http://i48.servimg.com/u/f48/14/28/30/23/regwro10.png)no-repeat scroll left;
margin-left:-40px;
margin-top:-2px;
}
#pwd_middle:before,#pwd_good:before {
content:"Hợp lệ có thể dùng ";
font:11px Arial;
color:green;
}
#pwd_middle,#pwd_good {
text-align:left;
width:300px;
font-size:0;
padding-left:25px;
margin-left:-40px;
margin-top:-2px;
background:url(http://i48.servimg.com/u/f48/14/28/30/23/regrig10.png)no-repeat scroll left;
}
.subtitle ,.subtitle a{
color: #359BED!important;
font-size: 26px;
font-weight: 300;
text-shadow: 0px 0px 2px #FFF, 0px 0px 2px #FFF, 0px 0px 2px #FFF, 0px 0px 2px #FFF;
padding: 0px;
}
.main-head .h3{color: #359BED!important;font-weight: 700}
/*drop down menu*/
.menubit {
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
-webkit-background-clip: padding-box;
-webkit-box-shadow: 0 3px 8px rgba(0,0,0,.3);
-webkit-transition: all .25s ease;
background-color: #fff;
border: 1px solid rgba(0,0,0,.15);
margin-top: -10px;
opacity: 0;
padding: 5px 0;
position: absolute;
transition: all .25s ease;
visibility: hidden;
width: 145px;
margin-left: -105px;
z-index: 999;
list-style: none;
}
ul.menubit li.submenubit{
border: solid #fff;
border-width: 1px 0;
color: #141823 !important;
font-family: 'Helvetica Neue', Helvetica, Arial, 'lucida grande',tahoma,verdana,arial,sans-serif;
font-size: 12px;
-webkit-font-smoothing: antialiased;
font-weight: normal;
line-height: 22px;
padding: 0 12px;
}
ul.menubit li.submenubit:hover{background-color:#42599e;border-color:#30497a;color:#fff !important;}
ul.menubit li.submenubit a{color: #141823 !important;}
ul.menubit li.submenubit a:hover, ul.menubit li.submenubit:hover a{color: #fff !important;}
ul.menubit li.gach {
border-bottom: 1px solid #e9eaed;
margin: 0px;
}
.submenu:hover .menubit, .submenu .menubit:hover{
visibility: visible;
opacity: 1;
margin-top: 5px;
}
ACP >> Display >> QLTT
Thay từng template tương ứng
Index_body
Code:
{JAVASCRIPT}
<div style="height:20px"></div>
<div><!-- BEGIN giefmod_index1 -->{giefmod_index1.MODVAR}<!-- END giefmod_index1 --></div>
{CHATBOX_TOP}
{BOARD_INDEX}
{CHATBOX_BOTTOM}
{AUTO_DST}
Index_box
Code:
<span class="clear"></span>
Overall_footer_begin
Code:
<!-- BEGIN html_validation -->
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<!-- END html_validation -->
</div>
</div>
</div>
</div>
</div>
<div id="{ID_RIGHT}">
<!-- BEGIN giefmod_index2 -->
{giefmod_index2.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index2 -->
</div>
</div>
</div>
</div>
<div id="pun-foot">
<div id="pun-about" class="clearfix" style=" background: 0; border: 0; ">
<form action="{S_JUMPBOX_ACTION}" method="get" name="jumpbox" onsubmit="if(document.jumpbox.f.value == -1){return false;}" id="qjump">
</form>
<ul>
<li>
<!-- BEGIN html_validation -->
</li>
</ul>
</div>
</div>
<!-- END html_validation -->
Tags: #skin #punbb