Difference between revisions of "Template:HK SKHLPSS CUSTOM CSS"

 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
 +
<script type="text/javascript">
 +
$(document).ready(function(e) {
 +
  var h = $('#navbar').height();
 +
  $('.my-banner').animate({ paddingTop: h });
 +
});
 +
 +
$(document).ready(function(e){
 +
  $('#bodyContent').addClass("container marketing padding-top")
 +
})
 +
</script>
 +
 
<style>
 
<style>
  
.background-image {
+
#content {
    background-image: url('https://static.igem.org/mediawiki/2017/f/f9/Lpbackground1.jpg');
+
  margin-top: -12px !important
    -moz-background-size: cover;
+
    -webkit-background-size: cover;
+
    background-size: cover;
+
    background-position: top center !important;
+
    background-repeat: no-repeat !important;
+
    background-attachment: fixed;
+
 
}
 
}
  
 
.container {
 
.container {
   width: 72%;
+
  text-align:justify;
 +
   width: 75%;
 
}
 
}
  
{text-align:justify;}
 
  
 
h1, h2, h3 {
 
h1, h2, h3 {
Line 91: Line 97:
 
}
 
}
  
 +
.carousel-caption {
 +
  background-color: grey;
 +
  padding: 4px 12px 30px 12px
 +
}
  
  
 
</style>   
 
</style>   
 
</html>
 
</html>

Latest revision as of 12:11, 1 November 2017