Difference between revisions of "Template:Cardiff Wales"

m
m
Line 7: Line 7:
 
#sideMenu, #top_title {display:none;}
 
#sideMenu, #top_title {display:none;}
 
#content_wrapper { padding:0px; width:100%; margin-top:-0.7%; margin-left:0px;}
 
#content_wrapper { padding:0px; width:100%; margin-top:-0.7%; margin-left:0px;}
body {background-image: url(https://static.igem.org/mediawiki/2016/1/17/T--Cardiff_Wales--igembackground4.jpg);
+
body {
              background-repeat: no-repeat;
+
background-image: url(https://static.igem.org/mediawiki/2016/1/17/T--Cardiff_Wales--igembackground4.jpg);
 +
        background-repeat: no-repeat;
 
         -webkit-background-size: cover; /* pour Chrome et Safari */
 
         -webkit-background-size: cover; /* pour Chrome et Safari */
-moz-background-size: cover; /* pour Firefox */
+
-moz-background-size: cover; /* pour Firefox */
-background-size: cover; /* pour Opera */
+
-background-size: cover; /* pour Opera */
background-size: cover;
+
background-size: cover;
    }
+
        }
 +
footul {
 +
    list-style-type: none;
 +
    margin: 0;
 +
    padding: 0;
 +
    overflow: hidden;
 +
    background-color: #008000;
 +
    position: fixed;
 +
    bottom: 0;
 +
    width: 100%;
 +
}
  
 
     #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
     #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
Line 207: Line 218:
 
.content_wrapper {
 
.content_wrapper {
 
width: 100%;
 
width: 100%;
margin-left:150px;
+
margin-left:250px;
padding:10px 0px;
+
padding:100px 0px;
float:left;
+
float:center;
background-color:999999;
+
 
+
 
}
 
}
  
Line 247: Line 256:
 
margin: auto;
 
margin: auto;
 
padding: 3px 5px;
 
padding: 3px 5px;
                background-color:rgba(204,204,204,0.1);
+
        background-color:rgba(204,204,204,0.1);
 
/*background-color: #f2f2f2;*/          /*text box colour*/
 
/*background-color: #f2f2f2;*/          /*text box colour*/
 
}
 
}
Line 266: Line 275:
 
padding:5px 15px;
 
padding:5px 15px;
 
border-bottom:5px;
 
border-bottom:5px;
 
 
}
 
}
 
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {
 
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {
Line 272: Line 280:
 
border-bottom:0px;
 
border-bottom:0px;
 
}
 
}
 
  
 
/* font and text */
 
/* font and text */
 
.content_wrapper p {
 
.content_wrapper p {
padding:0px 15px;
+
padding:50px 15px;
 
font-size: 13px;
 
font-size: 13px;
 
font-family:Tahoma, Geneva, sans-serif;
 
font-family:Tahoma, Geneva, sans-serif;
Line 404: Line 411:
 
<meta name="viewport" content="width=device-width, initial-scale=1">
 
<meta name="viewport" content="width=device-width, initial-scale=1">
 
</head>
 
</head>
 
 
 
  
 
<div class="menu_wrapper">
 
<div class="menu_wrapper">
Line 423: Line 427:
 
           <ul class="submenu">
 
           <ul class="submenu">
 
      <li> <a href="https://2016.igem.org/Team:Cardiff_Wales/Description">Description </a></li>
 
      <li> <a href="https://2016.igem.org/Team:Cardiff_Wales/Description">Description </a></li>
<li> <a href="https://2016.igem.org/Team:Cardiff_Wales/Design">Design</a></li>
+
 
<li> <a href="https://2016.igem.org/Team:Cardiff_Wales/mkeima">FUEL Project </a></li>
+
              <li> <a href="https://2016.igem.org/Team:Cardiff_Wales/Results"> Acheivements </a></li>
<li> <a href="https://2016.igem.org/Team:Cardiff_Wales/Results"> Acheivements </a></li>
+
              <li> <a href="https://2016.igem.org/Team:Cardiff_Wales/Description#FUEL">FUEL Project </a></li>
 
               <li> <a href="https://2016.igem.org/Team:Cardiff_Wales/protocols">  Protocols </a></li>
 
               <li> <a href="https://2016.igem.org/Team:Cardiff_Wales/protocols">  Protocols </a></li>
 
             </ul>
 
             </ul>
Line 447: Line 451:
 
</div>
 
</div>
  
<div class="content_wrapper">
+
<div class="content_wrapper"></div>
  
 +
<footul>
 +
  <li></li>
 +
</footul>
  
 
<script>
 
<script>
 
 
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
 
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
 
 
$(document).ready(function() {
 
$(document).ready(function() {
  
 
$("#HQ_page").attr('id','');
 
$("#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
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
Line 474: Line 478:
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
}
 
}
 
 
 
  
 
$('#accordion').find('.menu_item').click(function(){
 
$('#accordion').find('.menu_item').click(function(){
Line 506: Line 507:
 
$(".menu_item").show();
 
$(".menu_item").show();
 
});
 
});
 
 
 
});
 
});
 +
</script>
  
 
 
 
</script>
 
  
 
</html>
 
</html>

Revision as of 13:39, 19 October 2016