Difference between revisions of "Template:Toulouse France"

Line 1: Line 1:
 
{{Template:Toulouse_France/fontsome}}
 
{{Template:Toulouse_France/fontsome}}
 
{{Template:Toulouse_France/framework}}
 
{{Template:Toulouse_France/framework}}
 +
 +
<html>
  
 
<html>
 
<html>
Line 10: Line 12:
 
</script>
 
</script>
 
 
 +
 
<style>
 
<style>
 
 
@charset "utf-8";
 
@charset "utf-8";
 
 
#mainav li li a, #mainav li li .drop
 
#mainav li li a, #mainav li li .drop
 
address, article, aside, figcaption, figure, footer, header, main, nav, section{display:block; margin:0; padding:0;}
 
address, article, aside, figcaption, figure, footer, header, main, nav, section{display:block; margin:0; padding:0;}
Line 20: Line 21:
 
overflow-y: scroll;
 
overflow-y: scroll;
 
}
 
}
 
 
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo{
 
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo{
 
display:none;}
 
display:none;}
 
 
#top-section {
 
#top-section {
 
border: none;
 
border: none;
 
height: 0px;}
 
height: 0px;}
 
 
#content {
 
#content {
 
border: none;
 
border: none;
Line 33: Line 31:
 
background-color: #817E8B; ;
 
background-color: #817E8B; ;
 
}
 
}
 
 
#globalWrapper {
 
#globalWrapper {
 
font-size: 78%;
 
font-size: 78%;
Line 43: Line 40:
 
}
 
}
  
h1, h2, h3, h4, h5, h6 {  
+
h1, h2, h3, h4, h5, h6 { border-bottom: 0px transparent;  
border-bottom: 0px transparent;  
+
 
margin-bottom: none;
+
margin-bottom: none;
 
}
 
}
 
h3 {color:#90A83E;}
 
h3 {color:#90A83E;}
 
@charset "utf-8";
 
@charset "utf-8";
 
 
/*
 
/*
 
Template Name: Fertile
 
Template Name: Fertile
Line 650: Line 646:
  
 
</style>
 
</style>
 
 
 
<script>
 
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
 
 
$(document).ready(function() {
 
 
$("#HQ_page").attr('id','');
 
 
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
 
$("#team_name").html( wgPageName );
 
}
 
 
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
 
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );
 
}
 
 
else {
 
// this adds the team's name as an h1
 
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );
 
 
// this adds the page's title as an h4
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
}
 
 
 
 
 
$('#accordion').find('.menu_item').click(function(){
 
 
//Expand or collapse this panel
 
submenu = $(this).find('.submenu');
 
submenu.toggle();
 
 
icon = $(this).find('.icon');
 
 
if ( !$( submenu ).is(':visible') ) {
 
icon.removeClass("less").addClass("plus");
 
}
 
else {
 
icon.removeClass("plus").addClass("less");
 
}
 
 
//Hide the other panels
 
$(".submenu").not(submenu).hide();
 
$(".icon").not(icon).removeClass("less").addClass("plus");
 
});
 
 
 
$(".collapsable_menu_control").click(function() {
 
$(".menu_item").toggle();
 
});
 
 
$( window ).resize(function() {
 
$(".menu_item").show();
 
});
 
});
 
 
</script>
 
 
 
 
</html>
 
</html>

Revision as of 12:13, 24 June 2016