Team:NCTU Formosa/source/head-index

From 2013.igem.org

(Difference between revisions)
 
(16 intermediate revisions not shown)
Line 1: Line 1:
-
 
+
<html>
-
 
+
<style>
.effect {
.effect {
-
left: 200%;
+
left: -100%;
}
}
#footer-box a{
#footer-box a{
Line 40: Line 40:
}
}
#social {
#social {
 +
display:none;
background-color: black;
background-color: black;
background-image: url(https://static.igem.org/mediawiki/2013/6/6e/Nctu-bg3.jpg);
background-image: url(https://static.igem.org/mediawiki/2013/6/6e/Nctu-bg3.jpg);
Line 52: Line 53:
position:relative;
position:relative;
height: 900px;
height: 900px;
 +
display:block;
}
}
.box {
.box {
 +
display:block;
position: absolute;
position: absolute;
-
//width: 75%;
+
width: 100%;
top:200px;
top:200px;
left: 0;
left: 0;
color: white;
color: white;
-
//background:rgba(0,0,0,0.5);
 
-
padding: 30px;
 
text-align: right;
text-align: right;
-
//-moz-box-shadow: 1px 1px 3px #000;
 
-
//-webkit-box-shadow: 1px 1px 3px #000;
 
-
//box-shadow: 1px 1px 3px #000;
 
-
//-webkit-border-radius: 3px;
 
-
//-moz-border-radius: 3px;
 
-
//border-radius: 3px;
 
cursor:pointer;
cursor:pointer;
-
-webkit-transition: .5s;
 
-
-moz-transition: .5s;
 
-
-o-transition: .5s;
 
-
-ms-transition: .5s;
 
-
transition: .5s;
 
}
}
-
.box:hover {
+
#description .gear {
-
//background:rgba(0,0,0,0.8)
+
text-indent:9999px;
 +
max-width:50px;
 +
width:100%;
 +
height:50px;
 +
background: url(https://static.igem.org/mediawiki/2013/a/ad/Nctu-gear.png) no-repeat;
 +
background-size: contain!important;
 +
position:absolute;
 +
right:-20px;
 +
top:-20px;
}
}
#description .title {
#description .title {
-
text-align: center;
+
position:relative;
-
font-family: Open Sans;
+
text-indent:9999px;
-
font-size: 60px;
+
max-width:455px;
-
//font-weight: bold;
+
width:100%;
 +
height:118px;
 +
background: url(https://static.igem.org/mediawiki/2013/b/ba/Nctu-biglogo.png) no-repeat;
 +
background-size: contain!important;
 +
margin: 0 auto;
margin-bottom:10px;
margin-bottom:10px;
-
text-shadow: 0px 2px 3px #555;
 
-
-webkit-transition: .5s;
 
-
-moz-transition: .5s;
 
-
-o-transition: .5s;
 
-
-ms-transition: .5s;
 
-
transition: .5s;
 
}
}
#description .team {
#description .team {
-
//display:none;
+
display:none;
-
text-align: center;
+
-
font-family: Open Sans;
+
-
font-size: 20px;
+
-
font-weight: 300;
+
-
text-shadow: 0px 2px 3px #555;
+
}
}
#description .wordbox {
#description .wordbox {
-
//border-top: 1px solid #fff;
+
margin-top:20px;
-
margin-top:30px;
+
padding-top:20px;
padding-top:20px;
 +
font-weight:300;
width:100%;
width:100%;
font-family: Open Sans;
font-family: Open Sans;
Line 109: Line 100:
text-justify:inter-word;
text-justify:inter-word;
text-indent: 50px;
text-indent: 50px;
 +
margin-bottom:30px;
 +
}
 +
#description .wordbox p{
 +
padding-top:10px;
 +
padding-left:30px;
 +
padding-right:30px;
 +
}
 +
#description .box .readmore {
 +
text-align:center;
 +
margin-bottom:50px;
 +
}
 +
#description .box:hover .gear {
 +
-webkit-animation: spin1 2s infinite linear;
 +
-moz-animation: spin1 2s infinite linear;
 +
-o-animation: spin1 2s infinite linear;
 +
-ms-animation: spin1 2s infinite linear;
 +
animation: spin1 2s infinite linear;
 +
}
 +
@-webkit-keyframes spin1 {
 +
0% { -webkit-transform: rotate(0deg);}
 +
100% { -webkit-transform: rotate(360deg);}
 +
}
 +
@-moz-keyframes spin1 {
 +
0% { -moz-transform: rotate(0deg);}
 +
100% { -moz-transform: rotate(360deg);}
 +
}
 +
@-o-keyframes spin1 {
 +
0% { -o-transform: rotate(0deg);}
 +
100% { -o-transform: rotate(360deg);}
 +
}
 +
@-ms-keyframes spin1 {
 +
0% { -ms-transform: rotate(0deg);}
 +
100% { -ms-transform: rotate(360deg);}
 +
}
 +
@-keyframes spin1 {
 +
0% { transform: rotate(0deg);}
 +
100% { transform: rotate(360deg);}
 +
}
 +
#description .box:hover .moret {
 +
background-color:white;
 +
color:darkblue;
 +
}
 +
.moret {
 +
border: white solid 1px;
 +
padding:3px;
 +
padding-left:7px;
 +
padding-right:7px;
 +
border-radius:3px;
-webkit-transition: .5s;
-webkit-transition: .5s;
-moz-transition: .5s;
-moz-transition: .5s;
Line 116: Line 155:
}
}
/*
/*
 +
#description .box:hover .moret
#description .box:hover .title {
#description .box:hover .title {
color: #fff;
color: #fff;
Line 312: Line 352:
}
}
#sec7 {
#sec7 {
 +
background: #c56dbf;
 +
}
 +
#sec8 {
background: #aaaaaa;
background: #aaaaaa;
 +
}
 +
#sec9 {
 +
background: #a88c57;
}
}
.seclink a i {
.seclink a i {
Line 327: Line 373:
}
}
#sec1 a i,  
#sec1 a i,  
-
#sec7 a i {
+
#sec8 a i {
padding-left:120px;
padding-left:120px;
}
}
-
#sec3 a i,  
+
#sec2 a i,  
#sec4 a i,  
#sec4 a i,  
#sec5 a i,  
#sec5 a i,  
Line 380: Line 426:
height:50px;
height:50px;
}
}
 +
#footer-text, #footer-text a, #footer-text a:hover {
 +
color: white!important;
 +
}
 +
</style>
 +
<script src="https://2013.igem.org/Team:Team:NCTU_Formosa/js/stellar?action=raw&ctype=text/javascript"></script>
 +
<script>
 +
$(function(){
 +
$.stellar({
 +
horizontalScrolling: false,
 +
verticalOffset: 40
 +
});
 +
});
 +
  $(document).ready(function(){
 +
$('.box').click(function() { window.location.href = 'https://2013.igem.org/Team:NCTU_Formosa/project'; });
 +
  });
 +
</script>

Latest revision as of 14:54, 25 October 2013