Team:Tokyo-NoKoGen/css

From 2010.igem.org

(Difference between revisions)
Line 134: Line 134:
text-decoration:none;
text-decoration:none;
height:30px;
height:30px;
-
width:7.5em;
+
width:5em;
list-style: none;
list-style: none;
Line 154: Line 154:
left:8px;      /* left-align our drop-down to the previous button border */
left:8px;      /* left-align our drop-down to the previous button border */
height:auto;      /* the drop-down height will be determiend by line count */
height:auto;      /* the drop-down height will be determiend by line count */
-
width:10em;
+
width:7.5em;
color:black;                        /* this sets the unselected-text color */
color:black;                        /* this sets the unselected-text color */
background:#ffffff;        /* this sets our menu's effective "border" color */
background:#ffffff;        /* this sets our menu's effective "border" color */
Line 168: Line 168:
.menu ul li:hover ul.skinny,
.menu ul li:hover ul.skinny,
.menu ul li a:hover ul.skinny {            /* 2nd level skinny drop-down box */
.menu ul li a:hover ul.skinny {            /* 2nd level skinny drop-down box */
-
width:8.08333em;  /* with a 12px default font, this is 97px width (97/12) */
+
width:97px;  /* with a 12px default font, this is 97px width (97/12) */
}
}
Line 189: Line 189:
color:#000000;              /* this sets the unselected drop-down text color */
color:#000000;              /* this sets the unselected drop-down text color */
background:#838d84;      /* this sets the drop-down menu background color */
background:#838d84;      /* this sets the drop-down menu background color */
-
width:10em;
+
width:7.5em;
}
}
Line 202: Line 202:
.menu ul li:hover ul.skinny li a:hover,
.menu ul li:hover ul.skinny li a:hover,
.menu ul li a:hover ul.skinny li a:hover {    /* 2nd level un+selected items */
.menu ul li a:hover ul.skinny li a:hover {    /* 2nd level un+selected items */
-
width:8.08333em;
+
width:97px;
}
}

Revision as of 17:39, 25 October 2010