Template:CSS/Team:Glasgow/Draft1
From 2014.igem.org
(Difference between revisions)
RobbieEvans (Talk | contribs) |
RobbieEvans (Talk | contribs) |
||
Line 247: | Line 247: | ||
#menu ul {position:absolute; | #menu ul {position:absolute; | ||
max-height:0em; <!-- Needs to be here for some reason!? (To make dds hidden) --> | max-height:0em; <!-- Needs to be here for some reason!? (To make dds hidden) --> | ||
- | left: | + | position:absolute; |
+ | left:-30px; | ||
top: 0em; | top: 0em; | ||
top: 43px; <!-- positioning of dd list/box, from top of menu li --> | top: 43px; <!-- positioning of dd list/box, from top of menu li --> | ||
Line 255: | Line 256: | ||
transition: 0.5s max-height 0.3s; | transition: 0.5s max-height 0.3s; | ||
background-color:transparent; | background-color:transparent; | ||
- | background-image: linear-gradient(rgba(50, 50, 150, 0. | + | background-image: linear-gradient(rgba(50, 50, 150, 0.75), rgba(50, 50, 150, 0.75)); <!--Darkish blue --> |
test-align:center;<!-- Maybe remove previous positioning for this --> | test-align:center;<!-- Maybe remove previous positioning for this --> | ||
font-size:0; | font-size:0; | ||
Line 283: | Line 284: | ||
#menu > li li { | #menu > li li { | ||
- | width: | + | width: 100px; |
padding: 3% 0; <!-- Padding of dd list: top sides --> | padding: 3% 0; <!-- Padding of dd list: top sides --> | ||
+ | <!--position used earlier on dark blue backdrop --> | ||
} | } | ||
Revision as of 12:50, 12 October 2014