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 179: Line 160:
}
}
-
#navbar
+
/* ~~ Drop down Navigation menu  ~~ */
-
ul.navbar {
+
-
float:left;
+
-
width:100%;
+
-
padding:1px;
+
-
margin:0;
+
-
list-style-type:none;
+
-
margin-bottom: 15px;
+
-
}
+
-
ul.navbar a {
+
-
float:left;
+
-
text-align:left;
+
-
margin:auto;
+
-
width:5em;
+
-
text-decoration:none;
+
-
font-weight: 300;
+
-
font-family: Helvetica, Geneva, sans-serif;
+
-
color: black;
+
-
background-color:white;
+
-
border-bottom: thin #CCC solid;
+
-
border-top:thin #CCC solid;
+
-
margin-top:-10px;
+
-
padding:0.2em 0.6em;
+
-
}
+
-
ul.navbar a:hover {background-color:#eaeaea;}
+
-
ul.navbar li {display:inline;}
+
-
#long {
+
#navbar {
-
width:10em;
+
margin: 0;
-
}
+
padding: 0;
 +
height: 1em; }
 +
#navbar li {
 +
list-style: none;
 +
float: left; }
 +
#navbar li a {
 +
display: block;
 +
padding: 3px 8px;
 +
background-color: #fff;
 +
color: #000;
 +
font-weight: 100;
 +
font-family: Helvetica, Geneva, sans-serif;
 +
font-size:14px;
 +
width:5em;
 +
border-bottom: thin #CCC solid;
 +
border-top:thin #CCC solid;
 +
text-decoration: none; }
 +
#navbar a:hover {background-color:#eaeaea;}
-
.navbar {
+
#navbar li ul {
-
padding:0 0px;
+
display: none;
-
font-weight:100;
+
background-color: #fff;}
-
font-size:14px;
+
 
-
}
+
#navbar li:hover ul {
 +
display: block;
 +
position: absolute;
 +
border-bottom: thin #CCC solid;
 +
border-top:thin #CCC solid;
 +
margin: 0;
 +
padding: 0; }
 +
#navbar li:hover li {
 +
float: none; }
 +
#navbar li:hover li a {
 +
background-color:#fff;
 +
border-bottom: 1px solid #fff;
 +
color: #000; }
 +
#navbar li li a:hover {
 +
background-color: #eaeaea; }
 +
-
.navbar li {
 
-
text-align: center;
 
-
}
 
/* expandable list CSS*/
/* expandable list CSS*/
expandable1{
expandable1{
Line 265: Line 250:
<body>
<body>
<div class="container">
<div class="container">
-
<div id="nav">
+
 
-
<ul class="navbar">
+
<ul id="navbar">
-
<li><strong><a href="https://2012.igem.org/Team:UANL_Mty-Mexico">Home</a></strong></li>
+
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico">Home</a></li>
-
<li><strong><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Team">Team</a></strong></li>
+
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Team">Team</a><ul>
-
<li><strong><a href="https://igem.org/Team.cgi?year=2012&team_name=UANL_Mty-Mexico">Profile</a></strong></li>
+
<li><a href="https://igem.org/Team.cgi?year=2012&team_name=UANL_Mty-Mexico">Profile</a></li></ul>
-
<li><strong><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Project">Project</a></strong></li>
+
</li>
-
<li><strong><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Parts">Parts</a></strong></li>
+
<li><a href="https://igem.org/Team.cgi?year=2012&team_name=UANL_Mty-Mexico">Profile</a></li>
-
<li><strong><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Modeling_main">Modeling</a></strong></li>
+
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Project">Project</a></li>
-
<li><strong><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Notebook">Notebook</a></strong></li>
+
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Parts">Parts</a></li>
-
<li><strong><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Safety">Safety</a></strong></li>
+
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Modeling_main">Modeling</a></li>
-
<li><strong><a id="long" href= "https://2012.igem.org/Team:UANL_Mty-Mexico/Attributions">Attributions</a></strong></li>
+
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Notebook">Notebook</a></li>
 +
<li><a href="https://2012.igem.org/Team:UANL_Mty-Mexico/Safety">Safety</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:02, 24 September 2012

iGEM UANL 2012