Difference between revisions of "Template:CSS UCL5"
Superjack15 (Talk | contribs) |
Superjack15 (Talk | contribs) |
||
Line 22: | Line 22: | ||
$( function() | $( function() | ||
{ | { | ||
− | $( '# | + | $( '#hidden-menu:has(ul)' ).doubleTapToGo(); |
}); | }); | ||
</script> | </script> | ||
Line 452: | Line 452: | ||
/*menu*/ | /*menu*/ | ||
− | + | nav { | |
position: fixed; | position: fixed; | ||
top: 0; | top: 0; | ||
Line 465: | Line 465: | ||
@media(max-width:855px){ | @media(max-width:855px){ | ||
− | + | nav {height:90px;} | |
} | } | ||
@media(max-width:463px){ | @media(max-width:463px){ | ||
− | + | nav {height:120px;} | |
} | } | ||
@media(max-width:400px){ | @media(max-width:400px){ | ||
− | + | nav {height:150px;} | |
h5 {font-size:400%;margin-top:30px;text-align:center;font-familt:arial;} | h5 {font-size:400%;margin-top:30px;text-align:center;font-familt:arial;} | ||
#main {padding-top:0px;border-top:0px;margin-top:0px;top:0px;position:static;z-index:0} | #main {padding-top:0px;border-top:0px;margin-top:0px;top:0px;position:static;z-index:0} | ||
Line 481: | Line 481: | ||
/* CHANGE */ | /* CHANGE */ | ||
@media(max-width: 460px){ | @media(max-width: 460px){ | ||
− | + | nav {display:none;} | |
− | + | nav ul {display:none;} | |
#hidden-menu {display:block;} | #hidden-menu {display:block;} | ||
} | } | ||
Line 496: | Line 496: | ||
width:auto; | width:auto; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
#hidden-menu:not(:hover) ul { | #hidden-menu:not(:hover) ul { | ||
Line 792: | Line 787: | ||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
− | <nav id=" | + | <nav id="nav"> |
<div id="menu" class="menu"> | <div id="menu" class="menu"> | ||
Line 825: | Line 820: | ||
<div id="hidden-menu"> | <div id="hidden-menu"> | ||
− | + | <img src="https://static.igem.org/mediawiki/2015/d/de/UCLigemMobileMenu.png" id="mobilebutton"> | |
− | + | <ul> | |
− | <ul | + | |
<li><a href="https://2015.igem.org/Team:UCL">Home</a></li> | <li><a href="https://2015.igem.org/Team:UCL">Home</a></li> | ||
<li><a href="https://2015.igem.org/Team:UCL/Description">Project</a></li> | <li><a href="https://2015.igem.org/Team:UCL/Description">Project</a></li> |
Revision as of 17:49, 26 July 2015