(Created page with "<html> <link href='https://fonts.googleapis.com/css?family=Boogaloo' rel='stylesheet'> <script> // When the user scrolls down 20px from the top of the document, show the butto...") |
|||
Line 1,224: | Line 1,224: | ||
} | } | ||
</style> | </style> | ||
+ | <style> | ||
+ | .overlay5 { | ||
+ | height: 0%; | ||
+ | width: 100%; | ||
+ | position: fixed; | ||
+ | z-index: 1; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | background-color: rgb(0,0,0); | ||
+ | background-color: rgba(0,0,0, 0.9); | ||
+ | overflow-y: hidden; | ||
+ | transition: 0.5s; | ||
+ | } | ||
+ | |||
+ | .overlay5-content { | ||
+ | position: relative; | ||
+ | top: 25%; | ||
+ | width: 100%; | ||
+ | text-align: center; | ||
+ | margin-top: 30px; | ||
+ | } | ||
+ | |||
+ | .overlay5 a { | ||
+ | padding: 8px; | ||
+ | text-decoration: none; | ||
+ | font-size: 36px; | ||
+ | color: #818181; | ||
+ | display: block; | ||
+ | transition: 0.3s; | ||
+ | } | ||
+ | |||
+ | .overlay5 a:hover, .overlay5 a:focus { | ||
+ | color: #f1f1f1; | ||
+ | } | ||
+ | |||
+ | .overlay5 .closebtn5 { | ||
+ | position: absolute; | ||
+ | top: 20px; | ||
+ | right: 45px; | ||
+ | font-size: 60px; | ||
+ | } | ||
+ | |||
+ | @media screen and (max-height: 450px) { | ||
+ | .overlay5 {overflow-y: auto;} | ||
+ | .overlay5 a {font-size: 20px} | ||
+ | .overlay5 .closebtn5 { | ||
+ | font-size: 40px; | ||
+ | top: 15px; | ||
+ | right: 35px; | ||
+ | } | ||
+ | } | ||
+ | </style> | ||
<style> | <style> | ||
/* ADJUSTS DEFAULT iGEM CONTENT */ | /* ADJUSTS DEFAULT iGEM CONTENT */ | ||
Line 1,789: | Line 1,841: | ||
<div class="container1 left1"> | <div class="container1 left1"> | ||
<div class="content1"> | <div class="content1"> | ||
− | <h2 class="boogaloo_font ">march</h2> | + | |
+ | <div id="myNav" class="overlay5"> | ||
+ | <a href="javascript:void(0)" class="closebtn5" onclick="closeNav()">×</a> | ||
+ | <div class="overlay5-content"> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <h2 class="boogaloo_font "><span style="font-size:30px;cursor:pointer" onclick="openNav()">march</span></h2> | ||
+ | <script> | ||
+ | function openNav() { | ||
+ | document.getElementById("myNav").style.height = "100%"; | ||
+ | } | ||
+ | |||
+ | function closeNav() { | ||
+ | document.getElementById("myNav").style.height = "0%"; | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | |||
<p>Lorem ipsum..</p> | <p>Lorem ipsum..</p> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
</div> | </div> | ||
</div> | </div> | ||
<div class="container1 right1"> | <div class="container1 right1"> | ||
<div class="content1 boogaloo_font " style="overflow:scroll; "> | <div class="content1 boogaloo_font " style="overflow:scroll; "> | ||
+ | |||
<h2 class="boogaloo_font ">april</h2> | <h2 class="boogaloo_font ">april</h2> | ||
<p>Lorem ipsum..</p> | <p>Lorem ipsum..</p> |
Revision as of 09:01, 1 November 2017
march
Lorem ipsum..
april
Lorem ipsum..
may
Lorem ipsum..
june
Lorem ipsum..
july
Lorem ipsum..
august
Lorem ipsum..
september
Lorem ipsum..
october
Lorem ipsum..