Team:NCTU Formosa/source/head-index

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
 
-
<style>
+
.effect {
.effect {
Line 60: Line 59:
left: 0;
left: 0;
color: white;
color: white;
-
background:rgba(0,0,0,0.5);
+
//background:rgba(0,0,0,0.5);
padding: 30px;
padding: 30px;
text-align: right;
text-align: right;
-
-moz-box-shadow: 1px 1px 3px #000;
+
//-moz-box-shadow: 1px 1px 3px #000;
-
-webkit-box-shadow: 1px 1px 3px #000;
+
//-webkit-box-shadow: 1px 1px 3px #000;
-
box-shadow: 1px 1px 3px #000;
+
//box-shadow: 1px 1px 3px #000;
-
-webkit-border-radius: 3px;
+
//-webkit-border-radius: 3px;
-
-moz-border-radius: 3px;
+
//-moz-border-radius: 3px;
-
border-radius: 3px;
+
//border-radius: 3px;
cursor:pointer;
cursor:pointer;
-webkit-transition: .5s;
-webkit-transition: .5s;
Line 77: Line 76:
}
}
.box:hover {
.box:hover {
-
background:rgba(0,0,0,0.8)
+
//background:rgba(0,0,0,0.8)
}
}
#description .title {
#description .title {
-
text-align: left;
+
text-align: center;
-
font-family: Lobster Two;
+
font-family: Open Sans;
font-size: 60px;
font-size: 60px;
-
font-weight: bold;
+
//font-weight: bold;
margin-bottom:10px;
margin-bottom:10px;
text-shadow: 0px 2px 3px #555;
text-shadow: 0px 2px 3px #555;
Line 93: Line 92:
}
}
#description .team {
#description .team {
-
display:none;
+
//display:none;
-
text-align: right;
+
text-align: center;
-
font-family: Lobster Two;
+
font-family: Open Sans;
-
font-size: 16px;
+
font-size: 20px;
-
font-weight: 700;
+
font-weight: 300;
text-shadow: 0px 2px 3px #555;
text-shadow: 0px 2px 3px #555;
}
}
#description .wordbox {
#description .wordbox {
-
border-top: 1px solid #fff;
+
//border-top: 1px solid #fff;
-
margin-top:10px;
+
margin-top:30px;
padding-top:20px;
padding-top:20px;
width:100%;
width:100%;
font-family: Open Sans;
font-family: Open Sans;
-
font-size: 16px;
+
font-size: 18px;
text-align:justify;
text-align:justify;
text-justify:inter-word;
text-justify:inter-word;
Line 381: Line 380:
height:50px;
height:50px;
}
}
-
</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>
 

Revision as of 18:36, 23 October 2013


