Team:NCTU Formosa/source/head-index
From 2013.igem.org
(Difference between revisions)
(18 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
- | |||
.effect { | .effect { | ||
- | left: | + | left: -100%; |
} | } | ||
#footer-box a{ | #footer-box a{ | ||
Line 29: | Line 28: | ||
background-image: url(https://static.igem.org/mediawiki/2013/d/de/Nctu-bg1.jpg); | background-image: url(https://static.igem.org/mediawiki/2013/d/de/Nctu-bg1.jpg); | ||
z-index:4; | z-index:4; | ||
- | |||
- | |||
} | } | ||
#sitemap { | #sitemap { | ||
Line 43: | 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 55: | Line 53: | ||
position:relative; | position:relative; | ||
height: 900px; | height: 900px; | ||
+ | display:block; | ||
} | } | ||
.box { | .box { | ||
+ | display:block; | ||
position: absolute; | position: absolute; | ||
- | + | width: 100%; | |
top:200px; | top:200px; | ||
left: 0; | left: 0; | ||
color: white; | color: white; | ||
- | |||
- | |||
text-align: right; | text-align: right; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
cursor:pointer; | cursor:pointer; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | . | + | #description .gear { |
- | background: | + | 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- | + | position:relative; |
- | + | text-indent:9999px; | |
- | + | max-width:455px; | |
- | + | 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; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#description .team { | #description .team { | ||
display:none; | display:none; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#description .wordbox { | #description .wordbox { | ||
- | + | margin-top:20px; | |
- | margin-top: | + | |
padding-top:20px; | padding-top:20px; | ||
+ | font-weight:300; | ||
width:100%; | width:100%; | ||
font-family: Open Sans; | font-family: Open Sans; | ||
- | font-size: | + | font-size: 18px; |
text-align:justify; | text-align:justify; | ||
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 119: | Line 155: | ||
} | } | ||
/* | /* | ||
+ | #description .box:hover .moret | ||
#description .box:hover .title { | #description .box:hover .title { | ||
color: #fff; | color: #fff; | ||
Line 315: | Line 352: | ||
} | } | ||
#sec7 { | #sec7 { | ||
+ | background: #c56dbf; | ||
+ | } | ||
+ | #sec8 { | ||
background: #aaaaaa; | background: #aaaaaa; | ||
+ | } | ||
+ | #sec9 { | ||
+ | background: #a88c57; | ||
} | } | ||
.seclink a i { | .seclink a i { | ||
Line 330: | Line 373: | ||
} | } | ||
#sec1 a i, | #sec1 a i, | ||
- | # | + | #sec8 a i { |
padding-left:120px; | padding-left:120px; | ||
} | } | ||
- | # | + | #sec2 a i, |
#sec4 a i, | #sec4 a i, | ||
#sec5 a i, | #sec5 a i, | ||
Line 382: | Line 425: | ||
clear:both; | clear:both; | ||
height:50px; | height:50px; | ||
+ | } | ||
+ | #footer-text, #footer-text a, #footer-text a:hover { | ||
+ | color: white!important; | ||
} | } | ||
</style> | </style> |
Latest revision as of 14:54, 25 October 2013