summaryrefslogtreecommitdiffstats
path: root/templates/layout.html
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-15 15:14:27 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-15 15:14:27 +0100
commit7b90fcc242d2f62daca67876a6cbed3932021258 (patch)
treee4d7be6f0c0c737ea7c7aab258e65e9f6f850f55 /templates/layout.html
parentb7f06dc45b17f2d71ef61dbd2a37c0b4eb64c0a3 (diff)
downloadkyblo-7b90fcc242d2f62daca67876a6cbed3932021258.tar.xz
layout: use padded-box class for the content
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates/layout.html')
-rw-r--r--templates/layout.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/layout.html b/templates/layout.html
index ee2a090..a76110e 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -26,9 +26,9 @@ header nav a, header nav a:visited {
color: #444;
}
header nav a:hover {
- color: #000;
+ color: #111;
}
-header, #content, footer {
+.padded-box {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
@@ -65,7 +65,7 @@ footer ul#contact-info li {
</head>
<body>
- <header>
+ <header class="padded-box">
<nav>
<ul>
<li><a href="index.html">index</a></li>
@@ -75,11 +75,11 @@ footer ul#contact-info li {
</nav>
</header>
<hr />
- <div id="content">
+ <div class="padded-box">
{% block content %}{% endblock %}
</div>
<hr />
- <footer>
+ <footer class="padded-box">
<div>
<p id="copy">© 2016 Johannes Löthberg</p>
</div>