Witam!
Używam skórki Black3d i chciałbym zmienić wysokość bannera. Znalazłem taki wpis w pliku styles.css:
.topbkg {
background:#1a1a1a url(images/banner.jpg) no-repeat center; height:120px;
font-size:13px;line-height:140%;font-weight:bold;color:#000000
}
Próbowałem zmienić wartość height ale nie przynosiło to pożądanego rezultatu.
Dodaje całą zawartość styles.css:
body {
background:#2e2e2e;color:#e7e7e7;font:12px Verdana,Arial,Helvetica,sans-serif;
scrollbar-3dlight-color:#6a6a6a;
scrollbar-arrow-color:#899900;
scrollbar-darkshadow-color:#000000;
scrollbar-face-color:#1f1f1f;
scrollbar-highlight-color:#1f1f1f;
scrollbar-shadow-color:#000000;
scrollbar-track-color:#2e2e2e
}
.bodyline {
background:#303030 url(images/cb_fbr_tex.gif);
border:1px solid;border-color: #000000 #707070 #707070 #000000;
}
a {
color:#899900; text-decoration:none;
}
a:hover {
color:#767676; text-decoration:underline;
}
a.side {
color:#899900; text-decoration:none;
}
a:hover.side {
color:#767676; text-decoration:underline;
}
a.white {
font-size:11px;color:#899900; text-decoration:none;
}
a:hover.white {
color:#767676; text-decoration:underline overline;
}
img {
border: 0px;
}
form {
margin:0px 0px 0px 0px;
}
hr {
border: 0px solid #9c9c9c;border-top-width:1px;height:0px;
}
hr.side-hr {
border:1px #D1E4F1 solid;
border-bottom:1px #F9F9F9 solid;
}
td {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:11px;
}
pre {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:11px;
}
.alt {
color:#666;
}
.button {
background:#303030;font-size:11px;color:#e7e7e7;
border:1px solid; border-color:#707070 #000000 #000000 #707070
}
.textbox {
background:#303030;color:#e7e7e7;
font:11px Verdana,Arial,Helvetica,sans-serif;padding-bottom:2px;padding-left:2px;
border:1px solid;border-color: #000000 #707070 #707070 #000000
}
.main-bg {
padding:5px 0px 5px 0px;
}
.side-border-left {
padding:5px 5px 0px 0px;
}
.side-border-right {
padding:5px 0px 0px 5px;
}
.main-body {
font-size:11px;
color:#000;
background-color:#DFEDF7;
padding:12px 4px 3px 4px;
}
.side-body {
font-size:11px;
color:#027AC6;
background-color:#DFEDF7;
padding:5px 0px 0px 0px;
}
.border {
background-color:#ddd;
border:2px #D1D8DD solid;
}
.infobar {
background-color:#333333;
font-size:11px;
color:#899900;
border-top: solid #D2D2E1;
border-top-width: 1px;
border-left: solid #D2D2E1;
border-left-width: 1px;
border-right: solid #F6F6F6;
border-right-width:0px;
border-bottom: solid #F6F6F6;
border-bottom-width:1px;
padding:3px 4px 3px 4px;
}
.panel-left {
width:6px; height:21px;
background-image:url(images/panel-left.gif);
}
.panel-right {
width:6px; height:21px;
background-image:url(images/panel-right.gif);
}
.panel-main {
font-family:Tahoma,Arial,Sans-Serif;
font-size:12px;font-weight:bold;
color:#C7E9FE;
height:21px;
padding:0px 2px 0px 2px;
background-image:url(images/panel-main.gif);
background-repeat:repeat-x;
}
.table-body {
font-size:11px;
color:#003150;
background-color:#F0F0F0;
padding:12px 4px 3px 4px;
}
.side-caption {
font-family:Verdana,Tahoma,Arial,Sans-Serif;
font-size:11px; font-weight:bold;
color:#FFFFFF; background-color:#004A80;
padding:0px 4px 3px 4px;
}
.tbl-border {
background-color:#929292;
}
.tbl {
font-size:11px; padding:3px 4px 3px 4px;
}
.tbl1 {
font-size:11px;
background-color:#272727; padding:3px 4px 3px 4px;
}
.tbl2 {
font-size:11px;
background-color:#303030; padding:3px 4px 3px 4px;
}
.forum-caption {
color:#8e8e8e;font-weight:bold;letter-spacing:1px;background:#191919 url(images/cellpic1.gif);height:31px;text-indent:4px
}
.quote {
background-color:#525252;border:1px solid #000000;color:#e7e7e7;
font-size:11px;line-height:125%
}
.poll {
height:12px; border:0px #D1D8DD solid;
}
.comment-name {
font-weight:bold; color:#113355;
}
.shoutboxname {
font-weight:bold; color:#113355;
}
.shoutbox {
}
.shoutboxdate {
font-size:9px; color:#0081B7; text-align:right;
}
.small {
font-size:11px; font-weight:normal;
}
.small2 {
font-size:11px; font-weight:normal;
}
.side-small {
font-size:11px; font-weight:normal;
}
select {
background:#303030;color:#e7e7e7;font:11px Verdana,Arial,Helvetica,sans-serif
}
.topbkg {
background:#1a1a1a url(images/banner.jpg) no-repeat center; height:120px;
font-size:13px;line-height:140%;font-weight:bold;color:#000000
}
.topnav {
font-size:10px;background:#1d1c19;color:#899900;height:23px;white-space:nowrap
}
.tbltop {
background:#2e2e2e url(images/tnav_t.gif) repeat-x
}
.tblleft {
background:#2e2e2e url(images/tnav_l.gif) repeat-y
}
.tblright {
background:#2e2e2e url(images/tnav_r.gif) repeat-y
}
.tblbot {
background:#2e2e2e url(images/tnav_b.gif) repeat-x
}
td.cat,th,.topnav {
border:1px solid;border-color:#707070 #000000 #000000 #707070
}
td.cat {
color:#8e8e8e;font-weight:bold;letter-spacing:1px;background:#191919 url(images/cellpic1.gif);height:27px;text-indent:4px
}
.nav {
font-size:11px;font-weight:bold;color:#979797
}
oraz pliku theme.php:
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| bl_black3D_blue Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: Fusion Clanmods BlackLighT © 2007 |
| web: http://www.xpp-gaming.de |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#e7e7e7";
$body_bg = "#2e2e2e";
$theme_width = "980px";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table class='bodyline' width='".$theme_width."' align='center' cellspacing='0' cellpadding='0' border='0'>
<tr>
<td>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><img src='".THEME."images/tnav_tl.gif' width='14' height='23' alt='' /></td>
<td width='100%' class='tbltop'> </td>
<td><img src='".THEME."images/tnav_tr.gif' width='15' height='23' alt='' /></td>
</tr>
<tr>
<td class='tblleft'> </td>
<td align='center' class='topbkg'>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td width='100%' height='120' valign='bottom' align='right'><img
src='".THEME."images/phpbb2_logo.gif'></td>
</tr>
</table>
</td>
<td class='tblright'> </td>
</tr>
<tr>
<td><img src='".THEME."images/tnav_bl.gif' width='14' height='26' alt='' /></td>
<td class='tblbot'> </td>
<td><img src='".THEME."images/tnav_br.gif' width='15' height='26' alt='' /></td>
</tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='4'>
<tr>
<td align='center' class='topnav'>".showsublinks("•","white")."</td>
<td align='right' width='150' class='topnav'>".showsubdate()."</td>
</tr></table>";
echo "<table width='100%' cellspacing='0' cellpadding='0' border='0'>
<tr>
<td>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><img src='".THEME."images/tnav_tl.gif' width='14' height='23' alt='' /></td>
<td width='100%' class='tbltop'> </td>
<td><img src='".THEME."images/tnav_tr.gif' width='15' height='23' alt='' /></td>
</tr>
<tr>
<td class='tblleft'> </td>
<td width='100%'>
<table width='100%' cellpadding='0' cellspacing='0'>
<td>
<table width='99%' cellpadding='0' cellspacing='0'
align='center'>
<td>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo " </td>
</table>
</td>
</table>
<table height='40' align='center' valign='middle' border='0' cellspacing='0'
cellpadding='0'>
<td>".stripslashes($settings['footer'])."</td>
</table>
</td>
<td class='tblright'> </td>
</tr>
<tr>
<td><img src='".THEME."images/tnav_bl.gif' width='14' height='26' alt='' /></td>
<td width='100%' valign='top' height='26'>
<table width='100%' cellpadding='0' cellspacing='0' height='26' valign='top'>
<td width='28' background='".THEME."images/tnav_b_text-a.gif'> </td>
<td valign='middle' background='".THEME."images/tnav_b_text.gif'>
<table width='100%' cellpadding='0' cellspacing='0'>
<td width='40%' align='left' height='20'
valign='bottom'>".($license == false ? "<a href='mailto:' target='_blank'>Zenwalk</a> © 2007-2010" :
" ")."</td>
<td width='45%' align='right' height='20' top;'></a></td>
<td width='15%' align='right' height='20'
valign='bottom'><strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" :
$locale['141']."\n")."</td>
</table>
<td width='28' background='".THEME."images/tnav_b_text-b.gif'> </td>
</table>
</td>
<td><img src='".THEME."images/tnav_br.gif' width='15' height='26' alt='' /></td>
</tr>
</table>
</td>
</tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table style='background-color:#272727;' width='100%' cellspacing='0' cellpadding='0' border='0'>
<tr>
<td>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><img src='".THEME."images/tnav_tl.gif' width='14' height='23' alt='' /></td>";
if($subject == '') echo "<td width='100%' class='tbltop'> </td>";
else echo "<td width='100%' valign='top' height='23'>
<table width='100%' cellpadding='0' cellspacing='0' height='23'
valign='top'>
<td width='50' background='".THEME."images/tnav_t.gif'> </td>
<td width='28'
background='".THEME."images/tnav_t_text-a.gif'> </td>
<td width='350' valign='middle'
background='".THEME."images/tnav_t_text.gif' style='vertical-align:middle'><b>".$subject."</b></td>
<td width='28'
background='".THEME."images/tnav_t_text-b.gif'> </td>
<td background='".THEME."images/tnav_t.gif'> </td>
</table>
</td>";
echo "<td><img src='".THEME."images/tnav_tr.gif' width='15' height='23' alt='' /></td>
</tr>
<tr>
<td class='tblleft'> </td>
<td>
<table width='100%' border='0' cellspacing='0' cellpadding='10'>
<tr>
<td>
<div
style='width:100%;vertical-align:top;'>$news</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0'
cellspacing='0'><tr>";
echo "<td class='infobar'>".newsposter($info)."</td>";
echo "<td align='right' class='infobar'>";
echo
openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td></tr></table>
</div>
</td>
</tr>
</table>
</td>
<td class='tblright'> </td>
</tr>
<tr>
<td><img src='".THEME."images/tnav_bl.gif' width='14' height='26' alt='' /></td>
<td class='tblbot'> </td>
<td><img src='".THEME."images/tnav_br.gif' width='15' height='26' alt='' /></td>
</tr>
</table>
</td>
</tr></table>";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table style='background-color:#272727;' width='100%' cellspacing='0' cellpadding='0' border='0'>
<tr>
<td>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><img src='".THEME."images/tnav_tl.gif' width='14' height='23' alt='' /></td>";
if($subject == '') echo "<td width='100%' class='tbltop'> </td>";
else echo "<td width='100%' valign='top' height='23'>
<table width='100%' cellpadding='0' cellspacing='0' height='23'
valign='top'>
<td width='50' background='".THEME."images/tnav_t.gif'> </td>
<td width='28'
background='".THEME."images/tnav_t_text-a.gif'> </td>
<td width='350' valign='middle'
background='".THEME."images/tnav_t_text.gif' style='vertical-align:middle'><b>".$subject."</b></td>
<td width='28'
background='".THEME."images/tnav_t_text-b.gif'> </td>
<td background='".THEME."images/tnav_t.gif'> </td>
</table>
</td>";
echo "<td><img src='".THEME."images/tnav_tr.gif' width='15' height='23' alt='' /></td>
</tr>
<tr>
<td class='tblleft'> </td>
<td>
<table width='100%' border='0' cellspacing='0' cellpadding='10'>
<tr>
<td>
<div
style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0'
cellspacing='0'><tr>";
echo "<td class='infobar'>".articleposter($info)."</td>";
echo "<td align='right' class='infobar'>";
echo
openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table>
</div>
</td>
</tr>
</table>
</td>
<td class='tblright'> </td>
</tr>
<tr>
<td><img src='".THEME."images/tnav_bl.gif' width='14' height='26' alt='' /></td>
<td class='tblbot'> </td>
<td><img src='".THEME."images/tnav_br.gif' width='15' height='26' alt='' /></td>
</tr>
</table>
</td>
</tr></table>";
}
function opentable($title) {
echo "<table style='background-color:#272727;' width='100%' cellspacing='0' cellpadding='0' border='0'>
<tr>
<td>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td width='14'><img src='".THEME."images/tnav_tl.gif' width='14' height='23' alt=''
/></td>";
if($title == '') echo "<td width='100%' class='tbltop'> </td>";
else echo "<td width='100%' valign='top' height='23'>
<table width='100%' cellpadding='0' cellspacing='0' height='23'
valign='top'>
<td width='50' background='".THEME."images/tnav_t.gif'> </td>
<td width='28'
background='".THEME."images/tnav_t_text-a.gif'> </td>
<td width='350' valign='middle'
background='".THEME."images/tnav_t_text.gif' style='vertical-align:middle'><b>".$title."</b></td>
<td width='28'
background='".THEME."images/tnav_t_text-b.gif'> </td>
<td background='".THEME."images/tnav_t.gif'> </td>
</table>
</td>";
echo "<td width='14'><img src='".THEME."images/tnav_tr.gif' width='15' height='23' alt=''
/></td>
</tr>
<tr>
<td class='tblleft'> </td>
<td>
<table width='100%' border='0' cellspacing='0' cellpadding='10'>
<tr>
<td>";
}
function closetable() {
echo " </td>
</tr>
</table>
</td>
<td class='tblright'> </td>
</tr>
<tr>
<td><img src='".THEME."images/tnav_bl.gif' width='14' height='26' alt='' /></td>
<td class='tblbot'> </td>
<td><img src='".THEME."images/tnav_br.gif' width='15' height='26' alt='' /></td>
</tr>
</table>
</td>
</tr></table>";
tablebreak();
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='1'>
<tr>
<td align='center' class='cat' style='border:1px solid;border-color:#707070 #000000 #000000
#707070'>".$title."</td>
</tr>
<tr>
<td class='tbl1' style='border:1px solid;border-color:#707070 #000000 #000000 #707070'>";
}
function closeside() {
echo " </td>
</tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='1'>
<tr>
<td align='center' class='cat' style='border:1px solid;border-color:#707070 #000000 #000000 #707070'>
<table width='100%' cellpadding='0' cellspacing='0'>
<td width='15' align='center'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname'
alt='' onclick=\"javascript:flipBox('$boxname')\"></td>
<td align='center' style='color:#8e8e8e;font-weight:bold;letter-spacing:1px;'>".$title."</td>
</table>
</td>
</tr>
</table>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">
<table width='100%' cellpadding='0' cellspacing='1'>
<tr>
<td class='tbl1' style='border:1px solid;border-color:#707070 #000000 #000000 #707070'>";
}
function closesidex() {
echo " </td>
</tr>
</table></div>";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' height='7' cellpadding='0'>";
echo "<tr><td></td></tr></table>\n";
}
?>
Pozdrawiam.
Wiadomość doklejona:
Dzięki za pomoc. Sam doszedłem co i jak.
PW od moderatora:
- Przeniesienie tematu - Pieka 04.03 - 08:56
Edytowane przez Zenwalk dnia 04.03.2010 21:12:54
|