m |
(Revert) |
||
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 { | + | body {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 */ | |
− | + | -background-size: cover; /* pour Opera */ | |
− | + | background-size: cover; | |
− | + | } | |
− | + | ||
#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 206: | ||
/* Wrapper for the content */ | /* Wrapper for the content */ | ||
.content_wrapper { | .content_wrapper { | ||
− | width: | + | width: 85%; |
− | margin-left: | + | margin-left:150px; |
− | padding: | + | padding:10px 0px; |
− | float: | + | float:left; |
+ | background-color:999999; | ||
+ | |||
} | } | ||
Line 246: | Line 247: | ||
margin: auto; | margin: auto; | ||
padding: 3px 5px; | padding: 3px 5px; | ||
− | + | background-color:rgba(204,204,204,0.1); | |
/*background-color: #f2f2f2;*/ /*text box colour*/ | /*background-color: #f2f2f2;*/ /*text box colour*/ | ||
} | } | ||
Line 265: | Line 266: | ||
padding:5px 15px; | padding:5px 15px; | ||
border-bottom:5px; | border-bottom:5px; | ||
+ | color:#000000; | ||
+ | |||
} | } | ||
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 { | .content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 { | ||
padding:5px 15px; | padding:5px 15px; | ||
border-bottom:0px; | border-bottom:0px; | ||
+ | color: #000000; | ||
} | } | ||
+ | |||
/* font and text */ | /* font and text */ | ||
.content_wrapper p { | .content_wrapper p { | ||
− | padding: | + | padding:0px 15px; |
font-size: 13px; | font-size: 13px; | ||
font-family:Tahoma, Geneva, sans-serif; | font-family:Tahoma, Geneva, sans-serif; | ||
Line 401: | Line 406: | ||
<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 419: | Line 427: | ||
<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 441: | Line 449: | ||
</div> | </div> | ||
− | <div class="content_wrapper"> | + | <div class="content_wrapper"> |
− | + | ||
<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 466: | Line 476: | ||
$("#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 495: | Line 508: | ||
$(".menu_item").show(); | $(".menu_item").show(); | ||
}); | }); | ||
+ | |||
+ | |||
}); | }); | ||
+ | |||
+ | |||
+ | |||
+ | |||
</script> | </script> | ||
</html> | </html> |
Revision as of 13:46, 19 October 2016