Difference between revisions of "Template:Toulouse"
Line 3: | Line 3: | ||
<!-- Declare that you are going to use html code instead of wiki code --> | <!-- Declare that you are going to use html code instead of wiki code --> | ||
<html> | <html> | ||
+ | /* Override some annoying default settings */ | ||
+ | #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | ||
+ | display:none;} | ||
+ | #top-section { | ||
+ | border: none; | ||
+ | height: 0px;} | ||
+ | #content { | ||
+ | border: none; | ||
+ | padding: 0px 0px 0px 0px; | ||
+ | } | ||
+ | #globalWrapper { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | #content { | ||
+ | width:100%; | ||
+ | } | ||
+ | |||
+ | h1, h2, h3, h4, h5, h6 { border-bottom: 0px transparent; | ||
+ | line-height: 0; | ||
+ | margin-bottom: none; | ||
+ | } | ||
+ | |||
+ | a:visited { | ||
+ | color: #18bc9c; | ||
+ | } | ||
+ | </style> | ||
+ | <!-- Remove empty <p> tags --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $("p").filter( function() { | ||
+ | return $.trim($(this).html()) == ''; | ||
+ | }).remove() | ||
+ | }); | ||
+ | </script> | ||
<!-- Start of CSS--> | <!-- Start of CSS--> | ||
<style type="text/css"> | <style type="text/css"> |
Revision as of 06:37, 8 June 2015
/* Override some annoying default settings */ #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { display:none;} #top-section { border: none; height: 0px;} #content { border: none; padding: 0px 0px 0px 0px; } #globalWrapper { font-size: 100%; } #content { width:100%; } h1, h2, h3, h4, h5, h6 { border-bottom: 0px transparent; line-height: 0; margin-bottom: none; } a:visited { color: #18bc9c; }