Team:ETH Zurich/Templates/HeaderNew
From 2011.igem.org
(Difference between revisions)
Line 386: | Line 386: | ||
/* ------------------------------- */ | /* ------------------------------- */ | ||
- | # | + | #naviPlaceholder, #naviBox |
{ | { | ||
height: 32px; | height: 32px; | ||
width: 100%; | width: 100%; | ||
} | } | ||
- | + | #navi | |
{ | { | ||
z-index: 1; | z-index: 1; | ||
- | box-shadow: 0 3px 10px rgba(0, 0, 0, 0. | + | box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5); |
- | -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0. | + | -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5); /* for the Safari browser */ |
- | + | ||
border-bottom-left-radius: 15px; | border-bottom-left-radius: 15px; | ||
border-bottom-right-radius: 15px; | border-bottom-right-radius: 15px; | ||
- | |||
} | } | ||
.stickToTop | .stickToTop | ||
Line 408: | Line 406: | ||
</html> {{{css|}}} <html> | </html> {{{css|}}} <html> | ||
+ | |||
+ | |||
</style> | </style> | ||
- | <div id=" | + | <div id="naviPlaceholder"> </div> |
- | <div class=" | + | |
+ | <div id="naviBox" class="stickToTop"> | ||
+ | <div style="float: left; position: relative; left: 50%;"> | ||
+ | <div id="navi" style="float: left; position: relative; left: -50%;"> | ||
<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> | ||
Line 478: | Line 481: | ||
</li> | </li> | ||
</ul> | </ul> | ||
- | |||
- | |||
</div> | </div> | ||
</div> | </div> | ||
+ | </div> | ||
+ | |||
<div id="preload"> | <div id="preload"> |