(after vgj) |
m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Fudan}} | {{Fudan}} | ||
− | <html> | + | <html> |
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
<style> | <style> | ||
Line 13: | Line 13: | ||
} | } | ||
− | . | + | .caption { |
− | + | position: absolute; | |
} | } | ||
+ | h1 { margin-bottom: 0.2em; } | ||
+ | p { line-height: 1.333em; } | ||
+ | /*#slide-4 .caption { | ||
+ | right: auto; | ||
+ | left: 5%; | ||
+ | top: 5%; | ||
+ | bottom: auto; | ||
+ | color: #47373f; | ||
+ | }*/ | ||
− | + | /* full width/height container */ | |
− | + | #slides-container { | |
+ | width: 100%; | ||
+ | height:100%; | ||
+ | overflow: hidden; | ||
} | } | ||
− | + | /* double the height/width of a viewport */ | |
− | + | #slides { | |
+ | width: 200%; | ||
+ | height:200%; | ||
+ | position: fixed; | ||
+ | top: 0; | ||
+ | left:0; | ||
} | } | ||
− | + | .slide { | |
− | . | + | position:absolute; |
− | position: | + | top: 0; |
left:0; | left:0; | ||
− | width: | + | width: 50%; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
height:50%; | height:50%; | ||
− | |||
} | } | ||
− | + | #slide-1 { | |
− | + | background: url('https://static.igem.org/mediawiki/2020/8/89/T--Fudan--index01.svg') no-repeat center center; | |
− | + | background-size: cover; | |
− | + | ||
} | } | ||
− | + | #slide-2 { | |
− | + | background: url('https://static.igem.org/mediawiki/2020/2/2d/T--Fudan--index02.svg') no-repeat center center; | |
− | + | background-size: cover; | |
− | + | -webkit-transform: translate(100%,0); | |
− | + | -ms-transform: translate(100%,0); | |
− | + | transform: translate(100%,0); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #slide-3 { | |
− | . | + | background: url('https://static.igem.org/mediawiki/2020/2/21/T--Fudan--index03.svg') no-repeat center center; |
− | + | background-size: cover; | |
− | + | -webkit-transform: translate(100%,100%); | |
+ | -ms-transform: translate(100%,100%); | ||
+ | transform: translate(100%,100%); | ||
} | } | ||
− | + | #slide-4 { | |
− | . | + | background: url('https://static.igem.org/mediawiki/2020/c/cc/T--Fudan--index04.svg') no-repeat center center; |
− | + | background-size: cover; | |
− | + | -webkit-transform: translate(100%,200%); | |
+ | -ms-transform: translate(100%,200%); | ||
+ | transform: translate(100%,200%); | ||
} | } | ||
− | + | #slide-5 { | |
− | . | + | background: url('https://static.igem.org/mediawiki/2020/7/73/T--Fudan--index05.svg') no-repeat center center; |
− | + | background-size: cover; | |
+ | -webkit-transform: translate(100%,300%); | ||
+ | -ms-transform: translate(100%,300%); | ||
+ | transform: translate(100%,300%); | ||
} | } | ||
− | + | #slide-6 { | |
− | . | + | background: url('https://static.igem.org/mediawiki/2020/5/50/T--Fudan--index06.svg') no-repeat center center; |
− | + | background-size: cover; | |
+ | -webkit-transform: translate(100%,400%); | ||
+ | -ms-transform: translate(100%,400%); | ||
+ | transform: translate(100%,400%); | ||
} | } | ||
− | + | #slide-7 { | |
− | # | + | background: url('https://static.igem.org/mediawiki/2020/6/69/T--Fudan--index07.svg') no-repeat center center; |
− | + | background-size: cover; | |
− | + | -webkit-transform: translate(100%,500%); | |
− | + | -ms-transform: translate(100%,500%); | |
+ | transform: translate(100%,500%); | ||
} | } | ||
− | + | #slide-8 { | |
− | + | background: url('https://static.igem.org/mediawiki/2020/f/fc/T--Fudan--index08.svg') no-repeat center center; | |
− | background: | + | background-size: cover; |
− | background-size:cover; | + | -webkit-transform: translate(100%,600%); |
+ | -ms-transform: translate(100%,600%); | ||
+ | transform: translate(100%,600%); | ||
} | } | ||
− | + | #slide-9 { | |
− | . | + | background: url('https://static.igem.org/mediawiki/2020/f/f8/T--Fudan--index09.svg') no-repeat center center; |
− | background: | + | background-size: cover; |
+ | -webkit-transform: translate(100%,700%); | ||
+ | -ms-transform: translate(100%,700%); | ||
+ | transform: translate(100%,700%); | ||
} | } | ||
− | + | #slide-10 { | |
− | . | + | background: url('https://static.igem.org/mediawiki/2020/9/9b/T--Fudan--index10.svg') no-repeat center center; |
− | + | background-size: cover; | |
+ | -webkit-transform: translate(100%,800%); | ||
+ | -ms-transform: translate(100%,800%); | ||
+ | transform: translate(100%,800%); | ||
} | } | ||
− | + | /* https://static.igem.org/mediawiki/2020/6/63/T--Fudan--index11.svg */ | |
− | . | + | #slide-end { |
− | + | background: url('https://static.igem.org/mediawiki/2020/5/51/T--Fudan--title_3.svg') no-repeat center center; | |
+ | background-size: cover; | ||
+ | -webkit-transform: translate(200%,800%); | ||
+ | -ms-transform: translate(200%,800%); | ||
+ | transform: translate(200%,800%); | ||
} | } | ||
− | + | #scrolling-helper { | |
− | + | position:absolute; | |
− | + | left:0; | |
− | + | top: 0; | |
− | + | height:1550%; | |
− | + | width: 0px; | |
− | + | ||
} | } | ||
− | + | .marker { | |
− | . | + | height:10%; |
− | height:100%; | + | width: 100%; |
+ | } | ||
+ | .red { | ||
+ | background-color: red; | ||
} | } | ||
− | + | .green { | |
− | + | background-color: green; | |
− | + | } | |
+ | .blue { | ||
+ | background-color: blue; | ||
+ | } | ||
+ | .grey { | ||
+ | background-color: grey; | ||
+ | } | ||
+ | .yellow { | ||
+ | background-color: yellow; | ||
} | } | ||
</style> | </style> | ||
− | <div id=" | + | <div id="slides-container"> |
− | + | <div id="slides" | |
− | + | data-0="transform:translate(0%,0);" | |
− | < | + | data-133p="transform:translate(-50%,0);" |
− | < | + | data-200p="" |
− | < | + | data-250p="transform:translate(-50%,-50%);" |
− | < | + | data-300p="" |
− | < | + | data-400p="transform:translate(-50%,-100%);" |
− | < | + | data-450p="" |
− | < | + | data-550p="transform:translate(-50%,-150%);" |
− | + | data-600p="" | |
− | + | data-700p="transform:translate(-50%,-200%);" | |
− | + | data-750p="" | |
+ | data-850p="transform:translate(-50%,-250%);" | ||
+ | data-900p="" | ||
+ | data-1000p="transform:translate(-50%,-300%);" | ||
+ | data-1050p="" | ||
+ | data-1150p="transform:translate(-50%,-350%);" | ||
+ | data-1200p="" | ||
+ | data-1300p="transform:translate(-50%,-400%);" | ||
+ | data-1350p="" | ||
+ | data-1450p="transform:translate(-100%,-400%);" | ||
+ | > | ||
+ | <div id="slide-1" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-40p="opacity: 1; transform:translate(0px,0px);" | ||
+ | data-70p="opacity: 0; transform:translate(0px,-100%);" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | style="top:52%;left:62%" | ||
+ | > | ||
+ | <p style="color:black">by Team:Fudan #iGEM2020</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-2" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <p style="color:#ccc;padding-left:1em">scene 2</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-3" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <p style="color:#ccc;padding-left:1em">scene 3</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-4" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <p style="color:#ccc;padding-left:1em">scene 4</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-5" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <p style="color:#ccc;padding-left:1em">scene 5</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-6" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <p style="color:#ccc;padding-left:1em">scene 6</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-7" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <p style="color:#ccc;padding-left:1em">scene 7</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-8" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <p style="color:#ccc;padding-left:1em">scene 8</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-9" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <p style="color:#ccc;padding-left:1em">scene 9</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-10" class="slide"> | ||
+ | <div class="caption" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <p style="color:#ccc;padding-left:1em">scene 10</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="slide-end" class="slide"> | ||
+ | <div class="caption" | ||
+ | style="left:5%;bottom:5%;right:auto" | ||
+ | data-1420p="opacity: 0; transform:translate(0,-200%);" | ||
+ | data-1470p="opacity: 1; transform:translate(0,0);" | ||
+ | data-anchor-target="#scrolling-helper" | ||
+ | > | ||
+ | <h1 style="color:white">We are proud to contribute to the <a style="color:white" href="/Team:Fudan/Sustainable">Sustainable</a> Development.</h1> | ||
+ | <p style="color:white">To find the quick answer to <a style="color:white" href="https://video.igem.org/videos/watch/7a0fee51-a637-4caf-aa97-a1d9bcafd3ba" target="_blank">the puzzle</a> please visit <a style="color:white" href="/Team:Fudan/Poster">/Team:Fudan/Poster</a></p> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
− | < | + | <div id="scrolling-helper"> |
− | + | <div class="marker red"></div> | |
− | < | + | <div class="marker green"></div> |
− | </ | + | <div class="marker blue"></div> |
+ | <div class="marker grey"></div> | ||
+ | <div class="marker yellow"></div> | ||
+ | <div class="marker red"></div> | ||
+ | <div class="marker green"></div> | ||
+ | <div class="marker blue"></div> | ||
+ | <div class="marker grey"></div> | ||
+ | <div class="marker yellow"></div> | ||
+ | </div> | ||
+ | <script src="/wiki/index.php?title=Template:Fudan/skrollr.js&action=raw&ctype=text/javascript"></script> | ||
+ | <script> | ||
+ | var s = skrollr.init(); | ||
+ | </script> | ||
− | + | <!-- #content #globalWrapper --> |
Latest revision as of 14:17, 17 December 2020