Template:TemplateTop

From 2010.igem.org

(Difference between revisions)
 
(263 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">
-
<!-- to są właściwe style, w sekcji head -->
 
-
  <style type="text/css">
 
-
    #main {
 
-
border: 1px solid #666;
 
-
clear: both;
 
-
background: #FFF3B3;
+
/* CSS DLA CAŁEJ STRONY */
-
padding-top: 2em;
+
body {
 +
    background: #000000;  
}
}
-
#contents {
 
-
padding: 1.5em;
 
-
background: #FFFDF3;
 
-
min-height: 300px;
+
#top-section {
 +
    background: url('https://static.igem.org/mediawiki/2010/9/92/Pasekzmieniony.png') no-repeat 0px 0px;
 +
    border: 0px;
 +
    height: 150px;
}
}
-
#header {
+
#menubar {
-
position: relative;
+
    margin-top: 50px;
 +
}
-
width: 100%;
 
-
 
-
height: 3em;
 
-
width: 45em;/* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
+
#menubar li > a {
 +
color: #808080;
}
}
 +
#menubar li.selected > a {
 +
color: #808080;
 +
font-weight: bold;
 +
}
-
#header ul#primary {
+
#menubar li > a:hover {
-
margin: 0;
+
color: #61eb13;
 +
}
-
padding: 0;
+
#menubar li {
-
+
color: #ffffff;
-
position: absolute;
+
}
-
bottom: -1px;
+
#search-controls {
 +
    margin-top: 30px;
 +
    margin-right: 30px;
 +
}
-
width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
+
#searchGoButton {
 +
color: #ffffff;
}
}
 +
#searchGoButton:hover {
 +
color: #61eb13;
 +
}
-
#header ul#primary li  {
+
#mw-searchButton {
-
display: inline;
+
color: #ffffff;
 +
}
-
list-style: none;
+
#mw-searchButton:hover {
 +
color: #61eb13;
}
}
 +
#content {
 +
    background: url("https://static.igem.org/mediawiki/2010/3/34/Tlo_strony.jpg") repeat-y;
 +
    border: 0px;
 +
}
-
#header ul#primary a,#header ul#primary span,#header ul#primary a.current {
 
-
width: 8em;
 
-
display: block;
+
#footer-box {
-
 
+
    background: url("https://static.igem.org/mediawiki/2010/a/ae/Murek_dol.jpg") no-repeat 0px 0px;
-
float: left;
+
    border: 0px;
-
+
    height: 50px;
-
padding: 4px 0;
+
-
margin: 1px 2px 0 0;
+
-
 
+
-
text-align: center;
+
-
 
+
-
font-family: tahoma, verdana, sans-serif;
+
-
 
+
-
font-size: 85%;
+
-
text-decoration: none;
+
-
 
+
-
color: #333;
+
}
}
-
 
+
#f-list > li a {
-
#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {
+
    color: #ffffff;
-
border: 1px solid #666;
+
    font-size: 10px;
-
 
+
-
border-bottom: none;
+
-
 
+
-
background: #FFF3B3;
+
-
 
+
-
padding-bottom: 6px;
+
-
 
+
-
margin-top: 0;
+
}
}
-
 
+
#f-list > li a:hover {
-
#header ul#primary a {
+
    color: #61eb13;
-
background: #FFFAE1;
+
-
 
+
-
border: 1px solid #AAA;
+
-
 
+
-
border-bottom: none;
+
}
}
-
 
+
#f-poweredbyico {
-
#header ul#primary a:hover {
+
    margin-right: 20px;
-
margin-top: 0;
+
-
 
+
-
border-color: #666;
+
-
 
+
-
background: #FFF7CD;
+
-
 
+
-
padding-bottom: 5px;
+
}
}
-
 
+
#f-copyrightico {
-
#header ul#secondary {
+
    margin-left: 40px;
-
position: absolute;
+
-
 
+
-
margin: 0;
+
-
 
+
-
padding: 0;
+
-
 
+
-
bottom: -1.4em;
+
-
left: 1px;
+
-
 
+
-
width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
+
}
}
-
#header ul#secondary li a,#header ul#secondary li span {
 
-
width: auto;
 
-
display: block;
+
/* END CSS DLA STRONY */
-
float: left;
 
-
padding: 0 10px;
 
-
margin: 0;
 
-
text-align: auto;
+
html {
 +
    min-width: 600px;
 +
    background: #000000;
 +
    padding: 0.5em 2em 3em 2em;
 +
}
-
border: none;
+
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;
 +
-
border-right:
+
a {
-
1px dotted #AAA;
+
    color: #777;
 +
}
-
background: none;
+
a:hover {
 +
    color: #000; text-decoration: none;  
 +
}
 +
