Team:Shenzhen BGIC 0101/Templates/Banner
From 2013.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#Genovologo { | #Genovologo { | ||
Line 69: | Line 48: | ||
} | } | ||
- | + | .redtab | |
- | + | { | |
- | + | width: 900px; | |
- | + | margin: 100px auto 0 auto; | |
- | + | font-size: 1.5em; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | #tabs | |
- | + | { | |
+ | overflow: auto; | ||
+ | width: 100%; | ||
+ | list-style: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | #tabs li | ||
+ | { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | float: left; | ||
} | } | ||
- | # | + | #tabs a |
- | + | { | |
+ | -moz-box-shadow: -4px 0 0 rgba(0, 0, 0, .2); | ||
+ | -webkit-box-shadow: -4px 0 0 rgba(0, 0, 0, .2); | ||
+ | box-shadow: -4px 0 0 rgba(0, 0, 0, .2); | ||
+ | background: #ad1c1c; | ||
+ | background: -moz-linear-gradient(220deg, transparent 10px, #ad1c1c 10px); | ||
+ | background: -webkit-linear-gradient(220deg, transparent 10px, #ad1c1c 10px); | ||
+ | background: -ms-linear-gradient(220deg, transparent 10px, #ad1c1c 10px); | ||
+ | background: -o-linear-gradient(220deg, transparent 10px, #ad1c1c 10px); | ||
+ | background: linear-gradient(220deg, transparent 10px, #ad1c1c 10px); | ||
+ | text-shadow: 0 1px 0 rgba(0,0,0,.5); | ||
+ | color: #fff; | ||
+ | float: left; | ||
+ | font: bold 12px/35px 'Lucida sans', Arial, Helvetica; | ||
+ | height: 35px; | ||
+ | padding: 0 30px; | ||
+ | text-decoration: none; | ||
} | } | ||
+ | |||
+ | #tabs a:hover | ||
+ | { | ||
+ | background: #c93434; | ||
+ | background: -moz-linear-gradient(220deg, transparent 10px, #c93434 10px); | ||
+ | background: -webkit-linear-gradient(220deg, transparent 10px, #c93434 10px); | ||
+ | background: -ms-linear-gradient(220deg, transparent 10px, #c93434 10px); | ||
+ | background: -o-linear-gradient(220deg, transparent 10px, #c93434 10px); | ||
+ | background: linear-gradient(220deg, transparent 10px, #c93434 10px); | ||
+ | } | ||
+ | |||
+ | #tabs a:focus | ||
+ | { | ||
+ | outline: 0; | ||
+ | } | ||
+ | |||
+ | #tabs #current a | ||
+ | { | ||
+ | background: #fff; | ||
+ | background: -moz-linear-gradient(220deg, transparent 10px, #fff 10px); | ||
+ | background: -webkit-linear-gradient(220deg, transparent 10px, #fff 10px); | ||
+ | background: -ms-linear-gradient(220deg, transparent 10px, #fff 10px); | ||
+ | background: -o-linear-gradient(220deg, transparent 10px, #fff 10px); | ||
+ | background: linear-gradient(220deg, transparent 10px, #fff 10px); | ||
+ | text-shadow: none; | ||
+ | color: #333; | ||
+ | } | ||
+ | |||
+ | #content | ||
+ | { | ||
+ | background-color: #fff; | ||
+ | background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd)); | ||
+ | background-image: -webkit-linear-gradient(top, #fff, #ddd); | ||
+ | background-image: -moz-linear-gradient(top, #fff, #ddd); | ||
+ | background-image: -ms-linear-gradient(top, #fff, #ddd); | ||
+ | background-image: -o-linear-gradient(top, #fff, #ddd); | ||
+ | background-image: linear-gradient(top, #fff, #ddd); | ||
+ | -moz-border-radius: 0 2px 2px 2px; | ||
+ | -webkit-border-radius: 0 2px 2px 2px; | ||
+ | border-radius: 0 2px 2px 2px; | ||
+ | -moz-box-shadow: 0 2px 2px #000, 0 -1px 0 #fff inset; | ||
+ | -webkit-box-shadow: 0 2px 2px #000, 0 -1px 0 #fff inset; | ||
+ | box-shadow: 0 2px 2px #000, 0 -1px 0 #fff inset; | ||
+ | padding: 30px; | ||
+ | } | ||
+ | #content div | ||
+ | { | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | /* --- */ | ||
+ | #about | ||
+ | { | ||
+ | color: #999; | ||
+ | } | ||
+ | |||
+ | #about a | ||
+ | { | ||
+ | color: #eee; | ||
+ | } | ||
+ | |||
a {color:#93B825;} | a {color:#93B825;} | ||
Line 165: | Line 225: | ||
border:1px solid #B2B2B2; | border:1px solid #B2B2B2; | ||
z-index:101; | z-index:101; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 227: | Line 254: | ||
} | } | ||
- | |||
- | |||
- | |||
#BackToTop { | #BackToTop { |
Revision as of 03:50, 26 October 2013