Skip to content

Commit

Permalink
Changed body background css
Browse files Browse the repository at this point in the history
  • Loading branch information
DipanshKhandelwal committed Nov 11, 2017
1 parent 493e760 commit 8bad4ed
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions basic/templates/basic/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
<link rel="stylesheet" href="{% static 'css/basic/basic.css' %}">
<script src="https://use.fontawesome.com/f2c1d88751.js"></script>
<style>
body{
background: url("/media/farm.jpg") no-repeat fixed;
background-size:100%;
}
body {
background: url("/media/farm.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
@font-face {
font-family: Liber;
src: url('{% static 'fonts/Liber.ttf' %}') format("truetype");
Expand Down

0 comments on commit 8bad4ed

Please sign in to comment.