Template:Nevada Header CSS

From 2011.igem.org

(Difference between revisions)
m
m
 
(13 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: no-repeat;
+
background-repeat: repeat;
-
background-position: 100% 85%;
+
background-position: 90% 75%;
}
}
Line 225: Line 225:
   border-bottom-left-radius: 0px;
   border-bottom-left-radius: 0px;
}
}
 +
 +
/* 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 259: Line 381:
<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">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>
         <li><a href="/Team:Nevada/Reference">References</a></li><br>
   </ul>
   </ul>
Line 267: Line 395:
</li>
</li>
<li>
<li>
-
|&nbsp;&nbsp;<a href="">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><br>
         <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><br>
Line 276: Line 404:
</li>
</li>
<li>
<li>
-
|&nbsp;&nbsp;<a href="#">Out Reach</a>&nbsp;&nbsp;
+
|&nbsp;&nbsp;<a href="">Human Practices</a>&nbsp;&nbsp;
-
     <ul class="sub-level">
+
     <ul class="sub-level2">
-
         <li><a href="/Team:Nevada/HumanPractices">Human Practices</a></li><br>
+
         <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>
         <li><a href="/Team:Nevada/Fundraising">Fundraising</a></li>
   </ul>
   </ul>

Latest revision as of 02:27, 29 September 2011