Template:Nevada Header CSS
From 2011.igem.org
m |
m |
||
Line 170: | Line 170: | ||
/* Navigation */ | /* Navigation */ | ||
- | + | #nav ul{ | |
- | + | margin: 0px; | |
- | + | padding: 0px; | |
- | + | ||
- | + | ||
} | } | ||
- | + | #nav li{ | |
- | + | list-style: none; | |
} | } | ||
- | ul | + | ul.top-level{ |
- | + | background: transparent; | |
- | + | } | |
+ | ul.top-level li{ | ||
+ | border-bottom: #fff solid; | ||
+ | border-top: #fff solid; | ||
+ | border-width: 1px; | ||
} | } | ||
- | + | ul.sub-level { | |
- | display: | + | display: none; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | #nav | + | |
+ | #nav a{ | ||
color: rgba(0,51,0,1); | color: rgba(0,51,0,1); | ||
+ | cursor: pointer; | ||
+ | display: block; | ||
+ | height: 25px; | ||
+ | line-height: 25px; | ||
+ | text-decoration: none; | ||
} | } | ||
- | #nav li:hover | + | #nav a:hover{ |
- | + | text-decoration: underline; | |
+ | } | ||
+ | |||
+ | #nav li:hover{ | ||
+ | background: #C20074; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #nav li ul a, #nav li ul a:link{ | ||
background: #C20074; | background: #C20074; | ||
- | |||
color: rgba(0,51,0,1); | color: rgba(0,51,0,1); | ||
- | |||
} | } | ||
Line 230: | Line 236: | ||
</div> | </div> | ||
<div id="banner-buttons" class="buttons-text"> | <div id="banner-buttons" class="buttons-text"> | ||
- | < | + | <div id="nav"> |
+ | <ul class="top-level"> | ||
<li> | <li> | ||
<a href="/Team:Nevada">Home</a> | <a href="/Team:Nevada">Home</a> | ||
Line 236: | Line 243: | ||
<li> | <li> | ||
| <a href="/Team:Nevada/Team">Team</a> | | <a href="/Team:Nevada/Team">Team</a> | ||
- | <ul> | + | <ul class="sub-level"> |
- | <li><a href="/Team:Nevada/Team">Gallery</a></li> | + | <li><a href="/Team:Nevada/Team">Gallery</a></li> |
- | <li><a href="/Team:Nevada/Team">Biographies</a></li> | + | <li><a href="/Team:Nevada/Team">Biographies</a></li> |
- | </ul></li> | + | </ul> |
+ | </li> | ||
<li> | <li> | ||
| <a href="/Team:Nevada/Project">Project</a> | | <a href="/Team:Nevada/Project">Project</a> |
Revision as of 03:35, 5 September 2011
.firstHeading {
display: none;
}
/* Wiki Hacks - START */
/* Author: Pieter van Boheemen */
/* Team: TU Delft */
/* Thanks guys - Bill Collins */
/* +1 - Douglas Watson */
#globalWrapper {
background-color: transparent;
padding-bottom:0px;
border: none;
}
#content {
background-color: transparent;
border:none;
padding-bottom:none;
margin-bottom:none;
}
#bodyContent {
border: none;
}
#top-section {
height: 5px;
width: 100%;
margin-top: 0 px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0 !important;
/* margin-bottom: 10px; */
padding:0;
border: none;
background-color: rgba(0,0,0,0.1);
}
#p-logo {
height: 203px;
overflow:hidden;
border:none;
display: none;
}
#p-logo img {
display: none;
}
#search-controls {
display:none;
background: none;
position: absolute;
top: 140px;
right: 260px;
width: 240px;
}
.left-menu {
width: 400px;
display: block;
margin-top: 5px;
float: left;
margin-right: 20px;
border: none;
left: 20px;
}
.left-menu ul {
border: none;
height: 100%
}
.left-menu ul {
line-height: 2em;
}
#menubar.right-menu {
width:300px;
height: 100%;
display:block;
float:left;
margin-top: 5px;
padding-left:50px;
border: none;
right:50px;
}
.right-menu ul {
border: none;
}
.right-menu a {
background-color: transparent;
}
#menubar li a{
color: black;
background-color: transparent;
}
#menubar li a:hover {
color:white;
text-decoration:underline;
background-color: rgba(0,0,0,0.5);
}
#menubar li.selected a {
color:gray;
}
#catlinks {
display: none;
}
#footer-box {
position: relative;
top: 150px;
left: -5px;
background-color: transparent;
border: none;
width: 965px;
margin: 0 auto;
margin-bottom:none;
padding-left:5px;
padding-right:5px;
}
#footer {
border: none;
width: 965px;
margin: 0;
padding: 0;
background-color: transparent;
}
#f-list a {
color: black;
font-size: 10px;
}
#f-list a:hover {
color: #666;
}
#footer ul {
margin: 0;
padding: 0;
}
#footer ul li {
margin-top: 0;
margin-bottom: 0;
margin-left: 10px;
margin-right: 10px;
padding: 0;
}
/* Wiki Hacks - END */