Template:TemplateTop

From 2010.igem.org

(Difference between revisions)
 
(262 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 -->
<!-- to są właściwe style, w sekcji head -->
         <style type="text/css">
         <style type="text/css">
-
     html {
+
 
-
min-width: 600px;
+
 
-
background: #EDEBE3;
+
 
-
padding: 0.5em 2em 3em 2em;
+
/* CSS DLA CAŁEJ STRONY */
 +
 
 +
body {
 +
     background: #000000;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
#top-section {
 +
    background: url('https://static.igem.org/mediawiki/2010/9/92/Pasekzmieniony.png') no-repeat 0px 0px;
 +
    border: 0px;
 +
    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, td, th, h2, h3, h4 { /* redundant rules for bad browsers  */   
+
body, div, th, td, h2, h3, h4 { /* redundant rules for bad browsers  */   
     font-family: verdana,sans-serif;
     font-family: verdana,sans-serif;
-
font-size:    x-small;
+
    font-size:    x-small;
-
voice-family: "\"}\"";
+
    voice-family: "\"}\"";
-
voice-family: inherit;
+
    voice-family: inherit;
-
font-size: small;
+
    font-size: small;
-
color: #333;
+
    color: #333;
}   
}   
-
a { color: #06C; }
+
a {  
-
a:hover { color: #333; }
+
    color: #777;
-
a:active { color: #000; }
+
}
 +
 
 +
a:hover {
 +
    color: #000; text-decoration: none;
 +
}
 +
 
 +
a:active {  
 +
    color: #000;  
 +
}
 +
 
 +
 
 +
p {
 +
    line-height: 140%;
 +
}
-
p { line-height: 140%; }
 
h1 {
h1 {
-
font-family: trebuchet ms,arial,verdana,sans-serif;
+
display:none;
-
font-weight: bold;
+
-
font-size: 140%;
+
-
color: #333;
+
-
padding-bottom: 2px;
+
-
border-bottom: 1px dotted #CCC;
+
-
margin: 0;
+
}
}
 +
 +
 +
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 {
.note {
-
background: #EEE;
+
    background: #EEE;
-
padding: 4px;
+
    background: #ccff99;
-
font-family: tahoma,verdana,sans-serif;
+
    padding: 4px;
-
font-size: 85%;
+
    font-family: tahoma,verdana,sans-serif;
-
line-height: 130%;
+
    font-size: 85%;
 +
    line-height: 130%;
}
}
 +
#main {
#main {
-
text-align: left;
+
    text-align: left;
-
border: 1px solid #666;
+
    border: 1px solid #abdf80;
-
background: #FFFDF3;
+
    background: #FFFDF3;
-
clear: both;
+
    clear: both;
-
width: 98%;
+
    width: 98%;
-
margin-top: -1px;
+
    margin-top: -1px;
 +
    margin-left: 8px;
}
}
 +
#bodyarea {
#bodyarea {
-
padding: 20px;
+
    padding: 20px;
-
min-height: 300px;
+
    min-height: 300px;
 +
 
 +
<!--[if IE]>
 +
margin-left: 0px;
 +
<![endif]-->
 +
 
}
}
 +
#topbar {
#topbar {
-
padding-bottom: 0.5em;
+
    padding-bottom: 0.5em;
-
font-family: trebuchet ms,verdana,sans-serif;
+
    font-family: trebuchet ms,verdana,sans-serif;
-
font-weight: bold;
+
    font-weight: bold;
-
font-size: 200%;
+
    font-size: 200%;
 +
}
 +
 
 +
#topbar a {
 +
    text-decoration: none; color: #000;
 +
}
 +
 
 +
#topbar a:hover {
 +
    text-decoration: none;
}
}
-
#topbar a { text-decoration: none; color: #000; }
 
-
#topbar a:hover { text-decoration: underline; }
 
/*///////////// Tabs Code ////////////*/
/*///////////// Tabs Code ////////////*/
#tabs {
#tabs {
-
font-family: tahoma,verdana,sans-serif;
+
    font-family: tahoma, verdana, sans-serif;
-
font-size: 85%;
+
    font-size: 85%;
-
clear: both;
+
    clear: both;
-
text-align: center;
+
    text-align: center;
 +
    text-decoration: none;
 +
    margin-left: 80px;
}
}
#tabs ul {
#tabs ul {
-
display: inline;
+
    display: inline;
-
list-style-type: none;
+
    list-style-type: none;
-
margin: 0;
+
    list-style: none;
-
padding: 0;
+
   
 +
    margin: 0;
 +
    padding: 0;
 +
    text-decoration: none;
}
}
-
#tabs li { float: left; }
+
#tabs li {  
 +
    float: left;
 +
    list-style: none;
 +
    list-style-type: none;
 +
}
-
#tabs a,span { width: 90px; }
+
#tabs a,span {  
 +
    width: 58px;  
 +
}
#tabs span {
#tabs span {
-
position: relative;
+
    position: relative;
