Difference between revisions of "Team:elan vital korea"
Line 65: | Line 65: | ||
font-size: 12px; | font-size: 12px; | ||
} | } | ||
+ | |||
+ | |||
+ | #center { | ||
+ | /*Centering Method 2*/ | ||
+ | margin: 10% 0 10% 0%; | ||
+ | left: 50%; | ||
+ | top: 50%; | ||
+ | } | ||
+ | |||
+ | |||
+ | img.displayed { | ||
+ | display: block; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | } | ||
+ | |||
+ | h4 { | ||
+ | color:white; | ||
+ | letter-spacing:2px; | ||
+ | font-size: 24px; | ||
+ | } | ||
+ | |||
+ | a:link { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | a:visited { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | a:hover { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | a:active { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | /* Location of the image */ | ||
+ | background-image: url(https://static.igem.org/mediawiki/2015/archive/2/24/20150829203509!ElanVital_Bg.png); | ||
+ | width: 100%; | ||
+ | background-size: cover; | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: center center; | ||
+ | } | ||
+ | |||
+ | |||
</style> | </style> | ||
</head> | </head> | ||
<body> | <body> | ||
+ | <div id="center"> | ||
+ | <a href=#"><img class="displayed" src="https://static.igem.org/mediawiki/2015/d/d5/ElanVital_Logo.png"></a> | ||
+ | |||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | |||
+ | <h4 style="text-align:center;"> | ||
+ | MEMBERS <br> | ||
+ | </h4> | ||
+ | |||
+ | |||
+ | <a href="#myAnchor" rel="" id="anchor1" class="anchorLink"><img class="displayed" src="https://static.igem.org/mediawiki/2015/d/d2/Scroll_arrow.png" width="1.8%;" height="1.8%;" ></a> | ||
+ | </div> | ||
+ | |||
+ | <br><br><br> | ||
+ | |||
+ | |||
+ | |||
+ | |||
<div id="container"> | <div id="container"> | ||
Line 144: | Line 214: | ||
</body> | </body> | ||
+ | |||
+ | |||
+ | |||
+ | <script> | ||
+ | $('a').click(function(){ | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $( $(this).attr('href') ).offset().top | ||
+ | }, 500); | ||
+ | return false; | ||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 19:18, 30 August 2015