.effect { left: 200%; }

  1. footer-box a{

color: white; } body { background:black; overflow-x: none; font-family: Open Sans; }

  1. footer-box {

width:100%; background-color:black; } .page { background-attachment: fixed; background-position: 0 50%; background-size: cover; background-repeat: no-repeat; height: 900px; position: relative; overflow: hidden; } #description { background-image: url(Nctu-bg1.jpg); z-index:4; } #sitemap { background-image: url(Nctu-bg4.jpg); z-index:4; min-height: 900px!important; height: auto!important; } #decor { display:none; background-image: url(Nctu-bg2.jpg); } #social { background-color: black; background-image: url(Nctu-bg3.jpg); min-height: 1300px!important; height: auto!important; z-index:4; } .boxwrap { width:100%; max-width:1200px; margin: 0 auto; position:relative; height: 900px; } .box { position: absolute; //width: 75%; top:200px; left: 0; color: white; //background:rgba(0,0,0,0.5); padding: 30px; 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; -webkit-transition: .5s; -moz-transition: .5s; -o-transition: .5s; -ms-transition: .5s; transition: .5s; } .box:hover { //background:rgba(0,0,0,0.8) }

  1. description .title {

text-align: center; font-family: Open Sans; font-size: 60px; //font-weight: bold; margin-bottom:10px; text-shadow: 0px 2px 3px #555; -webkit-transition: .5s; -moz-transition: .5s; -o-transition: .5s; -ms-transition: .5s; transition: .5s; }

  1. description .team {

//display:none; text-align: center; font-family: Open Sans; font-size: 20px; font-weight: 300; text-shadow: 0px 2px 3px #555; }

  1. description .wordbox {

//border-top: 1px solid #fff; margin-top:30px; padding-top:20px; width:100%; font-family: Open Sans; font-size: 18px; text-align:justify; text-justify:inter-word; text-indent: 50px; -webkit-transition: .5s; -moz-transition: .5s; -o-transition: .5s; -ms-transition: .5s; transition: .5s; } /*

  1. description .box:hover .title {

color: #fff; text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #7fff00, 0 0 70px #7FFF00, 0 0 80px #7FFF00, 0 0 100px #7FFF00, 0 0 150px #7FFF00; }

  1. description .box:hover .wordbox {

color: #fff; text-shadow: 0 0 10px #fff, 0 0 40px #7FFF00; }

  1. decor #quill {

z-index:3; position:absolute; top:-150px; left:0; margin-left:200px; background-image: url('https://static.igem.org/mediawiki/2013/e/e5/Nctu-quill.png'); background-repeat:no-repeat; width:1087px; height:1087px; }

  1. decor #parchment {

position:absolute; text-indent:-9999px; top:-50px; right:0; background-image: url('https://static.igem.org/mediawiki/2013/5/53/Nctu-parchment.png'); background-repeat: no-repeat; width:70%; height:200%; }

  1. decor #tphoto1 {

z-index:2; background-image: url('https://static.igem.org/mediawiki/2013/0/0c/Nctu-tphoto1.png'); background-repeat: no-repeat; background-size: contain; width:200px; height:200%; transform:rotate(-5deg); -ms-transform:rotate(-5deg); -webkit-transform:rotate(-5deg); position:absolute; top:100px; right:-80px; }

  1. decor #tphoto2 {

z-index:2; background-image: url('https://static.igem.org/mediawiki/2013/5/5c/Nctu-tphoto2.png'); background-repeat: no-repeat; background-size: contain; width:500px; height:200%; transform:rotate(5deg); -ms-transform:rotate(5deg); -webkit-transform:rotate(5deg); position:absolute; top:500px; right:-150px; }

  • /
  1. social #meritw {

display:block; padding-top:30px; width:90%; margin: 0 auto; vertical-align: text-top; }

  1. sitemap > p {

padding-top:5px; color: #eee; text-indent:30px; padding-left:50px; padding-right:70px; padding-bottom:30px; } .bigtitle { text-indent:0; color: white; font-size: 35px; padding-left:50px; padding-top:50px!important; padding-bottom:15px; }

  1. social .bigtitle .em1 {

font-weight:700; text-decoration:underline; }

  1. social .bigtitle .em2 {

color: #99ccff; }

  1. social>p {

padding-top:5px; color: #eee; text-indent:30px; padding-left:50px; padding-right:70px; }

  1. social .merit {

display:inline-block; background: rgba(30,30,30,0.5); border-radius:5px; color: white; width:400px; margin:25px; padding:10px; vertical-align: text-top; -webkit-transition: .5s; -moz-transition: .5s; -o-transition: .5s; -ms-transition: .5s; transition: .5s; }

  1. social .merit:hover {

background: rgba(30,30,30,0.8); }

  1. social .merit .smalltitle {

font-size:20px; font-weight:700; padding-left:20px; padding-right:20px; padding-top:5px!important; padding-bottom:5px!important; text-indent:0!important; background-color: rgba(0,0,0,0.5); top:-10px; width:380px; position:relative; left:-10px; }

  1. social .merit p {

padding-top:10px; padding-left:10px; padding-right:10px; text-indent:30px; }

  1. social .cphoto img {

width:420px; border-top-left-radius:5px; border-top-right-radius:5px; position:relative; top:-10px; left:-10px; margin-bottom:0!important; }

  1. social a {

color:#99ccff; }

  1. social b {

background-color:#E86100; padding-left:5px; padding-right:5px; border-radius:3px; }

  1. sitemap .seclink {

display: block; margin:10px; height:200px; width:300px; float:left; overflow: hidden; color:white; border-radius:5px; } .seclink a { position: relative; display: block; background:rgba(0,0,0,0); height:100%; width:100%; color:white; -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; } .seclink a:hover { text-decoration:none; background:rgba(0,0,0,0.5); }

  1. sec1 {

background: #c56d83; }

  1. sec2 {

background: #dd9056; }

  1. sec3 {

background: #deb754; }

  1. sec4 {

background: #8da857; }

  1. sec5 {

background: #7b7eb7; }

  1. sec6 {

background: #82b1b1; }

  1. sec7 {

background: #aaaaaa; } .seclink a i { position:absolute; font-size:100px; padding-left:100px; padding-top:10px; top:0; 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; }

  1. sec1 a i,
  2. sec7 a i {

padding-left:120px; }

  1. sec3 a i,
  2. sec4 a i,
  3. sec5 a i,
  4. sec6 a i {

padding-left:110px; } .seclink a:hover i { //font-size:200px; opacity:0.5; top:-150px; }

  1. seclinks {

padding-left:50px; padding-right:50px; } .seclink a p { position:absolute; display:block; top:200px; padding:10px; text-indent:30px; -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; } .seclink a:hover p { top:0; } .seclink .smalltitle { font-family: Lobster Two; position:absolute; display:block; top:130px; left:0px; text-indent:0; padding-left:30px; font-size:30px; opacity:1; } .seclink a:hover .smalltitle { top:100px; left:-50px; font-size:100px; opacity:0.5; } .space { clear:both; height:50px; }