Template:Nevada Header2 CSS

From 2011.igem.org

(Difference between revisions)
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>
|&nbsp;&nbsp;<a href="/Team:Nevada/Project">Project</a>&nbsp;&nbsp;
|&nbsp;&nbsp;<a href="/Team:Nevada/Project">Project</a>&nbsp;&nbsp;
-
     <ul class="sub-level">
+
     <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>
|&nbsp;&nbsp;<a href="/Team:Nevada/Notebook/Weeks14">Notebook</a>&nbsp;&nbsp;
|&nbsp;&nbsp;<a href="/Team:Nevada/Notebook/Weeks14">Notebook</a>&nbsp;&nbsp;
-
     <ul class="sub-level">
+
     <ul class="sub-level3">
-
         <li><a href="/Team:Nevada/Notebook/Weeks14">Weeks 1-4</a></li><br>
+
         <li><a href="/Team:Nevada/Notebook/Weeks14">Weeks 1-4</a></li>
-
         <li><a href="/Team:Nevada/Notebook/Weeks58">Weeks 5-8</a></li><br>
+
         <li><a href="/Team:Nevada/Notebook/Weeks58">Weeks 5-8</a></li>
-
         <li><a href="/Team:Nevada/Notebook/Weeks912">Weeks 9-12</a></li><br>
+
         <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>
|&nbsp;&nbsp;<a href="/Team:Nevada/HumanPractices">Human Practices</a>&nbsp;&nbsp;
|&nbsp;&nbsp;<a href="/Team:Nevada/HumanPractices">Human Practices</a>&nbsp;&nbsp;
-
     <ul class="sub-level">
+
     <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