(Created page with "<!-- This document, originally from getmdl.io, was modified --> <!-- Material Design Lite Copyright 2015 Google Inc. All rights reserved. Licensed under the Apache Lic...") |
|||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<html> | <html> | ||
<head> | <head> | ||
Line 25: | Line 6: | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<style> | <style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.main.view { | .main.view { | ||
position: fixed; | position: fixed; | ||
− | top: | + | top: 18px; |
left: 0; | left: 0; | ||
+ | bottom: 0; | ||
+ | right: 0; | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
Line 51: | Line 19: | ||
} | } | ||
− | + | .main.cont-wrap { | |
− | + | position: absolute; | |
+ | top: 0; | ||
+ | left: 0; | ||
+ | width: 100%; height: 100%; | ||
+ | background: rgba(253, 253, 253, 1); | ||
+ | overflow: auto; | ||
+ | box-shadow: 0 0 20px rgba(0, 0, 0, 1); | ||
+ | transition: 0.3s cubic-bezier(0.2, 1, 0.2, 1); | ||
+ | } | ||
+ | a { | ||
+ | text-decoration: none !important; | ||
+ | } | ||
+ | /* unvisited link */ | ||
+ | a:link { | ||
+ | color: green; | ||
+ | } | ||
− | + | /* visited link */ | |
+ | a:visited { | ||
+ | color: DarkGreen; | ||
+ | } | ||
− | + | /* mouse over link */ | |
+ | a:hover { | ||
+ | color: red; | ||
+ | } | ||
− | + | /* selected link */ | |
− | + | a:active { | |
− | + | color: blue; | |
+ | } | ||
− | + | </style> | |
− | + | <script type="text/javascript"> | |
− | + | ||
− | + | ||
− | + | ||
− | + | // Try to remove weird iGEM side menu and resize the remaining things | |
− | + | // var menuToRemove = document.getElementById('sideMenu').style.display = "none"; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | function closeMenuDiv(){ | |
− | + | document.getElementById("sideMenu").style.display = "none"; | |
+ | bars_box_active = false; | ||
− | }); | + | document.getElementById('content').setAttribute("style","display:block;width:100%"); |
− | + | document.getElementById('content').style.width='100%'; | |
− | + | } | |
− | + | window.setTimeout(closeMenuDiv,50); | |
+ | window.setTimeout(closeMenuDiv,100); | ||
+ | window.setTimeout(closeMenuDiv,500); | ||
+ | window.setTimeout(closeMenuDiv,1000); | ||
+ | window.setTimeout(closeMenuDiv,10000); | ||
− | + | </script> | |
+ | </head> | ||
+ | <div class="main view"> | ||
+ | |||
− | + | <!-- Concat with content --> | |
</html> | </html> |
Latest revision as of 01:41, 2 November 2017