Team:NCTU Formosa/source/head-index
From 2013.igem.org
(Difference between revisions)
(13 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
- | |||
- | |||
- | |||
.effect { | .effect { | ||
- | left: | + | left: -100%; |
} | } | ||
#footer-box a{ | #footer-box a{ | ||
Line 56: | Line 53: | ||
position:relative; | position:relative; | ||
height: 900px; | height: 900px; | ||
+ | display:block; | ||
} | } | ||
.box { | .box { | ||
+ | display:block; | ||
position: absolute; | position: absolute; | ||
- | + | width: 100%; | |
- | top: | + | top:200px; |
left: 0; | left: 0; | ||
color: white; | color: white; | ||
- | |||
- | |||
text-align: right; | text-align: right; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
cursor:pointer; | cursor:pointer; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | + | #description .gear { | |
text-indent:9999px; | text-indent:9999px; | ||
- | + | max-width:50px; | |
- | width: | + | width:100%; |
- | height: | + | height:50px; |
- | background: url(https://static.igem.org/mediawiki/2013/ | + | 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 { | ||
+ | position:relative; | ||
text-indent:9999px; | text-indent:9999px; | ||
- | width: | + | max-width:455px; |
- | height: | + | width:100%; |
- | background: url(https://static.igem.org/mediawiki/2013/b/ba/Nctu-biglogo.png); | + | 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: 0 auto; | ||
margin-bottom:10px; | margin-bottom:10px; | ||
Line 103: | Line 89: | ||
#description .team { | #description .team { | ||
display:none; | display:none; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#description .wordbox { | #description .wordbox { | ||
- | |||
margin-top:20px; | margin-top:20px; | ||
padding-top:20px; | padding-top:20px; | ||
Line 124: | Line 104: | ||
#description .wordbox p{ | #description .wordbox p{ | ||
padding-top:10px; | padding-top:10px; | ||
+ | padding-left:30px; | ||
+ | padding-right:30px; | ||
} | } | ||
#description .box .readmore { | #description .box .readmore { | ||
text-align:center; | 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 { | #description .box:hover .moret { | ||
Line 342: | Line 352: | ||
} | } | ||
#sec7 { | #sec7 { | ||
+ | background: #c56dbf; | ||
+ | } | ||
+ | #sec8 { | ||
background: #aaaaaa; | background: #aaaaaa; | ||
+ | } | ||
+ | #sec9 { | ||
+ | background: #a88c57; | ||
} | } | ||
.seclink a i { | .seclink a i { | ||
Line 357: | 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 409: | 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