-
top: 0;
+
    top: 0;
-
margin: 0 2px 0 0;
+
    margin: 0 2px -2px 0;
-
float: left;
+
    float: left;
-
background: #FFF3B3;
+
    background: #ccff99;
-
border-right: 1px solid #666;
+
    border-right: 1px solid #abdf80;
-
border-top: 1px solid #666;
+
    border-top: 1px solid #abdf80;
-
border-left: 1px solid #666;
+
    border-left: 1px solid #abdf80;
-
padding: 6px 4px 6px 10px;
+
    padding: 6px 4px 1px 10px;
-
text-decoration: none;
+
    text-decoration: none;
-
color: #333;
+
    color: #333;
}
}
#tabs a {
#tabs a {
-
position: relative;
+
    position: relative;
-
top: 0;
+
    top: 0;
-
margin: 1px 2px 0 0;
+
    margin: 2px 2px -2px 0;
-
float: left;
+
    float: left;
-
background: #FFFAE1;
+
    background: #b0cb9a;
-
border-right: 1px solid #AAA;
+
    border-right: 1px dotted #abdf80;
-
border-top: 1px solid #AAA;
+
    border-top: 1px dotted #abdf80;
-
border-left: 1px solid #AAA;
+
    border-left: 1px dotted #abdf80;
-
padding: 5px 4px 5px 10px;
+
    padding: 3px 4px 1px 10px;
-
text-decoration: none;
+
    text-decoration: none;
-
color: #333;
+
    color: #fdfdfd;
}
}
#tabs a:hover {
#tabs a:hover {
-
background: #FFF7CD;
+
    background: #b0cb9a;
-
position: relative;
+
    position: relative;
-
top: 0;
+
    top: 0;
-
padding: 5px 4px 6px 10px;
+
    padding: 5px 4px 1px 10px;
-
margin-top: 0px;
+
    margin: 0px 2px -2px 0;
 +
    color:#525252;
}
}
 +
#tabs a.active {
#tabs a.active {
-
position: relative;
+
    position: relative;
-
top: 0;
+
    top: 0;
-
margin: 0 2px 0 0;
+
    margin: 0 2px -2px 0;
-
float: left;
+
    float: left;
-
background: #FFF3B3;
+
    background: #ccff99;
-
border-right: 1px solid #666;
+
    border-right: 1px solid #666;
-
border-top: 1px solid #666;
+
    border-top: 1px solid #666;
-
border-left: 1px solid #666;
+
    border-left: 1px solid #666;
-
padding: 6px 4px 6px 10px;
+
    padding: 6px 4px 1px 10px;
-
text-decoration: none;
+
    text-decoration: none;
-
color: #333;
+
    color: #333;
}
}
#tabs a.active:hover {
#tabs a.active:hover {
-
position: relative;
+
    position: relative;
-
top: 0;
+
    top: 0;
-
margin: 0 2px 0 0;
+
    margin: 0 2px -2 0;
-
float: left;
+
    float: left;
-
background: #FFF3B3;
+
    background: #ccff99;
-
border-right: 1px solid #666;
+
    border-right: 1px solid #666;
-
border-top: 1px solid #666;
+
    border-top: 1px solid #666;
-
border-left: 1px solid #666;
+
    border-left: 1px solid #666;
-
padding: 6px 4px 6px 10px;
+
    padding: 6px 4px 6px 10px;
-
text-decoration: none;
+
    text-decoration: none;
-
color: #333;
+
    color: #333;
 +
}
 +
 
 +
#subtabs {
 +
    float: none;
 +
    clear: both;
 +
    height: 0px;
}
}
#subtabs ul {
#subtabs ul {
-
list-style-type: none;
+
    list-style: none;
-
margin: 0;
+
    list-style-type: none;
-
padding: 0;
+
    margin: 0;
 +
    padding: 0;
}
}
#subtabs li {
#subtabs li {
-
float: left;
+
    list-style: none;
-
padding: 0 8px 0 8px;
+
    list-style-type: none;
-
border-left: 1px solid #CCC;
+
    float: left;
-
white-space: nowrap;
+
    padding: 0 60px 20px 8px;
 +
    border-left: 1px dashed #abdf80;
 +
    font-size: 120%;
 +
    white-space: nowrap;
}
}
-
#subtabs li:first-child { border-left: none; }
+
#subtabs li:first-child {
 +
    border-left: none;
 +
}
#subtabs {
#subtabs {
-
font-family: tahoma,verdana,sans-serif;
+
    font-family: tahoma,verdana,sans-serif;
-
font-size: 85%;
+
    font-size: 85%;
-
background: #FFF3B3;
+
    background: #ccff99;
-
color: #666;
+
    color: #666;
-
padding: 5px 7px 7px 7px; /* for All other Browsers */
+
    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;
}
}

Latest revision as of 10:44, 26 October 2010

Example Tabs