(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{NTHU_Formosa}}{{NTHU_Formosa/NavBar}} | |
− | + | ||
<html> | <html> | ||
+ | <head> | ||
+ | <meta charset="UTF-8"> | ||
+ | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
+ | <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:NTHU_Formosa/initial&action=raw&ctype=text/css"> | ||
+ | <link rel="stylesheet" type="text/css" href="https://alvarotrigo.com/fullPage/fullpage.css"> | ||
+ | <link rel="stylesheet" type="text/css" href="https://alvarotrigo.com/fullPage/examples/examples.css"> | ||
+ | <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:NTHU_Formosa/CSS&action=raw&ctype=text/css"> | ||
− | |||
− | < | + | <style> |
+ | /* Fixed header and footer. | ||
+ | * --------------------------------------- */ | ||
− | |||
− | |||
+ | #header { | ||
+ | position: fixed; | ||
+ | height: 50px; | ||
+ | display: block; | ||
+ | width: 100%; | ||
+ | background: #333; | ||
+ | z-index: 9; | ||
+ | text-align: center; | ||
+ | color: #f2f2f2; | ||
+ | padding: 20px 0 0 0; | ||
+ | } | ||
+ | #header { | ||
+ | top: 0px; | ||
+ | } | ||
− | + | /* Style for our header texts | |
− | + | * --------------------------------------- */ | |
− | + | h1 { | |
+ | font-size: 5em; | ||
+ | font-family: arial, helvetica; | ||
+ | color: #fff; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
− | + | .intro p { | |
+ | color: #fff; | ||
+ | } | ||
− | + | /* Centered texts in each section | |
+ | * --------------------------------------- */ | ||
− | + | .section { | |
+ | text-align: center; | ||
+ | font-family: arial, helvetica; | ||
+ | /* padding-left: 50px; */ | ||
+ | } | ||
− | + | /* Backgrounds will cover all the section | |
+ | * --------------------------------------- */ | ||
− | + | #section0, | |
+ | #section1, | ||
+ | #section2, | ||
+ | #section3, | ||
+ | #section4, | ||
+ | #section5, | ||
+ | { | ||
+ | background-size: cover; | ||
+ | background-attachment: fixed; | ||
+ | } | ||
− | + | /* Defining each section background and styles | |
+ | * --------------------------------------- */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | #section0 { | ||
+ | <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:NTHU_Formosa/Mainpage&action=raw&ctype=text/css"> | ||
+ | <!DOCTYPE html> | ||
+ | <html lang="en" > | ||
+ | <head> | ||
+ | <meta charset="UTF-8"> | ||
+ | <title>mainpage01</title> | ||
+ | |||
+ | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> | ||
+ | |||
+ | <link rel="stylesheet" href="css/style.css"> | ||
+ | |||
</head> | </head> | ||
+ | <body> | ||
+ | <div class="side-bar"> | ||
+ | <div class="side-container top"> | ||
+ | <svg viewbox="0 0 120 120" class="hover-svg"> | ||
+ | <path D="M 60 25 L 20 95 L 100 95 Z"/> | ||
+ | <path D="M 36 67 L 53 95"/> | ||
+ | <path D="M 33 72 L 47 95"/> | ||
+ | <path D="M 30 78 L 41 95"/> | ||
+ | <path D="M 27 83 L 35 95"/> | ||
+ | </svg> | ||
+ | </div> | ||
+ | <div class="side-container middle"> | ||
+ | <div class="rela-block side-button facebook"></div> | ||
+ | <div class="rela-block side-button twitter"></div> | ||
+ | <div class="rela-block side-button instagram"></div> | ||
+ | <div class="rela-block side-button soundcloud"></div> | ||
+ | <div class="rela-block side-button linked-in"></div> | ||
+ | <div class="rela-block side-button pinterest"></div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="plus-button"></div> | ||
+ | <div class="social-button twitter-button"></div> | ||
+ | <div class="social-button facebook-button"></div> | ||
+ | <div class="social-button pinterest-button"></div> | ||
+ | <div class="social-button insta-button"></div> | ||
+ | <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> | ||
+ | |||
+ | <script src="js/index.js"></script> | ||
− | + | </body> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | + | </html> | |
− | + | ||
− | + | ||
− | + | <script> | |
− | + | $(document).ready(function(){ | |
− | + | ||
+ | // Social plus button function | ||
+ | $('.plus-button').click(function(){ | ||
+ | $(this).toggleClass('open'); | ||
+ | $('.social-button').toggleClass('active'); | ||
+ | }); | ||
+ | |||
+ | }); | ||
− | </ | + | </script> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | background-image: url(https://static.igem.org/mediawiki/2018/e/e1/T--NTHU_Formosa--home1.png); | |
− | + | /* padding: 6% 0 0 0; */ | |
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | #section1 { | ||
+ | background-image: url(https://static.igem.org/mediawiki/2018/8/8b/T--NTHU_Formosa--home_project.png); | ||
+ | } | ||
+ | #section2 { | ||
+ | background-image: url(https://static.igem.org/mediawiki/2018/8/8d/T--NTHU_Formosa--home_experiment.png); | ||
+ | } | ||
− | + | #section3 { | |
+ | background-image: url(https://raw.githubusercontent.com/alvarotrigo/fullPage.js/master/examples/imgs/bg2.jpg); | ||
+ | } | ||
− | + | #section4 { | |
− | + | background-image: url(https://raw.githubusercontent.com/alvarotrigo/fullPage.js/master/examples/imgs/bg3.jpg); | |
+ | } | ||
+ | #section5 { | ||
+ | background-image: url(https://static.igem.org/mediawiki/2018/0/0d/T--NTHU_Formosa--home_about.png); | ||
+ | } | ||
− | + | /* Button Styling | |
+ | * --------------------------------------- */ | ||
− | + | .btn-group { | |
− | + | /* position: static; | |
− | + | height: 100%; | |
− | + | width: 100%; */ | |
− | + | } | |
− | + | .button_home { | |
− | + | float: center; | |
− | + | /* Green */ | |
− | + | background-color: #4CAF50; | |
+ | border: none; | ||
+ | color: white; | ||
+ | padding: 16px 32px; | ||
+ | text-align: center; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | font-size: 16px; | ||
+ | margin: 4px 2px; | ||
+ | -webkit-transition-duration: 0.4s; | ||
+ | /* Safari */ | ||
+ | transition-duration: 0.4s; | ||
+ | cursor: pointer; | ||
+ | } | ||
− | + | .btn-group .button1 { | |
+ | background-color: white; | ||
+ | color: black; | ||
+ | border: 2px solid #4CAF50; | ||
+ | } | ||
+ | .btn-group .button1:hover { | ||
+ | background-color: #4CAF50; | ||
+ | color: white; | ||
+ | } | ||
+ | </style> | ||
+ | </head> | ||
+ | <body> | ||
− | < | + | <!-- Fixed Header --> |
− | <div | + | <!-- <div id="header">Header 這裡會放些按鈕</div> --> |
− | + | ||
− | + | ||
− | + | ||
− | < | + | <!-- Scrolling Page --> |
− | + | <div id="fullpage"> | |
− | + | ||
− | + | ||
− | + | ||
+ | <!-- Section 0 --> | ||
+ | <div class="section " id="section0"> | ||
+ | <p>Interactive Cell</p> | ||
+ | </div> | ||
− | < | + | <!-- Section 1 --> |
− | </ | + | <div class="section" id="section1"> |
+ | <p>Project</p> | ||
+ | <div class="btn-group"> | ||
+ | <button class="button_home button1">Button</button> | ||
+ | <button class="button_home button1">Button</button> | ||
+ | <button class="button_home button1">Button</button> | ||
+ | <button class="button_home button1">Button</button> | ||
+ | </div> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Description" class="button">Introduction</a> | ||
+ | <br> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Design" class="button">Design</a> | ||
+ | <br> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Safety" class="button">Biosafety</a> | ||
+ | <br> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Future_Application" class="button">Future Application</a> | ||
+ | </div> | ||
+ | <!-- Section 2 --> | ||
+ | <div class="section" id="section2"> | ||
+ | <p>Experiment</p> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Results" class="button">Results</a> | ||
+ | <br> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Parts" class="button">Parts & Component</a> | ||
+ | <br> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Notebook" class="button">Notebook</a> | ||
+ | <br> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Interlab" class="button">Interlab</a> | ||
+ | </div> | ||
+ | <!-- Section 3 --> | ||
+ | <div class="section" id="section3"> | ||
+ | <p>Modeling</p> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Model" class="button"></a> | ||
+ | </div> | ||
− | <div class=" | + | <!-- Section 4 --> |
− | < | + | <div class="section" id="section4"> |
− | + | <p>Human Practices</p> | |
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Human_Practices" class="button">Human Practices</a> | ||
+ | </div> | ||
+ | <!-- Section 5 --> | ||
+ | <div class="section" id="section5"> | ||
+ | <p>About Us</p> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Team" class="button">Members</a> | ||
+ | <br> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Sponsor" class="button">Sponsor</a> | ||
+ | <br> | ||
+ | <a href="https://2018.igem.org/Team:NTHU_Formosa/Attributions" class="button">Attributions</a> | ||
+ | <br> | ||
+ | <a href="https://igem.org/2018_Judging_Form?team=NTHU_Formosa" class="button">Medal</a> | ||
+ | </div> | ||
+ | </div> | ||
− | < | + | <!-- fullpage.js, DO NOT MODIFT! --> |
− | + | <script type="text/javascript" src="https://alvarotrigo.com/fullPage/fullpage.js"></script> | |
− | + | <script type="text/javascript" src="https://alvarotrigo.com/fullPage/example.js"></script> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | <script type="text/javascript"> | ||
+ | var myFullpage = new fullpage('#fullpage', { | ||
+ | anchors: ['0', '1', '2', '3', '4', '5'], | ||
+ | sectionsColor: ['#C63D0F', '#1BBC9B', '#7E8F7C'], | ||
+ | css3: true, | ||
+ | licenseKey: "OPEN-SOURCE-GPLV3-LICENSE", | ||
+ | scrollBar: true | ||
+ | }); | ||
+ | </script> | ||
+ | <!-- end of fullpage.js --> | ||
+ | </body> | ||
</html> | </html> |
Latest revision as of 03:22, 8 October 2018