Template:Nevada Header CSS
From 2011.igem.org
m |
m |
||
(38 intermediate revisions not shown) | |||
Line 6: | Line 6: | ||
body { | body { | ||
background-image: url(https://static.igem.org/mediawiki/2011/1/12/UNR_Background1.JPG); | background-image: url(https://static.igem.org/mediawiki/2011/1/12/UNR_Background1.JPG); | ||
- | background-repeat: | + | background-repeat: repeat; |
- | background-position: | + | background-position: 90% 75%; |
} | } | ||
Line 14: | Line 14: | ||
top: 0px; | top: 0px; | ||
left: 0px; | left: 0px; | ||
- | height: | + | height: 210px; |
width: 955px; | width: 955px; | ||
display: block; | display: block; | ||
Line 34: | Line 34: | ||
top: 0px; | top: 0px; | ||
left: -2px; | left: -2px; | ||
- | height: | + | height: 210px; |
width: 957px; | width: 957px; | ||
display: block; | display: block; | ||
Line 116: | Line 116: | ||
top: 20px; | top: 20px; | ||
left: 25px; | left: 25px; | ||
- | height: | + | height: 35px; |
width: 900px; | width: 900px; | ||
+ | cursor: pointer; | ||
text-align: center; | text-align: center; | ||
background-color: rgba(0,51,0,0.8); | background-color: rgba(0,51,0,0.8); | ||
Line 141: | Line 142: | ||
color: #C20074; | color: #C20074; | ||
font-family: "Times New Roman"; | font-family: "Times New Roman"; | ||
- | font-size: | + | font-size: 22px; |
font-weight: bold; | font-weight: bold; | ||
- | line-height: | + | line-height: 35px; |
text-align: center; | text-align: center; | ||
} | } | ||
Line 149: | Line 150: | ||
#banner-buttons a{ | #banner-buttons a{ | ||
color: #C20074; | color: #C20074; | ||
+ | //color: #FF3DB1; | ||
} | } | ||
- | + | /* Navigation */ | |
- | + | ul { | |
- | + | list-style: none; | |
- | top: | + | padding-top: -1px; |
- | left: - | + | margin-top: -1px; |
- | + | } | |
- | + | ul.top-level li{ | |
- | + | float: left; | |
- | border-left: | + | text-decoration: none; |
- | border-right: rgba(0, | + | } |
- | + | ||
- | /* | + | ul.sub-level { |
- | + | display: none; | |
- | + | } | |
- | + | li:hover{ | |
- | + | position: relative; | |
+ | } | ||
+ | |||
+ | li:hover .sub-level { | ||
+ | //background: #C20074; | ||
+ | background: #FF3DB1; | ||
+ | border: #000 solid; | ||
+ | border-width: 3px; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | left: -20px; | ||
+ | top: 33px; | ||
+ | padding-left: 5px; | ||
+ | text-align: left; | ||
+ | /* Border Styling */ | ||
+ | -moz-border-radius-topright: 15px; | ||
+ | -moz-border-radius-topleft: 0px; | ||
+ | -webkit-border-top-right-radius: 15px; | ||
+ | -webkit-border-top-left-radius: 0px; | ||
+ | border-top-right-radius: 15px; | ||
+ | border-top-left-radius: 0px; | ||
+ | -moz-border-radius-bottomright: 15px; | ||
+ | -moz-border-radius-bottomleft: 0px; | ||
+ | -webkit-border-bottom-right-radius: 15px; | ||
+ | -webkit-border-bottom-left-radius: 0px; | ||
+ | border-bottom-right-radius: 15px; | ||
+ | border-bottom-left-radius: 0px; | ||
+ | } | ||
+ | ul.sub-level li { | ||
+ | border: none; | ||
+ | float: left; | ||
+ | width: 175px; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | |||
+ | ul.sub-level a{ | ||
+ | color: rgba(0,51,0,1) !important; | ||
+ | } | ||
+ | |||
+ | ul.sub-level a:hover, ul.sub-level li:hover{ | ||
+ | background: rgba(0,51,0,1) !important; | ||
+ | color: #C20074 !important; | ||
+ | /* Border Styling */ | ||
+ | -moz-border-radius-topright: 15px; | ||
+ | -moz-border-radius-topleft: 0px; | ||
+ | -webkit-border-top-right-radius: 15px; | ||
+ | -webkit-border-top-left-radius: 0px; | ||
+ | border-top-right-radius: 15px; | ||
+ | border-top-left-radius: 0px; | ||
+ | -moz-border-radius-bottomright: 15px; | ||
+ | -moz-border-radius-bottomleft: 0px; | ||
+ | -webkit-border-bottom-right-radius: 15px; | ||
+ | -webkit-border-bottom-left-radius: 0px; | ||
+ | border-bottom-right-radius: 15px; | ||
+ | border-bottom-left-radius: 0px; | ||
} | } | ||
/* Navigation */ | /* Navigation */ | ||
- | ul | + | |
- | + | ul.sub-level2 { | |
- | + | display: none; | |
- | + | ||
} | } | ||
- | + | li:hover .sub-level2 { | |
- | + | //background: #C20074; | |
+ | background: #FF3DB1; | ||
+ | border: #000 solid; | ||
+ | border-width: 3px; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | left: -20px; | ||
+ | top: 33px; | ||
+ | padding-left: 5px; | ||
+ | text-align: left; | ||
+ | /* Border Styling */ | ||
+ | -moz-border-radius-topright: 15px; | ||
+ | -moz-border-radius-topleft: 0px; | ||
+ | -webkit-border-top-right-radius: 15px; | ||
+ | -webkit-border-top-left-radius: 0px; | ||
+ | border-top-right-radius: 15px; | ||
+ | border-top-left-radius: 0px; | ||
+ | -moz-border-radius-bottomright: 15px; | ||
+ | -moz-border-radius-bottomleft: 0px; | ||
+ | -webkit-border-bottom-right-radius: 15px; | ||
+ | -webkit-border-bottom-left-radius: 0px; | ||
+ | border-bottom-right-radius: 15px; | ||
+ | border-bottom-left-radius: 0px; | ||
+ | } | ||
+ | ul.sub-level2 li { | ||
+ | border: none; | ||
+ | float: left; | ||
+ | width: 225px; | ||
+ | cursor: pointer; | ||
} | } | ||
- | ul | + | |
- | + | ul.sub-level2 a{ | |
- | + | color: rgba(0,51,0,1) !important; | |
} | } | ||
- | + | ul.sub-level2 a:hover, ul.sub-level2 li:hover{ | |
- | + | background: rgba(0,51,0,1) !important; | |
- | + | color: #C20074 !important; | |
- | + | /* Border Styling */ | |
- | top: 0px; | + | -moz-border-radius-topright: 15px; |
- | left: 0px; | + | -moz-border-radius-topleft: 0px; |
- | + | -webkit-border-top-right-radius: 15px; | |
- | + | -webkit-border-top-left-radius: 0px; | |
- | + | border-top-right-radius: 15px; | |
- | + | border-top-left-radius: 0px; | |
+ | -moz-border-radius-bottomright: 15px; | ||
+ | -moz-border-radius-bottomleft: 0px; | ||
+ | -webkit-border-bottom-right-radius: 15px; | ||
+ | -webkit-border-bottom-left-radius: 0px; | ||
+ | border-bottom-right-radius: 15px; | ||
+ | border-bottom-left-radius: 0px; | ||
} | } | ||
- | + | /* Links for Notebook */ | |
- | + | ul.sub-level3 { | |
+ | display: none; | ||
} | } | ||
- | + | li:hover .sub-level3 { | |
- | + | //background: #C20074; | |
- | + | background: #FF3DB1; | |
- | + | border: #000 solid; | |
- | + | border-width: 3px; | |
- | + | display: block; | |
+ | position: absolute; | ||
+ | left: -20px; | ||
+ | top: 33px; | ||
+ | padding-left: 5px; | ||
+ | text-align: left; | ||
+ | /* Border Styling */ | ||
+ | -moz-border-radius-topright: 15px; | ||
+ | -moz-border-radius-topleft: 0px; | ||
+ | -webkit-border-top-right-radius: 15px; | ||
+ | -webkit-border-top-left-radius: 0px; | ||
+ | border-top-right-radius: 15px; | ||
+ | border-top-left-radius: 0px; | ||
+ | -moz-border-radius-bottomright: 15px; | ||
+ | -moz-border-radius-bottomleft: 0px; | ||
+ | -webkit-border-bottom-right-radius: 15px; | ||
+ | -webkit-border-bottom-left-radius: 0px; | ||
+ | border-bottom-right-radius: 15px; | ||
+ | border-bottom-left-radius: 0px; | ||
} | } | ||
+ | ul.sub-level3 li { | ||
+ | border: none; | ||
+ | float: left; | ||
+ | width: 125px; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | |||
+ | ul.sub-level3 a{ | ||
+ | color: rgba(0,51,0,1) !important; | ||
+ | } | ||
+ | |||
+ | ul.sub-level3 a:hover, ul.sub-level3 li:hover{ | ||
+ | background: rgba(0,51,0,1) !important; | ||
+ | color: #C20074 !important; | ||
+ | /* Border Styling */ | ||
+ | -moz-border-radius-topright: 15px; | ||
+ | -moz-border-radius-topleft: 0px; | ||
+ | -webkit-border-top-right-radius: 15px; | ||
+ | -webkit-border-top-left-radius: 0px; | ||
+ | border-top-right-radius: 15px; | ||
+ | border-top-left-radius: 0px; | ||
+ | -moz-border-radius-bottomright: 15px; | ||
+ | -moz-border-radius-bottomleft: 0px; | ||
+ | -webkit-border-bottom-right-radius: 15px; | ||
+ | -webkit-border-bottom-left-radius: 0px; | ||
+ | border-bottom-right-radius: 15px; | ||
+ | border-bottom-left-radius: 0px; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
Line 229: | Line 368: | ||
</div> | </div> | ||
<div id="banner-buttons" class="buttons-text"> | <div id="banner-buttons" class="buttons-text"> | ||
- | <ul | + | <ul class="top-level"> |
<li> | <li> | ||
<a href="/Team:Nevada">Home</a> | <a href="/Team:Nevada">Home</a> | ||
Line 235: | Line 374: | ||
<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"> | + | <li><a href="/Team:Nevada/Team">Nevada's Team</a></li><br> |
- | <li><a href="/Team:Nevada/ | + | <li><a href="/Team:Nevada/gallery">Gallery</a></li> |
- | </ul></li> | + | </ul> |
+ | </li> | ||
<li> | <li> | ||
| <a href="/Team:Nevada/Project">Project</a> | | <a href="/Team:Nevada/Project">Project</a> | ||
+ | <ul class="sub-level2"> | ||
+ | <li><a href="/Team:Nevada/Project/Background">Introduction</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Project/Ecoli">E. coli Project</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Project/Cyano">Cyanobacteria Project</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Project/Assay">Assay Development</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Project/Co-Cult">Co-Cultivation</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Project/Results">Results Summary</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Reference">References</a></li><br> | ||
+ | </ul> | ||
</li> | </li> | ||
<li> | <li> | ||
Line 247: | Line 396: | ||
<li> | <li> | ||
| <a href="/Team:Nevada/Notebook/Weeks14">Notebook</a> | | <a href="/Team:Nevada/Notebook/Weeks14">Notebook</a> | ||
+ | <ul class="sub-level3"> | ||
+ | <li><a href="/Team:Nevada/Notebook/Weeks14">Weeks 1-4</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Notebook/Weeks58">Weeks 5-8</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Notebook/Weeks912">Weeks 9-12</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Notebook/Weeks1316">Weeks 13-16</a></li> | ||
+ | </ul> | ||
</li> | </li> | ||
<li> | <li> | ||
- | | <a href=" | + | | <a href="">Human Practices</a> |
- | </li> | + | <ul class="sub-level2"> |
- | <li> | + | <li><a href="/Team:Nevada/iGEMcollaborators">iGEM Collaborators</a></li> |
- | + | <li><a href="/Team:Nevada/Outreach">Outreach</a></li><br> | |
+ | <li><a href="/Team:Nevada/Contributions">Contributions</a></li><br> | ||
+ | <li><a href="/Team:Nevada/Fundraising">Fundraising</a></li> | ||
+ | </ul> | ||
</li> | </li> | ||
<li> | <li> | ||
| <a href="/Team:Nevada/Safety">Safety</a> | | <a href="/Team:Nevada/Safety">Safety</a> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</li></ul> | </li></ul> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> <!-- Closing of all content in header --> | </div> <!-- Closing of all content in header --> | ||
- | |||
- | |||
</html> | </html> |
Latest revision as of 02:27, 29 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 */