Team:NCTU Formosa/source/head-index
From 2014.igem.org
(Difference between revisions)
(57 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;} | .hh{height:200pt;} | ||
.ch-item { | .ch-item { | ||
Line 103: | Line 124: | ||
padding: 40px 0 0 0; | padding: 40px 0 0 0; | ||
height: 90px; | height: 90px; | ||
- | font-family: 'Open Sans', Arial, sans-serif; | + | //font-family: 'Open Sans', Arial, sans-serif; |
text-shadow: | text-shadow: | ||
0 0 1px #fff, | 0 0 1px #fff, | ||
Line 115: | Line 136: | ||
margin: 0 30px; | margin: 0 30px; | ||
font-size: 12px; | font-size: 12px; | ||
- | + | ||
} | } | ||
Line 180: | 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 191: | Line 212: | ||
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/5/5a/NCTU_wiki_Backdround.jpg); | background-image: url(https://static.igem.org/mediawiki/2014/5/5a/NCTU_wiki_Backdround.jpg); | ||
- | |||
- | |||
background-position: center top; | background-position: center top; | ||
+ | margin-bottom:10pt; | ||
} | } | ||
#sitemap { | #sitemap { | ||
Line 247: | Line 267: | ||
} | } | ||
#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; | border-radius: 30px; | ||
- | opacity: 0 | + | 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 266: | Line 292: | ||
padding-left:30px; | padding-left:30px; | ||
padding-right:30px; | padding-right:30px; | ||
- | |||
} | } | ||
Line 615: | Line 640: | ||
}); | }); | ||
</script> | </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