Created
January 28, 2016 20:29
-
-
Save halfnibble/8dd5c033ffbe3c43c788 to your computer and use it in GitHub Desktop.
HTML template example for Django CMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
.wrapper { | |
width: 900px; | |
margin: 0 auto; | |
} | |
.left-bar { | |
width: 30%; | |
padding: 20px; | |
float: left; | |
border: 1px solid #000; | |
box-sizing: border-box; | |
} | |
.left-bar h4 { | |
font-size: 1.6em; | |
color: red; | |
} | |
.content { | |
width: 69.999%; | |
padding: 20px; | |
float: right; | |
border: 1px solid #000; | |
box-sizing: border-box; | |
} | |
.content h2 { | |
color: blue; | |
} | |
.content p { | |
color: red | |
} | |
</style> | |
</head> | |
<body> | |
<div class="wrapper"> | |
<div class="left-bar"> | |
<h4>Title title</h4> | |
</div> | |
<div class="content"> | |
{% placeholder "content" %} | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment