Team:Minnesota/Templates/removestyle
From 2014.igem.org
(Difference between revisions)
(15 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
<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 { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #top-section { | ||
+ | border: none; | ||
+ | height: 0px; | ||
+ | } | ||
+ | |||
+ | #content { | ||
+ | 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; | ||
+ | } | ||
+ | |||
+ | |||
+ | #menubar > ul > li:last-child { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #menubar { //resizes menu bar | ||
+ | width: auto; | ||
+ | } | ||
+ | |||
+ | /*hacks menubar links to do cool things*/ | ||
+ | #menubar a:link {color:transparent;} | ||
+ | #menubar a:visited {color:transparent;} | ||
+ | #menubar a:hover {color:black;} | ||
+ | #menubar a:active {color:gray;} | ||
+ | |||
+ | |||
+ | #top-section { /*section with the buttons and search bar - might be bad to remove*/ | ||
+ | border: 0px transparent solid; | ||
+ | position:absolute; | ||
+ | left:140px; | ||
+ | /*display:none;*/ | ||
+ | } | ||
+ | |||
+ | #menubar { /*main menubar settings*/ | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | #menubar ul li a { /*menubar subcategory items*/ | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | .right-menu li a { | ||
+ | color: black; | ||
+ | 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 { | #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | ||
Line 15: | Line 80: | ||
border: none; | border: none; | ||
height: 0px;} | height: 0px;} | ||
+ | |||
#content { | #content { | ||
+ | width: 100%; | ||
border: none;} | border: none;} | ||
Line 25: | Line 92: | ||
width: auto;} | 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