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

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

Latest revision as of 16:47, 6 July 2015