Team:Minnesota/Templates/removestyle
From 2014.igem.org
(Difference between revisions)
(19 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
- | <title> | + | <title>remove style</title> |
<style type="text/css"> | <style type="text/css"> | ||
- | + | table { | |
- | + | font-size: 100%; | |
+ | background-color: transparent; | ||
+ | color: black; | ||
+ | } | ||
/*============the following section is hacking the original wiki template============*/ | /*============the following section is hacking the original wiki template============*/ | ||
- | + | <!-- | |
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | ||
display:none; | display:none; | ||
Line 19: | Line 22: | ||
#content { | #content { | ||
- | border: none; | + | position: relative; |
+ | width: 965px; | ||
+ | margin-left: 0px; | ||
+ | margin: 0 auto; | ||
+ | padding: 0 0 0 0; | ||
+ | color: black; | ||
+ | /* line-height: 1.5em; */ | ||
+ | z-index: 2; | ||
+ | border: none; | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
Line 57: | Line 68: | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
+ | |||
+ | --> | ||
/*============End original wiki mods============*/ | /*============End original wiki mods============*/ | ||
+ | |||
+ | /* remove style from https://2011.igem.org/Team:DTU-Denmark/How_to_customize_an_iGEM_wiki */ | ||
+ | |||
+ | #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | ||
+ | display:none;} | ||
+ | #top-section { | ||
+ | border: none; | ||
+ | height: 0px;} | ||
+ | |||
+ | #content { | ||
+ | width: 100%; | ||
+ | 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;} | ||
+ | |||
+ | |||
+ | |||
</style> | </style> | ||
+ | |||
+ | |||
+ | <!-- Remove all empty <p> tags --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $("p").filter( function() { | ||
+ | return $.trim($(this).html()) == ''; | ||
+ | }).remove() | ||
+ | }); | ||
+ | </script> | ||
</head> | </head> | ||
<body> | <body> |
Latest revision as of 19:32, 14 October 2014