Team:ETH Zurich/Templates/HeaderNew

From 2011.igem.org

(Difference between revisions)
Line 156: Line 156:
ul.dropdown li {
ul.dropdown li {
padding: 5px 10px;
padding: 5px 10px;
-
background-color: #172322;
+
/* background-color: #172322; */
color: #fff;
color: #fff;
line-height: 22px;
line-height: 22px;
Line 164: Line 164:
ul.dropdown li.first {
ul.dropdown li.first {
padding-left: 15px;
padding-left: 15px;
-
background: transparent url(images/box1-bottom2.png) 0 100% no-repeat;
+
/* background: #172322;  transparent url(images/box1-bottom2.png) 0 100% no-repeat; */     
}
}
ul.dropdown li.last {
ul.dropdown li.last {
padding-right: 15px;
padding-right: 15px;
-
background: transparent url(images/box1-bottom2.png) 100% 100% no-repeat;
+
  /* background: transparent url(images/box1-bottom2.png) 100% 100% no-repeat; */
}
}
Line 186: Line 186:
ul.dropdown ul {
ul.dropdown ul {
-
left: -21px;
+
left: -5px;
width: 150px;
width: 150px;
-
padding: 0 16px;
+
padding: 0 0px;
-
background: url(images/box1-top.png) 50% 0 no-repeat;
+
        background: rgba(23, 35, 34, 0.5); /* url(images/box1-top.png) 50% 0 no-repeat; */
 +
border-bottom-left-radius: 15px;
 +
border-bottom-right-radius: 15px;
}
}
Line 206: Line 208:
ul.dropdown ul li.first {
ul.dropdown ul li.first {
padding-left: 0;
padding-left: 0;
-
background: #172322;
+
/* background: #172322; */
}
}
ul.dropdown ul li.last {
ul.dropdown ul li.last {
padding-bottom: 10px;
padding-bottom: 10px;
-
background: transparent url(images/box1-bottom.png) 50% 100% no-repeat;
+
                /* background: #172322;
 +
                border-bottom-left-radius: 15px;
 +
                border-bottom-right-radius: 15px;*/
 +
/* background: transparent url(images/box1-bottom.png) 50% 100% no-repeat; */
}
}
Line 410: Line 415:
<ul class="dropdown dropdown-horizontal">
<ul class="dropdown dropdown-horizontal">
   <li class="first"><a href="/Team:ETH_Zurich">Home</a></li>
   <li class="first"><a href="/Team:ETH_Zurich">Home</a></li>
-
   <li class="first"><a href="/Team:ETH_Zurich/Project" class="dir">Project <i>SmoColi</i></a>
+
   <li><a href="/Team:ETH_Zurich/Project" class="dir">Project <i>SmoColi</i></a>
   <ul>
   <ul>
       <li class="first"><a href="/Team:ETH_Zurich/Overview/Project">What is SmoColi?</a></li>
       <li class="first"><a href="/Team:ETH_Zurich/Overview/Project">What is SmoColi?</a></li>

Revision as of 13:07, 15 October 2011

Menu image preload Menu image preload Menu image preload Menu image preload Menu image preload Menu image preload