Template:Purdue topbar2

From 2012.igem.org

(Difference between revisions)
Line 5: Line 5:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
-
<style>
+
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
     display:none;}
     display:none;}
Line 143: Line 143:
<div class='cssmenu' z-index:5000>
<div class='cssmenu' z-index:5000>
<ul>
<ul>
-
   <li><a href='https://2012.igem.org/Team:Purdue2'><span>Home</span></a></li>
+
   <li><a href='https://2012.igem.org/Team:Purdue'><span>Home</span></a></li>
   <li><a href='#'><span>Team</span></a>
   <li><a href='#'><span>Team</span></a>
       <ul>
       <ul>
Line 175: Line 175:
   </li>
   </li>
   <li><a href='https://2012.igem.org/Team:Purdue/Safety'><span>Safety</span></a></li>
   <li><a href='https://2012.igem.org/Team:Purdue/Safety'><span>Safety</span></a></li>
-
    
+
   <li><a href='https://2012.igem.org/Team:Purdue/Biomaker_Bench'><span>Biomaker Bench</span></a>
</ul>
</ul>
</div>
</div>
Line 188: Line 188:
<style>
<style>
   body {   
   body {   
-
width: 100%;
+
    font-family: 'Belleza', Arial, sans-serif;
-
background-image: url('https://static.igem.org/mediawiki/2012/b/bb/PurdueBackground.png');
+
-
background-attachment: fixed;
+
-
background-repeat: no-repeat;
+
-
background-position: 50% 50%;
+
-
background-color: white;
+
-
font-family: 'Belleza', Arial, sans-serif;
+
     font-size: 75%;
     font-size: 75%;
-
padding: 5px 0px 0px;
 
-
}
 
-
 
   }
   }
   h1 {
   h1 {
Line 223: Line 214:
 +
BODY {
 +
width: 100%;
 +
background-image: url('/nknimh6/L5el9cc5e/trying.jpg');
 +
background-attachment: fixed;
 +
background-repeat: no-repeat;
 +
background-position: 50% 50%;
 +
 +
padding: 5px 0px 0px;
 +
}
</html>
</html>

Revision as of 20:04, 18 July 2012

#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { display:none;} #top-section { border: none; height: 0px;} #content { border: none;} /* Removes "teams" from the menubar */ #menubar > ul > li:last-child { display: none;} /* Resizes the menubar to fik the links (default is 400px) */ #menubar { width: auto;} body { margin: 10px 0 0 0; padding: 5;} #top-section { width: 965px; height: 0; margin: 0 auto; padding: 0; border: none;} #menubar { font-size: 65%; top: -14 px;} .left-menu:hover { background-color: transparent;} #menubar li a { background-color: transparent;} #menubar:hover { color: white;} #menubar li a { color: transparent;} #menubar:hover li a { color: white;} img { opacity:1.0; filter:alpha(opacity=100); } img:hover { opacity:1.0; filter:alpha(opacity=100); } .cssmenu{ border:none; border:0px; margin:0px; padding:0px; font: 67.5% 'Lucida Sans Unicode', 'Bitstream Vera Sans', 'Trebuchet Unicode MS', 'Lucida Grande', Verdana, Helvetica, sans-serif; font-size:14px; font-weight:bold; } .cssmenu ul{ background:#333333; height:35px; list-style:none; margin:0; padding:0; } .cssmenu li{ float:left; padding: 0px; } .cssmenu li a{ background:#333333 url('https://static.igem.org/mediawiki/2012/3/3f/Seperator.gif') bottom right no-repeat; color:#cccccc; display:block; font-weight:normal; line-height:35px; margin:0px; padding:0px 25px; text-align:center; text-decoration:none; } .cssmenu li a:hover, .cssmenu ul li:hover a{ background: #2580a2 url('https://static.igem.org/mediawiki/2012/e/e6/Hover.gif') bottom center no-repeat; color:#FFFFFF; text-decoration:none; } .cssmenu li ul{ background:#333333; display:none; height:auto; padding:0px; margin:0px; border:0px; position:absolute; width:225px; z-index:200; /*top:1em; /*left:0;*/ } .cssmenu li:hover ul{ display:block; } .cssmenu li li { background:url('https://static.igem.org/mediawiki/2012/3/3f/Sub_sep.gif') bottom left no-repeat; display:block; float:none; margin:0px; padding:0px; width:225px; } .cssmenu li:hover li a{ background:none; } .cssmenu li ul a{ display:block; height:35px; font-size:12px; font-style:normal; margin:0px; padding:0px 10px 0px 15px; text-align:left; } .cssmenu li ul a:hover, .cssmenu li ul li:hover a{ background:#2580a2 url('https://static.igem.org/mediawiki/2012/a/a8/Hover_sub.gif') center left no-repeat; border:0px; color:#ffffff; text-decoration:none; } .cssmenu p{ clear:left; }

BODY { width: 100%; background-image: url('/nknimh6/L5el9cc5e/trying.jpg'); background-attachment: fixed; background-repeat: no-repeat; background-position: 50% 50%; padding: 5px 0px 0px; }