Difference between revisions of "Template:Team:Harvard BioDesign/CSS"

 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
<style type="text/css">
 
  
/*Removes Wiki default template*/
+
    <script type="text/javascript">
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
+
        document.styleSheets[0].disabled = true;
    display:none;}
+
    </script>
#top-section {
+
  border: none;
+
    height: 0px;}
+
#content {
+
    border: none;}
+
  
 +
    <!--remove unwanted p tags-->
 +
    <!-- Remove all empty <p> tags -->
 +
    <script type="text/javascript">
 +
        $(document).ready(function() {
 +
            $("p").filter( function() {
 +
            return $.trim($(this).html()) == '';
 +
            }).remove()
 +
        });
 +
    </script>
  
/* Change Background color*/
+
    <!--Fix for internet explorer-->
body {
+
    <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
background-color: #99ccff;
+
    <!--[if lt IE 9]>
}
+
    <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
 +
    <![endif]-->
  
 +
    <style type="text/css">
  
/*remove unwanted p tags*/
+
    /* Resizes the menubar to fit the links (default is 400px) */
<!-- Remove all empty <p> tags -->
+
    #top_menu_14 {
<script type="text/javascript">
+
position: fixed;
    $(document).ready(function() {
+
width: 100%;
        $("p").filter( function() {
+
top: 0px;
            return $.trim($(this).html()) == '';
+
left: 0px;
        }).remove()
+
height: 16px;
    });
+
background-color: transparent;
</script>
+
color: transparent;
 +
border-bottom: none;
 +
z-index: 9999;
 +
}
  
 +
#top_menu_14:hover {
 +
position: fixed;
 +
width: 100%;
 +
top: 0px;
 +
left: 0px;
 +
height: 16px;
 +
background-color: #383838;
 +
z-index: 9999;
 +
}
  
/* Resizes the menubar to fit the links (default is 400px) */
+
#top_menu_inside {
#top_menu_14 {
+
display: block;
  position: fixed;
+
  height: 100%;
  width: 100%;
+
  margin: 0px auto;
  top: 0px;
+
padding: 0 10px;
  left: 0px;
+
border: none;
  height: 16px;
+
font-family: 'helvetica', sans-serif;
  background-color: transparent;
+
            color: transparent;
  color: transparent;
+
            opacity: 0;
  border-bottom: none;
+
font-size: 12px;
  z-index: 9999;
+
font-weight: 400;
}
+
}
  
#top_menu_14:hover {
+
#top_menu_under{
  position: fixed;
+
border: none;
  width: 100%;
+
}
  top: 0px;
+
  left: 0px;
+
  height: 16px;
+
  background-color: #383838;
+
  border-bottom: 2px solid black;
+
  z-index: 9999;
+
}
+
  
#top_menu_inside {
+
#top_menu_inside:hover {
  display: block;
+
display: block;
  position: relative;
+
height: 100%;
  width: auto;
+
margin: 0px auto;
  height: 100%;
+
padding: 0 10px;
  margin: 0px auto;
+
  font-family: 'helvetica', sans-serif;
  padding: 0 10px;
+
font-size: 12px;
  border-left: none;
+
            opacity: 1;
  border-right: none;
+
font-weight: 400;
  font-family: 'helvetica', sans-serif;
+
}
  font-size: 12px;
+
  font-weight: 400;
+
  color: #ffffff;
+
}
+
  
 +
/* Change Background color*/
 +
body {
 +
background-color: #77DD77;
 +
height:100%
 +
    padding-bottom: 100px;
 +
}
  
#top_menu_inside:hover {
+
/*Removes Wiki default template*/
  display: block;
+
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo, .printfooter {
  position: relative;
+
    display:none;
  width: auto;
+
    }
  height: 100%;
+
#top-section {
  margin: 0px auto;
+
  border: none;
  padding: 0 10px;
+
    height: 0px;
  border-left: 1px solid #c8c8c8;
+
    }
  border-right: 1px solid #c8c8c8;
+
#content {
  font-family: 'helvetica', sans-serif;
+
    border: none;
  font-size: 12px;
+
            padding-bottom: 75px;
  font-weight: 400;
+
      padding-left:20px;
  color: #ffffff;
+
      padding-right:20px;
}*/
+
  
 +
    }
 +
#bodyContent {
 +
    border: none;
 +
      padding-left:20px;
 +
      padding-right:20px;
 +
      padding-top:50px;
 +
    }
 +
    #holder{
 +
    min-height: 100%;
 +
                        width:100%;
 +
        position:relative;
 +
    }
 +
html{
 +
    height:100%
 +
    }
  
  
/*Fix for internet explorer*/
 
<!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
 
<!--[if lt IE 9]>
 
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
 
<![endif]-->
 
 
 
</style>
+
    </style>
 +
 
 +
    <div id="holder">
 +
        <body></body>
 +
 
 +
    </div
 +
 
 +
 
 
</html>
 
</html>

Latest revision as of 16:47, 6 July 2015