... обсуждаем.
стиль намбе ван
Страница: 1
Сообщений 1 страница 15 из 15
Поделиться22010-05-01 11:26:29
Код:
/* CS1 Background and text colours
-------------------------------------------------------------*/
body {
background-color: #6dc3bc;
background-image: url("http://i42.tinypic.com/qqreib.jpg"); background-no-repeat: repeatxy;
background-no-repeat: repeatxy;background-attachment: fixed;
background-position: left;
}
/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
background-color: Transparent;
color: #4a9d96;
}
/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
background-color: Transparent;
color: #4a9d96;
}
/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
background-color: Transparent;
background-image: url("http://i41.tinypic.com/1zd5em0.png");
height: 17px;
background-repeat : no-repeat;
color: #60B5B0;
font-weight: normal;
font-style: normal;
text-align: center;
margin-top: 2px; margin-bottom: 7px;
}
/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
background-color: Transparent;
color: #4a9d96;
}
/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
background-color: Transparent;
color: #4a9d96
}
/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl {
background-color: Transparent;
color: #4a9d96
}
/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
background-color: Transparent;
color: #4a9d96
}
/* CS1.8 */
#pun-navlinks .container {
background-color: Transparent;
color: #409390;
border-bottom: 1px dashed #409390;
}
.offline li.pa-online strong {
font-weight: normal
}
.punbb textarea, .punbb select, .punbb input {
background-color: #6dc3bc;
color: #ffffff
}
/* CS2 Border colours
-------------------------------------------------------------*/
/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
border-color: transparent;
}
/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
border-color: transparent;
}
/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
border-color: transparent;
}
/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
border-color: transparent;
}
/* CS2.5 */
.punbb th {
border-color: transparent;
}
/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
border-color: #CCCCCC;
}
#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
border-color: transparent;
}
#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
border-color: transparent;
}
.punbb .divider {
border-color: transparent;
}
.punbb .formal fieldset .post-box, .punbb .info-box {
border: transparent;
}
li.pa-online {
border-left-color: transparent
}
.punbb .post-sig dt {
border-top-color: transparent!important;
}
/* CS3 Links
-------------------------------------------------------------*/
/* CS3.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
color: #409390;
border-bottom: 0px none #000;
text-decoration: none;
}
.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
color: #4a9d96
}
/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active, .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
color: #409390;
border-bottom: 0px none #000;
text-decoration: none;
}
/* CS3.3 */
#pun-navlinks a {
color: #409390;
font-style: italic;
border-bottom: 0px none #000;
text-decoration: none;
}
/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
color: #409390;
font-weight: normal;
font-style: italic;
border-bottom: 0px none #000;
text-decoration: underline;
}
#pun-pagelinks a:active, #pun-pagelinks a:focus {
background-color: #333;
color: #fff;
}
/* CS4 Post status icons
-------------------------------------------------------------*/
Div.icon {background-image : url(http://i43.tinypic.com/34huxyv.png); background-repeat: no-repeat;}
TR.inew Div.icon {background-image : url(http://i42.tinypic.com/rm5gfa.png); background-repeat: no-repeat;}
/* CS5 Other
-------------------------------------------------------------*/
.post-author ul .pa-author {text-align: center !important;}
.post-author ul .pa-title {text-align: center; }
#pun-main .category .container table .hasicon .tcl .intd .tclcon {text-align: center; }
#banners a img {opacity:0.3; -moz-opacity:0.3; filter:alpha(opacity=20);}
#banners a:hover img {opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100);}
#pun-title .title-logo span {display: none;}
.section h2, .section h2 span {display: none;}
#pun-title .title-logo {background-image : url(http://s02.radikal.ru/i175/1005/03/74f1176b9adf.png);
background-repeat : no-repeat; height : 100px;}
#pun-stats ul.container {
#pun-announcement h2 {display: none}Поделиться32010-05-15 05:19:50
text-shadow: 1px 1px 1px #180725;
Поделиться62010-05-19 11:33:47
dddddddddd
Поделиться72011-08-12 13:54:47
898989
Поделиться82011-08-12 14:09:00
кпуйукп
Поделиться92011-08-12 14:26:06
ghghghghg
Поделиться102011-08-12 14:26:15
hjhjh
Поделиться112011-08-12 14:26:32
ggggg
Поделиться132011-08-12 14:27:56
ывыфыфывфывфы
Поделиться142011-08-12 20:49:16
Верх:
Код:
<style type="text/css">
#nav, #nav ul {color: #ffffff;
display: block;
background: #261003;
list-style: none;
margin: auto;
padding: 0;
border: 1px dotted #000;
float: center;
width: 138px;
}
#nav li {
margin: auto;
float: center;
position: relative;
background: #261003;
}
#nav li ul {
display: none;
position: absolute;
background: #261003;
padding: 8px 0;
width: 138px;
filter:alpha(opacity=60)!important;
opacity: 0.8!important;
-moz-opacity: 0.6!important;
-khtml-opacity: 0.6!important;
}
#nav a {
color: #fff;
text-decoration: none;
display: block;
width: 120px;
padding: 4px 10px;
background: #261003;
}
#nav a:hover {
color: #000;
background: #261003;
filter:alpha(opacity=60)!important;
opacity: 0.8!important;
-moz-opacity: 0.6!important;
-khtml-opacity: 0.6!important;
}
#nav li:hover {
background: #333;
}
#nav li li a {
width: 118px;
background: none;
}
#nav li:hover ul {
display: block;
}
#nav li:hover li ul {
display: none;
width: 138px;
top: -9px;
left: 133px;
}
#nav li:hover li:hover ul {
display: block;
}
.container1 {width: 800px; margin: 0 auto; padding: 0;}
ul.tabs {
margin: 0;
padding: 0;
float: right;
list-style: none;
height: 40px;
width: 100%;
}
ul.tabs li {
float: center;
margin-top:0;
padding: 0;
height: 40px;
width: 19%;
line-height: 40px;
border: 0px;
margin-bottom: 6px;
overflow: hidden;
position: relative;
border-top: 0px solid #000000;
border-bottom: 0px solid #000000;
-moz-border-radius: 8px;
-khtml-border-radius: 8px;
-webkit-border-radius: 8px;
}
ul.tabs li a {
text-decoration: none;
color: transparent;
display: block;
padding: 0 5px;
background: url();
outline: none;
}
ul.tabs li a:hover {
background: url();
border-bottom: 0px solid #000000;
border-top: 0px solid #000000;
border-left: 0px solid #000000;
border-right: 0px solid #000000;
}
html ul.tabs li.active {
background-color: #fffbf5;
filter:alpha(opacity=60)!important;
opacity: 0.8!important;
-moz-opacity: 0.6!important;
-khtml-opacity: 0.6!important;
margin-right: -26px;
overflow: hidden;
position: relative;
-moz-border-radius: 8px;
-khtml-border-radius: 8px;
-webkit-border-radius: 8px;
}
html ul.tabs li.active a:hover {
background: url();
border-bottom: 0px solid #160f0a;
}
.tab_container1 {
-moz-border-radius: 8px;
-khtml-border-radius: 8px;
-webkit-border-radius: 8px;
clear: both;
float: right;
width: 80%;
height: 300px;
margin-top: -46px;
background-color: #0080D7;
filter:alpha(opacity=60)!important;
opacity: 0.6!important;
-moz-opacity: 0.6!important;
-khtml-opacity: 0.6!important;
}
.tab_content {
padding: 8px;
}
.tab_content h2 {
font-weight: normal;
padding-bottom: 2px;
border-bottom: 0px dashed #000000;
}
</style>низ:
Код:
<script type="text/javascript">
$(document).ready(function() {
$(".tab_content").hide();
$("ul.tabs li:first").addClass("active").show();
$(".tab_content:first").show();
$("ul.tabs li").click(function() {
$("ul.tabs li").removeClass("active");
$(this).addClass("active");
$(".tab_content").hide();
var activeTab = $(this).find("a").attr("href");
$(activeTab).fadeIn();
return false;
});
});
</script>таблица
Код:
<div class="container">
<div class="html-box">
<ul class="tabs">
<li class="active"><a href="#tab1">Новости</a></li>
<li><a href="#tab2">Конкурсы</a></li>
<li><a href="#tab3">Администрация</a></li>
<li><a href="#tab4">Время/Погода</a></li>
<li><a href="#tab5">5 окно</a></li>
<li><a href="#tab6">Сюжетная линия</a></li>
</ul>
<div class="tab_container1">
<div style="display: block;" id="tab1" class="tab_content">
<table width="100%" height="200px" cellpadding="7" cellspacing="3">
<tr height="70%">
<td width="40%" align="center">
<img src=""></td>
<td width="40%"><img src=""><br><br>
<ul id="nav">
<li>Навигация
<ul>
<li><a href="#null">Ссылка</a> </li>
<li><a href="#null">Еще</a></li>
<li><a href="#null">Другая</a></li>
<li><a href="#null">И еще</a></li>
</ul>
</li>
</ul>
<br><br> теееекст.</td>
</tr>
<tr height="40%">
<td width="40%"><div style="overflow-y: auto; overflow-x: hidden; height: 100px">теееекст 2.</div></td>
<td width="40%"><img src=""><br><br>теееекст3. </td>
</tr>
</table>
</div>
<div style="display: none;" id="tab2" class="tab_content">
<table width="100%" height="200px" cellpadding="7" cellspacing="3">
<tr>
<td width="50%"></td>
<td width="50%"></td>
</tr>
<tr>
<td width="50%"></td>
<td width="50%"> </td>
</tr>
</table>
</div>
<div style="display: none;" id="tab3" class="tab_content">
<table width="100%" height="200px" cellpadding="7" cellspacing="3">
<tr><td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td></tr>
<tr>
<td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td>
</tr>
</table>
</div>
<div style="display: none;" id="tab4" class="tab_content">
<table width="100%" height="200px" cellpadding="7" cellspacing="3">
<tr><td width="30%"></td>
<td width="30%"></td>
<td width="40%"></td></tr>
<tr>
<td width="30%"></td>
<td width="30%"></td>
<td width="40%"></td>
</tr>
</table>
</div>
<div style="display: none;" id="tab5" class="tab_content">
<table width="100%" height="200px" cellpadding="7" cellspacing="3">
<tr><td width="30%"></td>
<td width="30%"></td>
<td width="40%"></td></tr>
<tr>
<td width="30%"></td>
<td width="30%"></td>
<td width="40%"></td>
</tr>
</table>
</div>
<div style="display: none;" id="tab6" class="tab_content">
<table width="100%" height="200px" cellpadding="7" cellspacing="3">
<tr><td width="30%"></td>
<td width="30%"></td>
<td width="40%"></td></tr>
<tr>
<td width="30%"></td>
<td width="30%"></td>
<td width="40%"></td>
</tr>
</table>
</div>
<div style="display: none;" id="tab7" class="tab_content">
<table width="100%" height="200px" cellpadding="7" cellspacing="3">
<tr>
<td width="50%"></td>
<td width="50%"></td>
</tr>
<tr>
<td width="50%"></td>
<td width="50%"> </td>
</tr>
</table>
</div>
<div style="display: none;" id="tab8" class="tab_content">
<table width="100%" height="200px" cellpadding="7" cellspacing="3">
<tr>
<td width="50%"></td>
<td width="50%"></td>
</tr>
<tr>
<td width="50%"></td>
<td width="50%"> </td>
</tr>
</table>
</div>
<div style="display: none;" id="tab9" class="tab_content">
текст 3
</div>
<div style="display: none;" id="tab10" class="tab_content">
<table width="100%" height="200px" cellpadding="7" cellspacing="3">
<tr>
<td width="50%"></td>
<td width="50%"></td>
</tr>
<tr>
<td width="50%"></td>
<td width="50%"> </td>
</tr>
</table>
</div>
</div>
</div>
</div>Страница: 1
