Template:Team:UC Davis/Head

From 2013.igem.org

(Difference between revisions)
Line 51: Line 51:
display: block;
display: block;
width: 164.65px; /* 198 */
width: 164.65px; /* 198 */
-
padding: 11px 0px;
+
        padding: 15px 0px;
border-right: 1px dotted #393939;
border-right: 1px dotted #393939;
border-left: 1px dotted #595959;
border-left: 1px dotted #595959;
Line 82: Line 82:
}
}
-
/* The pointer arrow */
 
-
.arrow {
 
-
    cursor: pointer;
 
-
    height: 0px;
 
-
    border: 3px solid transparent;
 
-
    border-bottom-color: #fff;
 
-
    left: 80px;
 
-
    position: absolute;
 
-
    bottom: 0px;
 
-
    width: 0;
 
-
    z-index: 5;
 
-
    -moz-transition: all .3s ease;
 
-
    -ms-transition: all .3s ease;
 
-
    -o-transition: all .3s ease;
 
-
    -webkit-transition: all .3s ease;
 
-
    transition: all .3s ease;
 
-
}
 
.arrow:hover {
.arrow:hover {
Line 109: Line 92:
}
}
-
.nav li:nth-child(1):hover ~ .arrow, .nav .active:nth-child(1) ~ .arrow {
 
-
    left: 80px;
 
-
}
 
-
 
-
.nav li:nth-child(2):hover ~ .arrow, .nav .active:nth-child(1) ~ .arrow {
 
-
    left: 247px;
 
-
}
 
-
.nav li:nth-child(3):hover ~ .arrow, .nav .active:nth-child(2) ~ .arrow {
 
-
    left: 414px;
 
-
}
 
-
.nav li:nth-child(4):hover ~ .arrow, .nav .active:nth-child(3) ~ .arrow {
 
-
    left: 580px;
 
-
}
 
-
.nav li:nth-child(5):hover ~ .arrow, .nav .active:nth-child(4) ~ .arrow {
 
-
    left: 747px;
 
-
}
 
-
.nav li:nth-child(6):hover ~ .arrow, .nav .active:nth-child(5) ~ .arrow {
 
-
    left: 914px;
 
-
}
 
/* General styling for the submenus */
/* General styling for the submenus */

Revision as of 18:01, 8 August 2013

Our Sponsors