|
|
Line 8: |
Line 8: |
| <script type="text/javascript" src="https://2015.igem.org/Template:ETH_Zurich/jquery.jpanelmenu.js?action=raw&ctype=text/javascript"></script> | | <script type="text/javascript" src="https://2015.igem.org/Template:ETH_Zurich/jquery.jpanelmenu.js?action=raw&ctype=text/javascript"></script> |
| | | |
− | /*
| |
− | <style id="mobileWidth">
| |
− | #sidemenuContainer {
| |
− | display:none;
| |
− | }
| |
− | .expContainer {
| |
− | width:92%;
| |
− | }
| |
− | #mainMenu {
| |
− | display:none;
| |
− | }
| |
− | </style>*/
| |
| | | |
− | <!--
| + | |
− | <style id="menuToggler">
| + | |
− | @media screen and (max-device-width:480px) {
| + | |
− | #menuContainer.mobileMenu ul {
| + | |
− | z-index:1 !important;
| + | |
− | }
| + | |
− | .expContainer {
| + | |
− | -webkit-transform:translate3d(-80%,0,0);
| + | |
− | -moz-transform:translate3d(-80%,0,0);
| + | |
− | -ms-transform:translate3d(-80%,0,0);
| + | |
− | -o-transform:translate3d(-80%,0,0);
| + | |
− | transform:translate3d(-80%,0,0);
| + | |
− | }
| + | |
− | #footerContainer {
| + | |
− | -webkit-transform:translate3d(-80%,0,0);
| + | |
− | -moz-transform:translate3d(-80%,0,0);
| + | |
− | -ms-transform:translate3d(-80%,0,0);
| + | |
− | -o-transform:translate3d(-80%,0,0);
| + | |
− | transform:translate3d(-80%,0,0);
| + | |
− | }
| + | |
− | /*ul#mainMenu {
| + | |
− | -webkit-transform:translate3d(30%,314px,0) !important;
| + | |
− | -moz-transform:translate3d(30%,314px,0) !important;
| + | |
− | -ms-transform:translate3d(30%,314px,0) !important;
| + | |
− | -o-transform:translate3d(30%,314px,0) !important;
| + | |
− | transform:translate3d(30%,314px,0) !important;
| + | |
− | }
| + | |
− | ul#mainMenu li ul {
| + | |
− | -webkit-transform:translate3d(-7%,0,0) !important; /*20%*/
| + | |
− | -moz-transform:translate3d(-7%,0,0) !important;
| + | |
− | -ms-transform:translate3d(-7%,0,0) !important;
| + | |
− | -o-transform:translate3d(-7%,0,0) !important;
| + | |
− | transform:translate3d(-7%,0,0) !important;
| + | |
− | }*/
| + | |
− | #homepageContainer {
| + | |
− | -webkit-transform:translate3d(-80%,0,0);
| + | |
− | -moz-transform:translate3d(-80%,0,0);
| + | |
− | -ms-transform:translate3d(-80%,0,0);
| + | |
− | -o-transform:translate3d(-80%,0,0);
| + | |
− | transform:translate3d(-80%,0,0);
| + | |
− | }
| + | |
− | }
| + | |
− | </style>
| + | |
− | -->
| + | |
| <style id="sidemenuTop"> | | <style id="sidemenuTop"> |
| #sidemenu.smtop { | | #sidemenu.smtop { |