Skip to content

Instantly share code, notes, and snippets.

@halfnibble
Created January 28, 2016 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halfnibble/8dd5c033ffbe3c43c788 to your computer and use it in GitHub Desktop.
Save halfnibble/8dd5c033ffbe3c43c788 to your computer and use it in GitHub Desktop.
HTML template example for Django CMS
<!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