Template:Nevada Header2 CSS
From 2011.igem.org
Strongtruong (Talk | contribs) |
|||
Line 226: | Line 226: | ||
border-bottom-left-radius: 0px; | border-bottom-left-radius: 0px; | ||
} | } | ||
+ | |||
+ | /* Links for Long Sublinks */ | ||
+ | |||
+ | /* Navigation */ | ||
+ | |||
+ | 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.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 */ | ||
+ | -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; | ||
+ | } | ||
+ | |||
+ | /* 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 260: | Line 385: | ||
<li> | <li> | ||
| <a href="/Team:Nevada/Project">Project</a> | | <a href="/Team:Nevada/Project">Project</a> | ||
- | <ul class="sub- | + | <ul class="sub-level2"> |
<li><a href="/Team:Nevada/Project/Background">Background</a></li><br> | <li><a href="/Team:Nevada/Project/Background">Background</a></li><br> | ||
<li><a href="/Team:Nevada/Project/Ecoli">E. coli Project</a></li><br> | <li><a href="/Team:Nevada/Project/Ecoli">E. coli Project</a></li><br> | ||
Line 275: | Line 400: | ||
<li> | <li> | ||
| <a href="/Team:Nevada/Notebook/Weeks14">Notebook</a> | | <a href="/Team:Nevada/Notebook/Weeks14">Notebook</a> | ||
- | <ul class="sub- | + | <ul class="sub-level3"> |
- | <li><a href="/Team:Nevada/Notebook/Weeks14">Weeks 1-4</a></li | + | <li><a href="/Team:Nevada/Notebook/Weeks14">Weeks 1-4</a></li> |
- | <li><a href="/Team:Nevada/Notebook/Weeks58">Weeks 5-8</a></li | + | <li><a href="/Team:Nevada/Notebook/Weeks58">Weeks 5-8</a></li> |
- | <li><a href="/Team:Nevada/Notebook/Weeks912">Weeks 9-12</a></li | + | <li><a href="/Team:Nevada/Notebook/Weeks912">Weeks 9-12</a></li> |
<li><a href="/Team:Nevada/Notebook/Weeks1316">Weeks 13-16</a></li> | <li><a href="/Team:Nevada/Notebook/Weeks1316">Weeks 13-16</a></li> | ||
</ul> | </ul> | ||
Line 284: | Line 409: | ||
<li> | <li> | ||
| <a href="/Team:Nevada/HumanPractices">Human Practices</a> | | <a href="/Team:Nevada/HumanPractices">Human Practices</a> | ||
- | <ul class="sub- | + | <ul class="sub-level2"> |
<li><a href="/Team:Nevada/iGEMcollaborators">iGEM Collaborators</a></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/Outreach">Outreach</a></li><br> |
Revision as of 02:23, 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 */
#lightbox{
position: absolute;
left: 0;
width: 100%;
z-index: 100;
text-align: center;
line-height: 0;
}
#lightbox img{
width: auto;
height: auto;
}
#lightbox a img{
border: none;
}
#outerImageContainer{
position: relative;
background-color: #fff;
width: 250px;
height: 250px;
margin: 0 auto;
}
#imageContainer{
padding: 10px;
}
#loading{
position: absolute;
top: 40%;
left: 0%;
height: 25%;
width: 100%;
text-align: center;
line-height: 0;
}
#hoverNav{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 10;
}
#imageContainer #hoverNav{
left: 0;
}
#hoverNav a{
outline: none;
}
#prevLink, #nextLink{
width: 49%;
height: 100%;
background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */
display: block;
}
#prevLink {
left: 0;
float: left;
}
#nextLink {
right: 0;
float: right;
}
#prevLink:hover, #prevLink:visited:hover {
background: url(https://static.igem.org/mediawiki/2011/9/93/UNR-LB-Prevlabel2.gif) left 15% no-repeat;
}
#nextLink:hover, #nextLink:visited:hover {
background: url(https://static.igem.org/mediawiki/2011/c/c3/UNR-LB-Nextlabel2.gif) right 15% no-repeat;
}
#imageDataContainer{
font: 10px Verdana, Helvetica, sans-serif;
background-color: #fff;
margin: 0 auto;
line-height: 1.4em;
overflow: auto;
width: 100%;
}
#imageData{
padding:0 10px;
color: #666;
}
#imageData #imageDetails{
width: 70%;
float: left;
text-align: left;
}
#imageData #caption{
font-weight: bold;
}
#imageData #numberDisplay{
display: block;
clear: left;
padding-bottom: 1.0em;
}
#imageData #bottomNavClose{
width: 66px;
float: right;
padding-bottom: 0.7em;
outline: none;
}
#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }