Commit a6311d0f authored by chris's avatar chris

styling

parent 77199e5b
......@@ -55,17 +55,23 @@ html {
font-size:18px
}
}
.intro {
font-size: 1.2rem;
}
body {
color:#515151;
background-color:#fff;
background-color:#f9f9f9;
overflow-x:hidden;
-webkit-text-size-adjust:100%;
-ms-text-size-adjust:100%
}
.wrap {
max-width:44rem;
padding:0 .6rem;
margin:0 auto
max-width:780px;
padding:0 2.1rem;
margin:0 auto;
background-color:#fff;
border: 1px solid #ffffff;
box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
#main {
min-height:18rem
......
......@@ -3,27 +3,13 @@
{% block body_class %}template-webpage{% endblock %}
{% block extra_css %}
<style TYPE="text/css">
.mainimage {
width: 150px;
height: 100px;
background-image: url("http://i.stack.imgur.com/2OrtT.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: 50% 50%;
}
</style>
{% endblock %}
{% block content %}
<h1>{{ page.title }}</h1>
<p class="meta">{{ page.date }}</p>
{% if main_image %}{% image main_image width-600 %}{% endif %}
{% if main_image %}{% image main_image fill-740x240 %}{% endif %}
<div class="intro">{{ page.intro }}</div>
<div class="intro">{{ page.intro|richtext }}</div>
{{ page.body|richtext }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment