Przedszkolak
Postów: 8 Ostrzeżeń: 2
Data rejestracji: 17.04.2009 18:58
Złamana licencja
|
Siemka :)
Mam problem ze skórką GameManiacs2 - chodzi mi o menu, przy każdym linku (napisie) mam "chorą" kropeczkę, której na wszelaki sposób nie potrafie się pozbyć, wygląda to tak.
Pliki Theme'u:
style.css:
/* Comment element properties */
a {
color: #fff;
text-decoration: none;
}
a:hover {
color: #c1de00;
text-decoration: blink;
}
a.side {
color: #fff;
text-decoration: none;
}
a:hover.side {
color: #c1de00;
text-decoration: blink;
}
a.white, li.white a {
color: #fff
text-decoration: none;
}
a:hover.white, li.white a:hover {
color: #c1de00;
text-decoration: blink;
}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #c1de00;
background: #111;
margin: 5px;
}
hr {
height: 1px;
border: 1px solid #eee;
}
hr.side-hr {
height: 1px;
border: 1px solid #eee;
}
td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
pre {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
.alt {
color: #000;
}
.spacer {
margin-bottom: 5px;
}
.admin-message {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: center;
color: #fff;
background-color: #transparent;
border: 1px solid #e1e1e1;
padding: 3px 4px 5px 4px;
margin-bottom: 5px;
}
/* Form element properties */
form {
margin: 0px;
}
.button {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #fff;
background-color: #111;
background-image: url(images/button.gif);
height: 20px;
border: 1px solid #000;
margin-top: 2px;
}
.bbcode {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000;
background-color: #eee;
border: 1px solid #ccc;
margin-top: 2px;
}
.textbox {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #fff;
background-color: #111;
background-image: url(images/a4ftboxbg.png);
background-repeat: repeat-x;
border: 1px solid #888;
}
/* Header and footer properties */
.sub-header {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10px;
color: #fff;
background-color: #111;
background-image: url(images/subheader-mid.png);
padding: 8px 5px 8px 5px;
}
.sub-header ul{
margin: 0;
padding: 0;
}
.sub-header ul li{
display: inline;
}
.sub-header ul li.first-link .bullet{
display: none;
}
.full-header {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000;
background-color: #000;
background-image: url(images/logo.png);
background-repeat: repeat-x;
padding: 0px 0 0px 0;
}
.main-footer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #c1de00;
background-color: #111;
padding: 5px;
}
.bottom-footer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #c1de00;
background-color: #111;
padding: 4px 4px 5px 4px;
}
.main-body {
font-size: 10px;
color: #c1de00;
background-color: #111;
border: 1px solid #000;
padding: 4px;
}
/* Side-Panel properties */
.side-border-left {
color: #c1de00;
background-color: #111;
padding: 10px 10px 10px 0;
width: 175px;
}
.side-border-right {
color: #c1de00;
background-color: #111;
padding: 10px 0 10px 10px;
width: 175px;
}
.scapmain {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #c1de00;
background-color: #111;
background-image: url(images/side.png);
background-repeat: repeat-x;
padding: 6px 4px 6px 4px;
}
.sideb {
background-image: url(images/sideb.png);
background-repeat: repeat-x;
}
.a4fbar {
background-image: url(images/a4fbar.png);
background-repeat: no-repeat;
background-color: #transparent;
}
.side-body {
font-size: 10px;
color: #c1de00;
background-color: #111;
background-image: url(images/gradient.png);
background-repeat: repeat-x;
border: 0px solid #000;
padding: 4px;
}
/* Center-Panel properties */
.news-category {
border: 0;
margin: 3px 5px 0 0;
float: left;
}
.news-footer {
font-size: 10px;
color: #c1de00;
background-color: #transparent;
border-width: 0 1px 1px 1px;
border-color: #000;
border-style: solid;
padding: 3px 4px 4px 4px;
}
.capmain {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #fff;
background-color: #111;
background-image: url(images/cap.png);
padding: 6px 4px 6px 4px;
}
.main-bg {
color: #c1de00;
background-color: #111;
padding: 10px 0 5px 0;
}
/* General table properties */
.center {
margin: 0 auto;
}
.tbl-border { border: 2px solid #202020;}.tbl { font-size: 11px; color: #fff; background-color: #111; padding: 4px;}.tbl1 { font-size: 11px; color: #fff; background-color: #333; padding: 4px;}.tbl2 { font-size: 11px; color: #fff; background-color: #111; padding: 4px;}.forum-caption { font-size: 11px; font-weight: bold; color: #fff; background-color: #788a00; padding: 2px 4px 4px 4px;}.quote { font-size: 11px; color: #000; background-color: #22; padding: 4px; margin: 0px 20px 0px 20px; border: 1px solid #bbb;}.poll { height: 12px; border: 1px solid #bbb;}.comment-name { font-weight: bold; color: #788a00;}.shoutboxname {
font-weight: bold;
color: #04688d;
}
.shoutbox {
color: #788a00;
}
.shoutboxdate {
font-size: 10px;
color: #222;
}
.small {
font-size: 10px;
font-weight: normal;
}
.small2 {
font-size: 10px;
font-weight: normal;
color: #fff;
}
.side-small {
font-size: 10px;
font-weight: normal;
color: #fff;
}
.side-label {
color: #fff;
margin: 2px 0 2px 0;
padding: 2px 2px 3px 2px;
}
/* Vertical Navigation */
#navigation h2 {
font-size: 10px;
font-weight: normal;
background-color: #f1f1f1;
margin: 0;
padding: 4px;
}
#navigation ul {
margin: 0;
padding: 0;
list-style-type: none;
}
* html #navigation ul li{
height: 1%;
}
#navigation a {
display: block;
color: #white;
padding: 2px;
text-decoration: none;
}
#navigation a:hover {
color: #a0bd00;
font-weight: bold;
}
/* Page Navigation */
.pagenav {
padding: 4px;
}
.pagenav span {
color: #a0bd00;
border: 1px solid #ddd;
padding: 2px 4px 2px 4px;
margin: 2px;
}
.pagenav a {
color: #555;
background-color: #f1f1f1;
border: 1px solid #ddd;
padding: 2px 4px 2px 4px;
margin: 2px;
text-decoration: none;
}
.pagenav a:hover {
color: #a0bd00;
margin: 2px;
text-decoration: none;
font-weight: bold;
}
theme.php:
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>·</span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td align='left'><img src='".THEME."/images/subheader-left.png'></td>\n";
echo "<td class='sub-header' align='left' width='50%' height='35'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
echo "<td align='right' class='sub-header' width='50%'>".showsubdate()."</td>\n";
echo "<td align='right'><img src='".THEME."/images/subheader-right.png'></td>\n";
echo "</tr>\n</table>\n";
//Header
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td align='left' class='full-header' width='100%'><img src='".THEME."images/logo2.png' width='1000' height='200'></td>\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='100%' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td align='left'><img src='".THEME."/images/subheader-left.png'></td>\n";
echo "<td align='center' class='sub-header' width='100%'><center>All Rights Reserved. Copyright © 2009 Sky Scrapers</center></td>\n";
echo "<td align='right'><img src='".THEME."/images/subheader-right.png'></td></tr></table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "</td>\n";
echo "</tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td align='left'><img src='".THEME."/images/cap-left.png'></td>\n";
echo "<td class='capmain' width='100%'>".$subject."</td>\n";
echo "<td align='right'><img src='".THEME."/images/cap-right.png'></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body middle-border'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer middle-border'>\n";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>\n";
echo "</tr><tr>\n";
echo "<td style='height:0px;background-color:#000;'></td>\n";
echo "</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "<td class='capmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "<td class='capmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n";
echo "</tr><tr>\n";
echo "<td style='height:0px;background-color:#000;'></td>\n";
echo "</tr>\n</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td><img src='".THEME."/images/side-left.png' align='left'></td>\n";
echo "<td class='scapmain' align='center' width='100%'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<td><img src='".THEME."/images/side-right.png' align='right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";
echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png'></td>
<td align='center' class='sideb' width='100%'></td>
<td align='right'><img src='".THEME."/images/sideb-right.png'></td>
</tr></table>\n";
}
?>
EDIT:
Dziękuje i jednocześnie przepraszam, wiesz za co więc nie będę się rozpisywał :)
PW od moderatora:
- Przeniesienie tematu - Pieka 02.01 - 15:41
Edytowane przez MaDmaR dnia 02.01.2010 15:17:42
|