Potrzebuje do zakładki menu dodac podzakładki.
Html:
Kod: Zaznacz cały
<!DOCTYPE HTML>
<html lang="pl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>Wyjazdy Tornada</title>
<link rel="stylesheet" href="css/styl.css" type="text/css" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<!--[if lte IE 9]>
<script src="html5/dist/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<header>
<div class="content">
<h1><a href="index.html"><span>W</span>yprawy<span> </span><span>T</span>ornada</a></h1>
<p>Zdjecia z wyjazdów 122 Kluczborskiej Drużyny Harcerzy „Tornado”</p>
<nav>
<ul>
<li><a id="currentpage" href="index.html">Główna</a></li>
<li><a href="galeria.html">Galeria</a></li>
<li><a href="#">Wkrótce</a></li>
<li class="last"><a href="#">Wkrótce</a></li>
</ul>
</nav>
</div>
</header>
<div id="main">
<div class="content">
<img src="images/baner.jpg" alt="baner" title="baner" />
<section class="left">
<img src="images/o-firmie.png" alt="o-firmie" title="o-firmie" />
<article>
<h2>FAQ</h2>
<p><strong>Co to za strona?</strong>Strona na której znajdziesz zdjecia z wyjazdów 122 KDH „Tornado”</p><a class="więcej" href="galeria.html">Przejdz do galeri</a>
</article>
</section>
<section class="right">
<img src="images/oferta.png" alt="oferta" title="oferta" />
<article>
<h2>Strona</h2>
<p><strong>Informacje o dodanych rzeczach</strong>Brak informacji.</p>
<ul>
<li>Brak informacji.</li>
<li>Brak informacji.</li>
<li>Brak informacji.</li>
<li>Brak informacji.</li>
</ul>
</article>
</section>
</div>
</div>
<footer>
<div class="content">
<ul>
<li><img src="images/adres.gif" alt="adres" /> <strong>Kontakt:</strong></li>
<li><img src="images/mail.gif" alt="mail" /> <strong>Mail:</strong> <a href="mailto:niko.spk@wp.pl">niko.spk@wp.pl</a></li>
</ul>
<div class="copyright">
<p>copyright © 2015 <a href="index.html"><span>T</span>ornado<span> </span></a></p>
<p><a href="www.w122.cba.pl">Nikolas Feduniewicz</a></p>
</div>
</div>
</footer>
</body>
</html>
Kod: Zaznacz cały
@charset "utf-8";
/* CSS Document */
/*
Ten bezpłatny szablon pochodzi ze strony http://www.kurshtmlcss.pl
Można go użyć i dostosować do własnych potrzeb, jednak nie wolno usuwać linku w sekcji footer do mojej strony: "Szablon strony" oraz tej informacji.
Free to use for any purpose as long as the proper credits are given to the author.
This notice MUST stay intact for legal use.
*/
/* reset marginesów i dopełnień */
html, body, ul, li { margin: 0; padding: 0; }
/* reset wysokości linii i fontu */
h1, h2, h3, h4, ul, li, ol, p { margin:0; padding:0; font-size: 1em; line-height: 1.6em; }
/* ustawienia ogólne */
body { background: #ffffff; font: 0.625em/1.5em arial, tahoma, verdana, sans-serif; }
/* szerokość strony */
.content { width: 980px; margin: 0 auto; overflow: hidden; }
/* reset ramek obrazków */
a img { border: none; }
img { background: #304055; }
a { outline: none; }
p, a, li {
color: #304055;
font-size: 1.4em;
font-family: arial, tahoma, verdana, sans-serif;
}
/* header */
header {
position: relative;
background: #ffffff;
background: -moz-linear-gradient(
top,
#e8f0f9 0%,
#ffffff);
background: -webkit-gradient(
linear, left top, left bottom,
from(#e8f0f9),
to(#ffffff));
border-bottom: 3px solid #e90000;
}
header .content {
overflow: hidden;
text-align: center;
}
header h1 {
position: relative;
}
header h1 a {
display: block;
padding: 10px;
margin-top: 10px;
font-size: 3.45em;
clear: both;
text-transform: uppercase;
text-decoration: none;
}
header h1 a span { color: #e90000; }
header p { text-transform: uppercase; margin-bottom: 30px; }
header nav {
clear: both;
}
header nav ul { overflow: hidden; position: relative; list-style: none; float: left; }
header nav ul li {
float: left;
}
header nav ul li a {
display: block;
padding: 17px 0px 9px 0px;
margin-right: 2px;
width: 241px;
height: 26px;
text-align: center;
text-decoration: none;
background: #e0e0e0;
background: -moz-linear-gradient(
top,
#ffffff 0%,
#e0e0e0);
background: -webkit-gradient(
linear, left top, left bottom,
from(#ffffff),
to(#e0e0e0));
-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px;
border: 1px solid #e0e0e0;
-moz-box-shadow: 0px 2px 2px #f2f2f2;
-webkit-box-shadow: 0px 2px 2px #f2f2f2;
box-shadow: 0px 2px 2px #f2f2f2;
text-shadow: 1px 1px 0 #ffffff;
}
header nav ul li a:hover {
background: #ffffff;
background: -moz-linear-gradient(
top,
#e0e0e0 0%,
#ffffff);
background: -webkit-gradient(
linear, left top, left bottom,
from(#e0e0e0),
to(#ffffff));
border: 1px solid #d0d0d0;
}
header nav a#currentpage {
background: #ffffff;
background: -moz-linear-gradient(
top,
#e0e0e0 0%,
#ffffff);
background: -webkit-gradient(
linear, left top, left bottom,
from(#e0e0e0),
to(#ffffff));
border: 1px solid #d0d0d0;
}
header nav ul li a.last { margin-right: 0px; }
/* main */
#main {
position: relative;
}
#main .content {
margin-bottom: 25px;
}
#main .text { padding: 10px 80px 20px 80px; margin: 0px 0px 20px 0px; background: #304055; border: 3px solid #202a38; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; text-align: center; -moz-box-shadow: 0px 2px 2px #a0a0a0; -webkit-box-shadow: 0px 2px 2px #a0a0a0; box-shadow: 0px 2px 2px #a0a0a0; }
#main .text h3 { color: #e0e0e0; font-weight: 100; font-size: 2.4em; }
#main .text h3 span { color: #e90000; font-weight: bold; }
#main .text p { color: #e0e0e0; }
#main .left { float: left; width: 48%; }
#main .right { float: right; width: 48%; }
#main section { text-align: center; padding-bottom: 10px; }
#main section article { overflow: hidden; padding: 20px; background: #ffffff; border: 1px solid #e0e0e0; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; -moz-box-shadow: 0px 2px 2px #f2f2f2; -webkit-box-shadow: 0px 2px 2px #f2f2f2; box-shadow: 0px 2px 2px #f2f2f2; }
#main h2 { margin-bottom: 10px; color: #e90000; font-size: 18px;
padding: 5px; border: 1px solid #e0e0e0; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; background: #ffffff;
background: -moz-linear-gradient(
top,
#ffffff 0%,
#f9f9f9);
background: -webkit-gradient(
linear, left top, left bottom,
from(#ffffff),
to(#f9f9f9));
}
#main h3 { margin-bottom: 10px; color: #304055; font-size: 1.4em; }
#main h4 { margin-bottom: 30px; color: #304055; font-size: 1.8em; }
#main section p { text-align: left; }
#main article a.wiecej { margin-top: 10px; font-weight: bold; float: right; }
#main article a:hover { text-decoration: none; }
#main ul { float: left; margin: 13px 0px 12px 15px; }
#main ul li { text-align: left; padding-left: 10px; }
#main ul li a { text-decoration: none; font-size: 1.0em; }
#main ul li a:hover { color: #e90000; }
#main section.article img { margin-top: 15px; }
#main section.article article img { margin: 0px 25px 0px 25px; }
#main section.article article { margin-top: 15px; }
#main article img { background: none; }
#main .box { margin: 0px 0px 10px 0px; width: 91%; float: left; overflow: hidden; padding: 20px; border: 1px solid #e0e0e0; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; background: #ffffff;
background: -moz-linear-gradient(
top,
#ffffff 0%,
#f9f9f9);
background: -webkit-gradient(
linear, left top, left bottom,
from(#ffffff),
to(#f9f9f9)); }
#main .active { overflow: hidden;
height: 30px;
-moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
#main .active:hover { height: 155px; }
/* footer */
footer {
position: relative;
}
footer .content {
padding-bottom: 20px;
}
footer ul { overflow: hidden; margin: 0px 0px 35px 0px; clear: both; list-style: none; background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; -moz-box-shadow: 0px 2px 2px #f2f2f2; -webkit-box-shadow: 0px 2px 2px #f2f2f2; box-shadow: 0px 2px 2px #f2f2f2; }
footer ul li { float: left; padding: 17px 20px 15px 20px; width: 29%; text-align: center; }
footer ul li img { margin-right: 10px; }
footer ul li.center { border-left: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; }
footer span { color: #e90000; }
footer a { font-size: 1.1em; text-decoration: none; }
footer a:hover { text-decoration: none; }
footer .copyright { text-align: center; }
W załaczniku jakby to miało wygladac.(Troche prowizorycznie )