Line 1: | Line 1: | ||
{{Lund}} | {{Lund}} | ||
+ | <!-- ******************** STYLE START ******************** --> | ||
+ | <style> | ||
+ | /******************** HEADER, LANDING PAGE********************/ | ||
+ | header { | ||
+ | background: linear-gradient(to bottom right, #862d21, #FC6C58); | ||
+ | background-attachment: fixed; | ||
+ | height: 950px; | ||
+ | } | ||
+ | .team-page-header { | ||
+ | height: 300px; | ||
+ | } | ||
− | + | /* Header image */ | |
+ | .header-content { | ||
+ | margin: 0 auto; | ||
+ | padding: 150px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .header-content img { | ||
+ | height: 500px; | ||
+ | } | ||
+ | /* Bottom to content */ | ||
+ | .scroll-to-content { | ||
+ | display: block; | ||
+ | margin: 0 auto; | ||
+ | text-align: center; | ||
+ | } | ||
− | + | .scroll-to-content a { | |
+ | color: rgba(255, 255, 255, 0.60); | ||
+ | font-size: 60px; | ||
+ | } | ||
− | + | .scroll-to-content a:hover { | |
− | + | color: #fff; | |
− | + | } | |
− | + | ||
− | + | /* Content */ | |
− | } | + | #content-wrapper { |
− | </ | + | padding: 75px 0; |
− | <div class=" | + | } |
− | < | + | |
+ | #content-wrapper p { | ||
+ | border-bottom: 1px solid #cacaca; | ||
+ | padding-bottom: 10px; | ||
+ | } | ||
+ | |||
+ | #content-wrapper .fas { | ||
+ | margin-left: 5px; | ||
+ | } | ||
+ | |||
+ | .content-page { | ||
+ | padding: 75px 0; | ||
+ | } | ||
+ | |||
+ | .content-page h1 { | ||
+ | padding: 0 0 10px 0; | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | .btn { | ||
+ | background-color: white; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | color: #FC6C58; | ||
+ | } | ||
+ | |||
+ | .btn:hover { | ||
+ | color: #862d21; | ||
+ | } | ||
+ | |||
+ | .bottom-cards p { | ||
+ | padding: 25px 0 10px 0; | ||
+ | width: 300px; | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | |||
+ | <!-- ******************** HTML START ******************** --> | ||
+ | |||
+ | <header> | ||
+ | <div class="header-content"> | ||
+ | <img src="https://static.igem.org/mediawiki/2018/3/3e/T--Lund--igem_lund_logo_animation_white.gif" alt="iGEM Lund Logo Animation"> | ||
+ | </div> | ||
+ | |||
+ | <div class="scroll-to-content"> | ||
+ | <a href="#content-wrapper"><i class="fas fa-angle-down"></i></a> | ||
</div> | </div> | ||
</header> | </header> | ||
− | <div | + | <!-- Content Page --> |
− | + | <div id="content-wrapper"> | |
− | |||
− | < | + | <div class="container content-page"> |
− | < | + | <div class="row submenu"> |
− | + | <div class="col-md-8"> | |
+ | <h1>Our project</h1> | ||
+ | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p> | ||
+ | <button class="btn">Read more <i class="fas fa-arrow-right"></i></button> | ||
+ | </div> | ||
− | + | <div class="col-md-4"> | |
+ | <img class="submenu_image" src="https://via.placeholder.com/300x200"> | ||
+ | </div> | ||
− | + | </div> | |
+ | </div> | ||
− | + | <div class="container content-page"> | |
− | < | + | <div class="row submenu"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <div class="col-md-4"> | |
+ | <img class="submenu_image" src="https://via.placeholder.com/300x200"> | ||
+ | </div> | ||
− | + | <div class="col-md-8"> | |
+ | <h1>Our project</h1> | ||
+ | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p> | ||
+ | <button class="btn">Read more <i class="fas fa-arrow-right"></i></button> | ||
+ | </div> | ||
− | + | </div> | |
+ | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | < | + | <div class="container content-page"> |
+ | <div class="row submenu"> | ||
+ | <div class="col-md-8"> | ||
+ | <h1>Our project</h1> | ||
+ | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p> | ||
+ | <button class="btn">Read more <i class="fas fa-arrow-right"></i></button> | ||
+ | </div> | ||
− | </div> | + | <div class="col-md-4"> |
+ | <img class="submenu_image" src="https://via.placeholder.com/300x200"> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <section class="bottom-cards"> | ||
+ | <div class="container content-page"> | ||
+ | <div class="row submenu"> | ||
+ | <div class="col-md-4"> | ||
+ | <h2>Human Practices</h2> | ||
+ | <img class="submenu_image" src="https://via.placeholder.com/300x200"> | ||
+ | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> | ||
+ | <button class="btn">Read more <i class="fas fa-arrow-right"></i></button> | ||
+ | </div> | ||
+ | |||
+ | <div class="col-md-4"> | ||
+ | <h2>Human Practices</h2> | ||
+ | <img class="submenu_image" src="https://via.placeholder.com/300x200"> | ||
+ | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> | ||
+ | <button class="btn">Read more <i class="fas fa-arrow-right"></i></button> | ||
+ | </div> | ||
+ | |||
+ | <div class="col-md-4"> | ||
+ | <h2>Human Practices</h2> | ||
+ | <img class="submenu_image" src="https://via.placeholder.com/300x200"> | ||
+ | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> | ||
+ | <button class="btn">Read more <i class="fas fa-arrow-right"></i></button> | ||
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | </section> | ||
+ | |||
+ | </div> | ||
+ | <!-- ******************** SCRIPT START ******************** --> | ||
+ | <script> | ||
+ | // Smooth scroll | ||
+ | function scrollNav() { | ||
+ | $('a').click(function(){ | ||
+ | $('html, body').stop().animate({ | ||
+ | scrollTop: $( $(this).attr('href') ).offset().top - 75 | ||
+ | }, 600); | ||
+ | }); | ||
+ | } | ||
+ | scrollNav(); | ||
+ | </script> | ||
</html> | </html> | ||
+ | {{Lund/footer}} |
Revision as of 17:55, 10 October 2018
<style> /******************** HEADER, LANDING PAGE********************/ header {
background: linear-gradient(to bottom right, #862d21, #FC6C58); background-attachment: fixed; height: 950px;
}
.team-page-header {
height: 300px;
}
/* Header image */ .header-content {
margin: 0 auto; padding: 150px; text-align: center;
}
.header-content img {
height: 500px;
}
/* Bottom to content */ .scroll-to-content {
display: block; margin: 0 auto; text-align: center;
}
.scroll-to-content a {
color: rgba(255, 255, 255, 0.60); font-size: 60px;
}
.scroll-to-content a:hover {
color: #fff;
}
/* Content */
- content-wrapper {
padding: 75px 0;
}
- content-wrapper p {
border-bottom: 1px solid #cacaca; padding-bottom: 10px;
}
- content-wrapper .fas {
margin-left: 5px;
}
.content-page {
padding: 75px 0;
}
.content-page h1 {
padding: 0 0 10px 0; margin: 0;
}
.btn {
background-color: white; margin: 0; padding: 0; color: #FC6C58;
}
.btn:hover {
color: #862d21;
}
.bottom-cards p {
padding: 25px 0 10px 0; width: 300px;
}
</style>
<header>
<img src="" alt="iGEM Lund Logo Animation">
<a href="#content-wrapper"></a>
</header>
<section class="bottom-cards">
</section>
<script> // Smooth scroll function scrollNav() {
$('a').click(function(){ $('html, body').stop().animate({ scrollTop: $( $(this).attr('href') ).offset().top - 75 }, 600); });
} scrollNav(); </script>
</html>