Template:TemplateTop

From 2010.igem.org

(Difference between revisions)
 
(267 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
 +
<script type="text/javascript">
 +
 +
var elem = document.getElementById('p-logo');
 +
elem.innerHTML='<a href="https://2010.igem.org/Team:Warsaw"><img src="https://static.igem.org/mediawiki/2010/9/92/Pasekzmieniony.png"/></a>';
 +
</script>
 +
<head>
<head>
-
<title>Example Tabs</title>
+
<title>Example Tabs</title>
-
+
<!-- to są właściwe style, w sekcji head -->
-
<style type="text/css" media="screen">@import "https://2010.igem.org/Team:Warsaw/basic.css";</style>
+
        <style type="text/css">
-
+
-
<style type="text/css" media="screen">@import "tabs.css";</style>
+
-
</head>
 
-
+
/* CSS DLA CAŁEJ STRONY */
-
<h1><a href="index.html">Example Tabs</a></h1>
+
 
-
+
body {
-
<div id="header">
+
    background: #000000;
-
+
}
-
<ul id="primary">
+
 
-
+
 
-
<li><a href="index.html">Home</a></li>
+
 
-
+
 
-
<li><span>About Us</span>
+
#top-section {
-
</div>
+
    background: url('https://static.igem.org/mediawiki/2010/9/92/Pasekzmieniony.png') no-repeat 0px 0px;
-
</ul>
+
    border: 0px;
-
</html>
+
    height: 150px;
 +
}
 +
 
 +
 
 +
#menubar {
 +
    margin-top: 50px; 
 +
}
 +
 
 +
 
 +
#menubar li > a {
 +
color: #808080;
 +
}
 +
 
 +
#menubar li.selected > a {
 +
color: #808080;
 +
font-weight: bold;
 +
}
 +
 
 +
#menubar li > a:hover {
 +
color: #61eb13;
 +
}
 +
 
 +
#menubar li {
 +
color: #ffffff;
 +
}
 +
 
 +
#search-controls {
 +
    margin-top: 30px;
 +
    margin-right: 30px;
 +
}
 +
 
 +
#searchGoButton {
 +
color: #ffffff;
 +
}
 +
 
 +
#searchGoButton:hover {
 +
color: #61eb13;
 +
}
 +
 
 +
#mw-searchButton {
 +
color: #ffffff;
 +
}
 +
 
 +
#mw-searchButton:hover {
 +
color: #61eb13;
 +
}
 +
 
 +
#content {
 +
    background: url("https://static.igem.org/mediawiki/2010/3/34/Tlo_strony.jpg") repeat-y;
 +
    border: 0px;
 +
}
 +
 
 +
 
 +
#footer-box {
 +
    background: url("https://static.igem.org/mediawiki/2010/a/ae/Murek_dol.jpg") no-repeat 0px 0px;
 +
    border: 0px;
 +
    height: 50px;
 +
}
 +
 
 +
#f-list > li a {
 +
    color: #ffffff;
 +
    font-size: 10px;
 +
}
 +
 
 +
#f-list > li a:hover {
 +
    color: #61eb13;
 +
}
 +
 
 +
#f-poweredbyico {
 +
    margin-right: 20px;
 +
}
 +
 
 +
#f-copyrightico {
 +
    margin-left: 40px;
 +
}
 +
 
 +
 
 +
 
 +
/* END CSS DLA STRONY */
 +
 
 +
 
 +
 
 +
 
 +
html {
 +
    min-width: 600px;
 +
    background: #000000;
 +
    padding: 0.5em 2em 3em 2em;
 +
}
 +
 
 +
body, div, th, td, h2, h3, h4 { /* redundant rules for bad browsers  */ 
 +
    font-family: verdana,sans-serif;
 +
    font-size:    x-small;
 +
    voice-family: "\"}\"";
 +
    voice-family: inherit;
 +
    font-size: small;
 +
    color: #333;
 +
 +
 
 +
a {
 +
    color: #777; 
 +
}
 +
 
 +
a:hover {
 +
    color: #000; text-decoration: none;
 +
}
 +
 
 +
a:active {
 +
    color: #000;
 +
}
 +
 
 +
 
 +
p {
 +
    line-height: 140%;
 +
}
 +
 
 +
 
 +
h1 {
 +
display:none;
 +
}
 +
 
 +
 
 +
h2 {
 +
    font-family: trebuchet ms,arial,verdana,sans-serif;
 +
    font-weight: bold;
 +
    font-size: 130%;
 +
    color: #333;
 +
    padding-bottom: 2px;
 +
    border-bottom: 1px dotted #abdf80;
 +
    margin: 0;
 +
}
 +
 
 +
 
 +
.note {
 +
    background: #EEE;
 +
    background: #ccff99;
 +
    padding: 4px;
 +
    font-family: tahoma,verdana,sans-serif;
 +
    font-size: 85%;
 +
    line-height: 130%;
 +
}
 +
 
 +
 
 +
#main {
 +
    text-align: left;
 +
    border: 1px solid #abdf80;
 +
    background: #FFFDF3;
 +
    clear: both;
 +
    width: 98%;
 +
    margin-top: -1px;
 +
    margin-left: 8px;
 +
}
 +
 
 +
 
 +
