Team:UANL Mty-Mexico/Templates:Main

From 2012.igem.org

(Difference between revisions)
Line 149: Line 149:
}
}
 +
ul.nav {
 +
list-style: none; /
 +
border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
 +
margin-bottom: 15px; /* this creates the space between the navigation on the content below */
 +
}
 +
ul.nav li {
 +
border-bottom: 1px solid #eaeaea; font-weight: 300; color: #9a9a9a;  /* this creates the button separation */
 +
}
 +
ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
 +
padding: 5px 5px 5px 15px;
 +
display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
 +
width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
 +
text-decoration: none;
 +
background: white;
 +
}
 +
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
 +
background: #eaeaea;
 +
color: black;
 +
}
/* ~~ The footer ~~ */
/* ~~ The footer ~~ */
Line 159: Line 178:
clear: both;
clear: both;
}
}
-
 
-
/* ~~ Drop down Navigation menu  ~~ */
 
#navbar {
#navbar {
 +
margin: 0;
margin: 0;
padding: 0;
padding: 0;
Line 204: Line 222:
background-color: #eaeaea; }
background-color: #eaeaea; }
-
 
/* expandable list CSS*/
/* expandable list CSS*/
expandable1{
expandable1{
Line 249: Line 266:
<!-- horizontal navigation menu -->
<!-- horizontal navigation menu -->
<body>
<body>
-
<div class="container">
 
<ul id="navbar">
<ul id="navbar">
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico">Home</a></li>
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico">Home</a></li>
-
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Team">Team</a><ul>
+
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Team">Team</a>
-
<li><a href="https://igem.org/Team.cgi?year=2012&team_name=UANL_Mty-Mexico">Profile</a></li></ul>
+
<ul><li><a href="https://igem.org/Team.cgi?year=2012&team_name=UANL_Mty-Mexico">Profile</a></li>
 +
</ul>
</li>
</li>
<li><a href="https://igem.org/Team.cgi?year=2012&team_name=UANL_Mty-Mexico">Profile</a></li>
<li><a href="https://igem.org/Team.cgi?year=2012&team_name=UANL_Mty-Mexico">Profile</a></li>
Line 264: Line 281:
<li><a id="long" href= "https://2012.igem.org/Team:UANL_Mty-Mexico/Attributions">Attributions</a></li>
<li><a id="long" href= "https://2012.igem.org/Team:UANL_Mty-Mexico/Attributions">Attributions</a></li>
</ul>
</ul>
-
 
</div>
</div>

Revision as of 02:09, 24 September 2012

iGEM UANL 2012