Difference between revisions of "Template:Team:Harvard BioDesign/CSS"
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | <script type="text/javascript"> | + | <script type="text/javascript"> |
− | document.styleSheets[0].disabled = true; | + | document.styleSheets[0].disabled = true; |
− | </script> | + | </script> |
− | <!--remove unwanted p tags--> | + | <!--remove unwanted p tags--> |
− | <!-- Remove all empty <p> tags --> | + | <!-- Remove all empty <p> tags --> |
− | <script type="text/javascript"> | + | <script type="text/javascript"> |
$(document).ready(function() { | $(document).ready(function() { | ||
− | + | $("p").filter( function() { | |
− | + | return $.trim($(this).html()) == ''; | |
− | + | }).remove() | |
− | + | }); | |
− | </script> | + | </script> |
− | <!--Fix for internet explorer--> | + | <!--Fix for internet explorer--> |
− | <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) --> | + | <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) --> |
− | <!--[if lt IE 9]> | + | <!--[if lt IE 9]> |
− | <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> | + | <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> |
− | <![endif]--> | + | <![endif]--> |
− | <style type="text/css"> | + | <style type="text/css"> |
− | /* Resizes the menubar to fit the links (default is 400px) */ | + | /* Resizes the menubar to fit the links (default is 400px) */ |
− | + | #top_menu_14 { | |
position: fixed; | position: fixed; | ||
width: 100%; | width: 100%; | ||
Line 51: | Line 51: | ||
margin: 0px auto; | margin: 0px auto; | ||
padding: 0 10px; | padding: 0 10px; | ||
− | border | + | border: none; |
− | + | ||
− | + | ||
font-family: 'helvetica', sans-serif; | font-family: 'helvetica', sans-serif; | ||
− | + | color: transparent; | |
− | + | opacity: 0; | |
font-size: 12px; | font-size: 12px; | ||
font-weight: 400; | font-weight: 400; | ||
} | } | ||
+ | #top_menu_under{ | ||
+ | border: none; | ||
+ | } | ||
#top_menu_inside:hover { | #top_menu_inside:hover { | ||
Line 69: | Line 70: | ||
font-family: 'helvetica', sans-serif; | font-family: 'helvetica', sans-serif; | ||
font-size: 12px; | font-size: 12px; | ||
− | + | opacity: 1; | |
font-weight: 400; | font-weight: 400; | ||
} | } | ||
Line 76: | Line 77: | ||
body { | body { | ||
background-color: #77DD77; | background-color: #77DD77; | ||
+ | height:100% | ||
+ | padding-bottom: 100px; | ||
} | } | ||
/*Removes Wiki default template*/ | /*Removes Wiki default template*/ | ||
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo, .printfooter { | #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo, .printfooter { | ||
− | + | display:none; | |
+ | } | ||
#top-section { | #top-section { | ||
− | + | border: none; | |
− | + | height: 0px; | |
+ | } | ||
#content { | #content { | ||
− | + | border: none; | |
− | + | padding-bottom: 75px; | |
padding-left:20px; | padding-left:20px; | ||
padding-right:20px; | padding-right:20px; | ||
Line 92: | Line 97: | ||
} | } | ||
#bodyContent { | #bodyContent { | ||
− | + | border: none; | |
padding-left:20px; | padding-left:20px; | ||
padding-right:20px; | padding-right:20px; | ||
padding-top:50px; | padding-top:50px; | ||
} | } | ||
+ | #holder{ | ||
+ | min-height: 100%; | ||
+ | width:100%; | ||
+ | position:relative; | ||
+ | } | ||
+ | html{ | ||
+ | height:100% | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | <div id="holder"> | ||
+ | <body></body> | ||
+ | |||
+ | </div | ||
− | |||
− | |||
</html> | </html> |
Latest revision as of 16:47, 6 July 2015