Team:St Andrews/defaulttemplate

From 2010.igem.org

(Difference between revisions)
Line 165: Line 165:
 +
.menu ul{
 +
margin: 0; padding: 0;
 +
float: left;}
 +
.menu ul li{
 +
display: inline;}
 +
.menu ul li a{
 +
float: left; text-decoration: none;
 +
color: white;
 +
padding: 10.5px 11px;
 +
background-color: #333; }
 +
.menu ul li a:visited{
 +
color: white;}
-
#menu {
+
.menu ul li a:hover, .menu ul li .current{
-
border-bottom : 1px solid #ccc;
+
color: #fff;
-
margin : 0;
+
background-color:#0b75b2;}
-
padding-bottom : 19px;
+
-
padding-left : 10px;
+
-
}
+
-
#menu ul, #menu li {
 
-
display : inline;
 
-
list-style-type : none;
 
-
margin : 0;
 
-
padding : 0;
 
-
}
 
-
 
-
#menu a:link, #menu a:visited {
 
-
background : #E8EBF0;
 
-
border : 1px solid #ccc;
 
-
color : #666;
 
-
float : left;
 
-
font-size : small;
 
-
font-weight : normal;
 
-
line-height : 14px;
 
-
margin-right : 8px;
 
-
padding : 2px 10px 2px 10px;
 
-
text-decoration : none;
 
-
}
 
-
#menu a:link.active, #menu a:visited.active {
+
ul.dropdown li,
-
background : #fff;
+
ul.dropdown,
-
border-bottom : 1px solid #fff;
+
ul.dropdown ul {
-
color : #000;
+
padding: 0px 50px;
 +
list-style: none;
 +
margin: 0;
 +
padding: 0;
}
}
-
#menu a:hover {
+
 
-
color : #f00;
+
ul.dropdown li {
 +
float: middle;
 +
vertical-align: middle;
}
}
-
+
ul.dropdown li.hover,
-
body.section-1 #menu li#nav-1 a,
+
ul.dropdown li:hover {
-
body.section-2 #menu li#nav-2 a,
+
position: relative;
-
body.section-3 #menu li#nav-3 a,
+
cursor: default;
-
body.section-4 #menu li#nav-4 a {
+
-
background : #fff;
+
-
border-bottom : 1px solid #fff;
+
-
color : #000;
+
}
}
-
#menu #subnav-1,
+
ul.dropdown ul {
-
#menu #subnav-2,
+
margin:10;
-
#menu #subnav-3,
+
padding:10;
-
#menu #subnav-4 {
+
visibility: hidden;
-
display : none;
+
position: absolute;
-
width: 90%;
+
}
}
-
body.section-1 #menu ul#subnav-1,
+
ul.dropdown ul li {
-
body.section-2 #menu ul#subnav-2,
+
top: 100%;
-
body.section-3 #menu ul#subnav-3,
+
left: 0;
-
body.section-4 #menu ul#subnav-4 {
+
width: 100%;
-
display : inline;
+
float: none;
-
left : 10px;
+
-
position : absolute;
+
-
top : 95px;
+
}
}
-
body.section-1 #menu ul#subnav-1 a,
+
 
-
body.section-2 #menu ul#subnav-2 a,
+
 
-
body.section-3 #menu ul#subnav-3 a,
+
ul.dropdown li:hover > ul {
-
body.section-4 #menu ul#subnav-4 a {
+
visibility: visible;
-
background : #fff;
+
-
border : none;
+
-
border-left : 1px solid #ccc;
+
-
color : #999;
+
-
font-size : smaller;
+
-
font-weight : bold;
+
-
line-height : 10px;
+
-
margin-right : 4px;
+
-
padding : 2px 10px 2px 10px;
+
-
text-decoration : none;
+
}
}
-
#menu ul a:hover {
+
ul.dropdown li.rtl ul {
-
color : #f00 !important;
+
top: 100%;
 +
right: 0;
 +
left: auto;
}
}
-
#contents {
+
ul.dropdown {
-
background : #fff;
+
float:right;
-
border : 1px solid #ccc;
+
position:relative;
-
border-top : none;
+
right:50%;
-
clear : both;
+
-
margin : 0px;
+
-
padding : 15px;
+
}
}
 +
 +
ul.dropdown li {
 +
padding: 2px 4px;
 +
background-color: #FFFFFF;
 +
color: 000000;
 +
        float:left;
 +
        position:relative;
 +
        left:50%;
 +
}
 +
 +
 +
 +
 +
ul.dropdown ul {
 +
color: #00539B;
 +
        font-weight: normal;
 +
        right: auto;
 +
}
 +
 +
ul.dropdown ul li {
 +
  background-color: #FFFFFF;
 +
          left: auto;
 +
}
 +
 +
ul.dropdown ul li:hover {
 +
  color: #FFFFFF;
 +
          background-color: #00539B;
 +
}
 +
 +
 +
 +
 +

Revision as of 19:56, 27 October 2010


St Andrews from East Sands

University of St Andrews iGEM 2010

Welcome!

The Saints

University of St Andrews iGEM 2010

Our first year at iGEM!