Team:NCTU Formosa/source/head-index
From 2014.igem.org
(Difference between revisions)
(153 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
+ | .wordbox p{ | ||
+ | font-family: "Courier"; | ||
+ | font-size: 20px; | ||
+ | margin: 10px 0 0 10px; | ||
+ | overflow: hidden; | ||
+ | |||
+ | } | ||
+ | .attach{ | ||
+ | margin-left: 30%; | ||
+ | position: relative; | ||
+ | z-index: 2; | ||
+ | top:50%; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | |||
+ | .wordbox p a{ | ||
+ | color: lime; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | .hh{height:200pt;} | ||
+ | .ch-item { | ||
+ | |||
+ | border-radius: 50%; | ||
+ | position: relative; | ||
+ | box-shadow: 0 1px 2px rgba(0,0,0,0.1); | ||
+ | cursor: default; | ||
+ | } | ||
+ | |||
+ | .ch-info-wrap{ | ||
+ | position: absolute; | ||
+ | width: 220px; | ||
+ | height: 220px; | ||
+ | border-radius: 50%; | ||
+ | perspective: 800px; | ||
+ | transition: all 0.4s ease-in-out; | ||
+ | top: 20px; | ||
+ | left: 20px; | ||
+ | background: #f9f9f9 url(../images/bg.jpg); | ||
+ | box-shadow: | ||
+ | 0 0 0 20px rgba(255,255,255,0.2), | ||
+ | inset 0 0 3px rgba(115,114, 23, 0.8); | ||
+ | |||
+ | } | ||
+ | |||
+ | .ch-info{ | ||
+ | position: absolute; | ||
+ | width: 220px; | ||
+ | height: 220px; | ||
+ | border-radius: 50%; | ||
+ | transition: all 0.4s ease-in-out; | ||
+ | transform-style: preserve-3d; | ||
+ | } | ||
+ | |||
+ | .ch-info > div { | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | border-radius: 50%; | ||
+ | background-position: center center; | ||
+ | backface-visibility: hidden; | ||
+ | } | ||
+ | |||
+ | .ch-info .ch-info-back { | ||
+ | transform: rotate3d(0,1,0,180deg); | ||
+ | background: #000; | ||
+ | } | ||
+ | |||
+ | |||
+ | .ch-img-1 { | ||
+ | background-image: url('https://static.igem.org/mediawiki/2014/d/d8/WIKI_8-1.jpg'); | ||
+ | background-size: 200pt auto; | ||
+ | } | ||
+ | |||
+ | |||
+ | .ch-img-2 { | ||
+ | |||
+ | background-image: url('https://static.igem.org/mediawiki/2014/3/3e/WIKI_8-2.jpg'); | ||
+ | background-size: 200pt auto; | ||
+ | } | ||
+ | |||
+ | .ch-img-3 { | ||
+ | |||
+ | background-image: url('https://static.igem.org/mediawiki/2014/0/00/WIKI_8-3.jpg'); | ||
+ | background-size: 200pt auto; | ||
+ | } | ||
+ | .ch-img-4 { | ||
+ | |||
+ | background-image: url('https://static.igem.org/mediawiki/2014/8/89/WIKI_8-4.jpg'); | ||
+ | background-size: 200pt auto; | ||
+ | } | ||
+ | .ch-img-5 { | ||
+ | |||
+ | background-image: url('https://static.igem.org/mediawiki/2014/1/12/WIKI_8-5.jpg'); | ||
+ | background-size: 200pt auto; | ||
+ | } | ||
+ | .ch-img-6 { | ||
+ | |||
+ | background-image: url('https://static.igem.org/mediawiki/2014/a/af/WIKI_8-6.jpg'); | ||
+ | background-size: 200pt auto; | ||
+ | } | ||
+ | .ch-img-7 { | ||
+ | |||
+ | background-image: url('https://static.igem.org/mediawiki/2014/3/3b/WIKI_8-7.jpg'); | ||
+ | background-size: 200pt auto; | ||
+ | } | ||
+ | |||
+ | .ch-img-8 { | ||
+ | |||
+ | background-image: url('https://static.igem.org/mediawiki/2014/b/bc/WIKI_8-8.jpg'); | ||
+ | background-size: 200pt auto; | ||
+ | } | ||
+ | |||
+ | .ch-info h3 { | ||
+ | color: #fff; | ||
+ | text-transform: uppercase; | ||
+ | letter-spacing: 2px; | ||
+ | font-size: 14px; | ||
+ | margin: 0 15px; | ||
+ | padding: 40px 0 0 0; | ||
+ | height: 90px; | ||
+ | //font-family: 'Open Sans', Arial, sans-serif; | ||
+ | text-shadow: | ||
+ | 0 0 1px #fff, | ||
+ | 0 1px 2px rgba(0,0,0,0.3); | ||
+ | } | ||
+ | |||
+ | .ch-info p { | ||
+ | color: #fff; | ||
+ | padding: 10px 5px; | ||
+ | font-style: italic; | ||
+ | margin: 0 30px; | ||
+ | font-size: 12px; | ||
+ | |||
+ | } | ||
+ | |||
+ | .ch-info p a { | ||
+ | display: block; | ||
+ | color: rgba(255,255,255,0.7); | ||
+ | font-style: normal; | ||
+ | font-weight: 700; | ||
+ | text-transform: uppercase; | ||
+ | font-size: 9px; | ||
+ | letter-spacing: 1px; | ||
+ | padding-top: 4px; | ||
+ | font-family: 'Open Sans', Arial, sans-serif; | ||
+ | } | ||
+ | |||
+ | .ch-info p a:hover { | ||
+ | color: rgba(255,242,34, 0.8); | ||
+ | } | ||
+ | |||
+ | .ch-item:hover .ch-info-wrap { | ||
+ | box-shadow: | ||
+ | 0 0 0 0 rgba(255,255,255,0.8), | ||
+ | inset 0 0 3px rgba(115,114, 23, 0.8); | ||
+ | } | ||
+ | |||
+ | .ch-item:hover .ch-info { | ||
+ | transform: rotate3d(0,1,0,-180deg); | ||
+ | } | ||
+ | |||
+ | |||
+ | Sponsors | ||
.effect { | .effect { | ||
left: -100%; | left: -100%; | ||
} | } | ||
+ | .blank { | ||
+ | height : 210px ; | ||
+ | } | ||
+ | .link{ | ||
+ | font-size:120%; | ||
+ | color:black; | ||
+ | } | ||
+ | .picture li{ | ||
+ | display: inline-block; | ||
+ | border-radius: 3px; | ||
+ | text-align: center; | ||
+ | font-weight: 700; | ||
+ | width: 16.4%; | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | height:200pt; | ||
+ | border:0; | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | |||
+ | .p{ | ||
+ | color: #999999 | ||
+ | } | ||
+ | |||
+ | |||
#footer-box a{ | #footer-box a{ | ||
color: white; | color: white; | ||
Line 10: | Line 201: | ||
background:black; | background:black; | ||
overflow-x: none; | overflow-x: none; | ||
- | font-family: Open Sans; | + | //font-family: Open Sans; |
} | } | ||
#footer-box { | #footer-box { | ||
Line 17: | Line 208: | ||
} | } | ||
.page { | .page { | ||
- | + | ||
background-position: 0 50%; | background-position: 0 50%; | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | + | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
- | + | ||
} | } | ||
#description { | #description { | ||
- | background-image: url(https://static.igem.org/mediawiki/2014/ | + | background-image: url(https://static.igem.org/mediawiki/2014/5/5a/NCTU_wiki_Backdround.jpg); |
- | + | background-position: center top; | |
- | + | margin-bottom:10pt; | |
} | } | ||
#sitemap { | #sitemap { | ||
- | background-image: url(https://static.igem.org/mediawiki/2014/ | + | background-image: url(https://static.igem.org/mediawiki/2014/6/60/BackgroundNCTU.png); |
z-index:4; | z-index:4; | ||
- | + | background-size: cover; | |
- | + | background-repeat: no-repeat; | |
- | + | min-height: 650px!important; | |
- | + | ||
- | min-height: | + | |
height: auto!important; | height: auto!important; | ||
+ | background-position: center top; | ||
} | } | ||
#decor { | #decor { | ||
display:none; | display:none; | ||
- | background-image: url(https://static.igem.org/mediawiki/ | + | background-image: url(https://static.igem.org/mediawiki/2014/9/9f/Background-1.jpg); |
} | } | ||
#social { | #social { | ||
display:none; | display:none; | ||
background-color: black; | background-color: black; | ||
- | background-image: url(https://static.igem.org/mediawiki/ | + | background-image: url(https://static.igem.org/mediawiki/2014/9/9f/Background-1.jpg); |
min-height: 1300px!important; | min-height: 1300px!important; | ||
height: auto!important; | height: auto!important; | ||
Line 68: | Line 258: | ||
left: 0; | left: 0; | ||
color: white; | color: white; | ||
- | + | ||
cursor:pointer; | cursor:pointer; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#description .team { | #description .team { | ||
display:none; | display:none; | ||
} | } | ||
#description .wordbox { | #description .wordbox { | ||
- | + | top: -17%; | |
- | padding | + | padding:30pt; |
font-weight:300; | font-weight:300; | ||
- | width: | + | width:98%; |
font-family: Open Sans; | font-family: Open Sans; | ||
font-size: 18px; | font-size: 18px; | ||
text-align:justify; | text-align:justify; | ||
text-justify:inter-word; | text-justify:inter-word; | ||
- | + | background-color: rgba(156, 156, 156, 0.76); | |
- | + | border-radius: 30px; | |
+ | opacity: 0; | ||
+ | float:left; | ||
+ | color: white; | ||
+ | z-index: 1; | ||
+ | position: relative; | ||
+ | box-shadow: 0px 0px 12px 7px #B7600B; | ||
+ | letter-spacing: 1px; | ||
+ | |||
+ | } | ||
+ | |||
} | } | ||
#description .wordbox p{ | #description .wordbox p{ | ||
Line 113: | Line 293: | ||
padding-right:30px; | padding-right:30px; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
@-webkit-keyframes spin1 { | @-webkit-keyframes spin1 { | ||
0% { -webkit-transform: rotate(0deg);} | 0% { -webkit-transform: rotate(0deg);} | ||
Line 144: | Line 315: | ||
100% { transform: rotate(360deg);} | 100% { transform: rotate(360deg);} | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
/* | /* | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#description .box:hover .wordbox { | #description .box:hover .wordbox { | ||
color: #fff; | color: #fff; | ||
Line 313: | Line 468: | ||
border-radius:3px; | border-radius:3px; | ||
} | } | ||
- | #sitemap . | + | #sitemap .seclink { |
display: block; | display: block; | ||
margin:10px; | margin:10px; | ||
Line 319: | Line 474: | ||
width:300px; | width:300px; | ||
float:left; | float:left; | ||
+ | overflow: hidden; | ||
color:white; | color:white; | ||
border-radius:5px; | border-radius:5px; | ||
- | |||
} | } | ||
.seclink a { | .seclink a { | ||
Line 337: | Line 492: | ||
.seclink a:hover { | .seclink a:hover { | ||
text-decoration:none; | text-decoration:none; | ||
+ | background:rgba(0,0,0,0.5); | ||
} | } | ||
#sec1 { | #sec1 { | ||
- | background: | + | background: #c56d83; |
} | } | ||
#sec2 { | #sec2 { | ||
background: #dd9056; | background: #dd9056; | ||
- | |||
} | } | ||
#sec3 { | #sec3 { | ||
Line 365: | Line 520: | ||
#sec9 { | #sec9 { | ||
background: #a88c57; | background: #a88c57; | ||
- | |||
- | |||
- | |||
} | } | ||
.seclink a i { | .seclink a i { | ||
- | + | position:absolute; | |
font-size:100px; | font-size:100px; | ||
+ | padding-left:100px; | ||
+ | padding-top:10px; | ||
+ | top:0; | ||
opacity:1; | opacity:1; | ||
- | + | -webkit-transition: all 0.5s ease-in-out; | |
+ | -moz-transition: all 0.5s ease-in-out; | ||
+ | -o-transition: all 0.5s ease-in-out; | ||
+ | transition: all 0.5s ease-in-out; | ||
+ | } | ||
+ | #sec1 a i, | ||
+ | #sec8 a i { | ||
+ | padding-left:120px; | ||
+ | } | ||
+ | #sec2 a i, | ||
+ | #sec4 a i, | ||
+ | #sec5 a i, | ||
+ | #sec6 a i { | ||
+ | padding-left:110px; | ||
+ | } | ||
+ | .seclink a:hover i { | ||
+ | //font-size:200px; | ||
+ | opacity:0.5; | ||
+ | top:-150px; | ||
} | } | ||
#seclinks { | #seclinks { | ||
Line 380: | Line 553: | ||
} | } | ||
.seclink a p { | .seclink a p { | ||
+ | position:absolute; | ||
display:block; | display:block; | ||
+ | top:200px; | ||
padding:10px; | padding:10px; | ||
text-indent:30px; | text-indent:30px; | ||
Line 387: | Line 562: | ||
-o-transition: all 0.5s ease-in-out; | -o-transition: all 0.5s ease-in-out; | ||
transition: all 0.5s ease-in-out; | transition: all 0.5s ease-in-out; | ||
+ | } | ||
+ | .seclink a:hover p { | ||
+ | top:0; | ||
} | } | ||
.seclink .smalltitle { | .seclink .smalltitle { | ||
font-family: Lobster Two; | font-family: Lobster Two; | ||
+ | position:absolute; | ||
display:block; | display:block; | ||
+ | top:130px; | ||
+ | left:0px; | ||
text-indent:0; | text-indent:0; | ||
padding-left:30px; | padding-left:30px; | ||
Line 396: | Line 577: | ||
opacity:1; | opacity:1; | ||
} | } | ||
- | . | + | .seclink a:hover .smalltitle { |
- | + | top:100px; | |
- | + | left:-50px; | |
- | + | font-size:100px; | |
- | + | opacity:0.5; | |
} | } | ||
- | . | + | .space { |
- | + | clear:both; | |
- | + | height:50px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #footer-text, #footer-text a, #footer-text a:hover { | |
- | + | color: white!important; | |
- | + | ||
} | } | ||
- | . | + | |
- | + | .pictureContainer { | |
- | + | height: 200px; | |
+ | width: 200px; | ||
+ | overflow: hidden; | ||
+ | cursor: pointer; | ||
+ | float : left ; | ||
+ | margin:25pt; | ||
+ | opacity: 0.9; | ||
} | } | ||
- | . | + | .picturebox { |
- | + | height: 400px; | |
- | + | width: 25px; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | . | + | .upperbox, .lowerbox { |
display: block; | display: block; | ||
- | + | width: 200px; | |
- | + | height: 200px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | . | + | |
- | + | .lowerbox { | |
- | + | color: white; | |
- | + | ||
- | + | text-align: center; | |
- | + | vertical-align: middle; | |
- | + | ||
- | + | ||
} | } | ||
- | . | + | |
- | + | .pictureContainer .picturebox { | |
- | + | position: relative; | |
+ | top: 0px; | ||
+ | transition: top .2s ease-in-out; | ||
+ | float : left ; | ||
} | } | ||
- | + | .pictureContainer .picturebox:hover { | |
- | + | top: -200px; | |
} | } | ||
+ | |||
</style> | </style> | ||
<script src="https://2013.igem.org/Team:Team:NCTU_Formosa/js/stellar?action=raw&ctype=text/javascript"></script> | <script src="https://2013.igem.org/Team:Team:NCTU_Formosa/js/stellar?action=raw&ctype=text/javascript"></script> | ||
Line 465: | Line 637: | ||
}); | }); | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $('.box').click(function() { window.location.href = 'https:// | + | $('.box').click(function() { window.location.href = 'https://2014.igem.org/Team:NCTU_Formosa/project'; }); |
}); | }); | ||
+ | </script> | ||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | $(".pro").click(function(){ | ||
+ | $(".elemen").addClass("element"); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | $(".attach").click(function(){ | ||
+ | $(".wordbox").animate({ | ||
+ | opacity:'1' | ||
+ | |||
+ | }); | ||
+ | $(".attach").animate({ | ||
+ | opacity:'0 ' | ||
+ | }); | ||
- | + | }); | |
+ | }); | ||
+ | |||
+ | |||
+ | </script> |
Latest revision as of 03:55, 18 October 2014