#bodyarea {
 +
    padding: 20px;
 +
    min-height: 300px;
 +
 
 +
<!--[if IE]>
 +
margin-left: 0px;
 +
<![endif]-->
 +
 
 +
}
 +
 
 +
 
 +
#topbar {
 +
    padding-bottom: 0.5em;
 +
    font-family: trebuchet ms,verdana,sans-serif;
 +
    font-weight: bold;
 +
    font-size: 200%;
 +
}
 +
 
 +
#topbar a {
 +
    text-decoration: none; color: #000;
 +
}
 +
 
 +
#topbar a:hover {
 +
    text-decoration: none;
 +
}
 +
 
 +
 
 +
 
 +
/*///////////// Tabs Code ////////////*/
 +
 
 +
#tabs {
 +
    font-family: tahoma, verdana, sans-serif;
 +
    font-size: 85%;
 +
    clear: both;
 +
    text-align: center;
 +
    text-decoration: none;
 +
    margin-left: 80px;
 +
}
 +
 
 +
#tabs ul {
 +
    display: inline;
 +
    list-style-type: none;
 +
    list-style: none;
 +
   
 +
    margin: 0;
 +
    padding: 0;
 +
    text-decoration: none;
 +
}
 +
 
 +
#tabs li {
 +
    float: left;
 +
    list-style: none;
 +
    list-style-type: none;
 +
}
 +
 
 +
#tabs a,span {
 +
    width: 58px;
 +
}
 +
 
 +
#tabs span {
 +
    position: relative;
 +
    top: 0;
 +
    margin: 0 2px -2px 0;
 +
    float: left;
 +
    background: #ccff99;
 +
    border-right: 1px solid #abdf80;
 +
    border-top: 1px solid #abdf80;
 +
    border-left: 1px solid #abdf80;
 +
    padding: 6px 4px 1px 10px;
 +
    text-decoration: none;
 +
    color: #333;
 +
}
 +
 
 +
#tabs a {
 +
    position: relative;
 +
    top: 0;
 +
    margin: 2px 2px -2px 0;
 +
    float: left;
 +
    background: #b0cb9a;
 +
    border-right: 1px dotted #abdf80;
 +
    border-top: 1px dotted #abdf80;
 +
    border-left: 1px dotted #abdf80;
 +
    padding: 3px 4px 1px 10px;
 +
    text-decoration: none;
 +
    color: #fdfdfd;
 +
}
 +
 
 +
#tabs a:hover {
 +
    background: #b0cb9a;
 +
    position: relative;
 +
    top: 0;
 +
    padding: 5px 4px 1px 10px;
 +
    margin:  0px 2px -2px 0;
 +
    color:#525252;
 +
}
 +
 
 +
 
 +
#tabs a.active {
 +
    position: relative;
 +
    top: 0;
 +
    margin: 0 2px -2px 0;
 +
    float: left;
 +
    background: #ccff99;
 +
    border-right: 1px solid #666;
 +
    border-top: 1px solid #666;
 +
    border-left: 1px solid #666;
 +
    padding: 6px 4px 1px 10px;
 +
    text-decoration: none;
 +
    color: #333;
 +
}
 +
 
 +
#tabs a.active:hover {
 +
    position: relative;
 +
    top: 0;
 +
    margin: 0 2px -2 0;
 +
    float: left;
 +
    background: #ccff99;
 +
    border-right: 1px solid #666;
 +
    border-top: 1px solid #666;
 +
    border-left: 1px solid #666;
 +
    padding: 6px 4px 6px 10px;
 +
    text-decoration: none;
 +
    color: #333;
 +
}
 +
 
 +
#subtabs {
 +
    float: none;
 +
    clear: both;
 +
    height: 0px;
 +
}
 +
 
 +
#subtabs ul {
 +
    list-style: none;
 +
    list-style-type: none;
 +
    margin: 0;
 +
    padding: 0;
 +
}
 +
 
 +
#subtabs li {
 +
    list-style: none;
 +
    list-style-type: none;
 +
    float: left;
 +
    padding: 0 60px 20px 8px;
 +
    border-left: 1px dashed #abdf80;
 +
    font-size: 120%;
 +
    white-space: nowrap;
 +
}
 +
 
 +
#subtabs li:first-child {
 +
    border-left: none;
 +
}
 +
 
 +
#subtabs {
 +
    font-family: tahoma,verdana,sans-serif;
 +
    font-size: 85%;
 +
    background: #ccff99;
 +
    color: #666;
 +
    padding: 8px 7px 21px 7px; /* for All other Browsers */
 +
}
 +
 
 +
#subtabs li > a {
 +
    color: #6a6a6a;
 +
}
 +
 
 +
#subtabs li > a:hover {
 +
    color: #383838;
 +
}
 +
 
 +
#subtabs li > a.active {
 +
    font-weight: bold;
 +
}
 +
 
 +
        </style>
 +
<!-- koniec stylów -->
 +
</head>

Latest revision as of 10:44, 26 October 2010

Example Tabs