Template:MissouriMiners2012

From 2012.igem.org

(Difference between revisions)
Line 41: Line 41:
#menuwrap { background-color: #085706; padding-top: 9px; }
#menuwrap { background-color: #085706; padding-top: 9px; }
-
#menuwrap li { float: left; margin: 16px 38px 0 0; padding: 0 0 3px; }
 
#menu { padding-left: 120px; }
#menu { padding-left: 120px; }
#menu a { color: white; font: .85em/1.2em "Segoe UI Semibold",BebasNeueRegular,Calibri,sans-serif; text-transform: uppercase; }
#menu a { color: white; font: .85em/1.2em "Segoe UI Semibold",BebasNeueRegular,Calibri,sans-serif; text-transform: uppercase; }
Line 51: Line 50:
#menu ul, #menu li { list-style: none; }
#menu ul, #menu li { list-style: none; }
-
#menu li { float: left; position: relative; }
+
#menu > ul > li { float: left; margin: 16px 38px 0 0; padding: 0 0 3px; }
 +
#menu li { position: relative; }
#menu li ul { display: none; position: absolute; top: 1em; left: 0; }
#menu li ul { display: none; position: absolute; top: 1em; left: 0; }
#menu li:hover ul { display: block; background-color: #085706; margin-top: 6px; padding: 0px 0px 10px 10px; }
#menu li:hover ul { display: block; background-color: #085706; margin-top: 6px; padding: 0px 0px 10px 10px; }

Revision as of 00:14, 29 September 2012