a:active {
 +
    color: #000;
}
}
-
#header ul#secondary li a {
+
p {  
-
color: #06C;
+
    line-height: 140%;  
-
 
+
-
text-decoration: underline;
+
}
}
-
#header ul#secondary li a:hover {
+
h1 {
-
color: #333;
+
display:none;
 +
}
-
background: transparent;
 
-
padding: 0 10px;
+
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;
 +
}
-
border: none;
 
-
border-right: 1px dotted #AAA;
+
.note {
 +
    background: #EEE;
 +
    background: #ccff99;
 +
    padding: 4px;
 +
    font-family: tahoma,verdana,sans-serif;
 +
    font-size: 85%;
 +
    line-height: 130%;
}
}
-
#header ul#secondary li a:active {
+
#main {
-
color: #000;
+
    text-align: left;
-
 
+
    border: 1px solid #abdf80;
-
background: transparent;
+
    background: #FFFDF3;
 +
    clear: both;
 +
    width: 98%;
 +
    margin-top: -1px;
 +
    margin-left: 8px;
}
}
-
#header ul#secondary li:last-child a { border: none; }
+
#bodyarea {
-
<!-- basic css -->
+
    padding: 20px;
-
html { min-width: 600px; }
+
    min-height: 300px;
 +
<!--[if IE]>
 +
margin-left: 0px;
 +
<![endif]-->
 +
}
-
body, div, td, th, h2, h3, h4 { /* redundant rules for bad browsers  */
 
-
 
 
-
    font-family: verdana,sans-serif;
 
-
font-size:   x-small;
+
#topbar {
 +
    padding-bottom: 0.5em;
 +
    font-family: trebuchet ms,verdana,sans-serif;
 +
    font-weight: bold;
 +
    font-size: 200%;
 +
}
-
voice-family: "\"}\"";
+
#topbar a {
 +
    text-decoration: none; color: #000;
 +
}
-
voice-family: inherit;
+
#topbar a:hover {
-
+
    text-decoration: none;
-
font-size: small;
+
}
-
+
-
color: #333;
+
-
}
+
-
.clearhack { display: inline; } /*Clears Box Model Hack in IE5*/
 
 +
/*///////////// Tabs Code ////////////*/
 +
#tabs {
 +
    font-family: tahoma, verdana, sans-serif;
 +
    font-size: 85%;
 +
    clear: both;
 +
    text-align: center;
 +
    text-decoration: none;
 +
    margin-left: 80px;
 +
}
-
body {
+
#tabs ul {
-
background: #EDEBE3;
+
    display: inline;
-
+
    list-style-type: none;
-
color: #333;
+
    list-style: none;
-
+
   
-
padding: 1em 20px 3em 20px;
+
    margin: 0;
-
+
    padding: 0;
-
margin: 0;
+
    text-decoration: none;
}
}
 +
#tabs li {
 +
    float: left;
 +
    list-style: none;
 +
    list-style-type: none;
 +
}
 +
#tabs a,span {
 +
    width: 58px;
 +
}
-
a { color: #06C; }
+
#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;
 +
}
-
a:hover { 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;
 +
}
-
a:active { color: #000; }
+
#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;
 +
}
-
p { line-height: 140%; }
+
#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;
 +
}
-
h1,h2 {
+
#subtabs li {
-
font-family: trebuchet ms;
+
    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;
 +
}
-
font-weight: bold;
+
#subtabs li:first-child {
-
+
    border-left: none;
-
color: #333;
+
}
}
 +
#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 {
-
h1 {
+
    color: #6a6a6a;
-
font-size: 180%;
+
-
 
+
-
margin: 0;
+
}
}
-
 
+
#subtabs li > a:hover {
-
 
+
    color: #383838;
-
h1 a { text-decoration: none;
+
-
color: #333; }
+
-
 
+
-
 
+
-
h1 a:hover { border-bottom: 1px dotted #666;
+
-
color: #000; }
+
-
 
+
-
 
+
-
 
+
-
h2 {
+
-
font-size: 140%;
+
-
 
+
-
padding-bottom: 2px;
+
-
 
+
-
border-bottom: 1px solid #CCC;
+
-
 
+
-
margin: 0;
+
}
}
-
 
+
#subtabs li > a.active {
-
p.note {
+
    font-weight: bold;
-
background: #EEE;
+
-
 
+
-
padding: 4px;
+
-
 
+
-
font-family: tahoma;
+
-
 
+
-
font-size: 85%;
+
-
 
+
-
line-height: 130%;
+
-
 
+
-
margin-top: 0;
+
}
}
-
  </style>
+
        </style>
  <!-- koniec stylów -->
  <!-- koniec stylów -->
-
 
</head>
</head>

Latest revision as of 10:44, 26 October 2010

Example Tabs