summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <hellekin@dyne.org>2016-11-20 10:34:16 (GMT)
committerhellekin <hellekin@dyne.org>2016-11-20 10:34:30 (GMT)
commite907f90c00c1b0e696b61e7f6fa091dd338ca520 (patch)
tree878d8198c072dc8389b4e1234da8ca1796d1c34c
parent40005b6cfaf0fde0b068e216763b1ced4c5c3143 (diff)
downloadwww-e907f90c00c1b0e696b61e7f6fa091dd338ca520.zip
www-e907f90c00c1b0e696b61e7f6fa091dd338ca520.tar.gz
www-e907f90c00c1b0e696b61e7f6fa091dd338ca520.tar.bz2
Make specs larger
-rw-r--r--content/pages/specs.html2
-rw-r--r--theme/static/css/neo900.css9
-rw-r--r--theme/templates/specs.html10
3 files changed, 18 insertions, 3 deletions
diff --git a/content/pages/specs.html b/content/pages/specs.html
index 30ab638..3ef0fd2 100644
--- a/content/pages/specs.html
+++ b/content/pages/specs.html
@@ -1,5 +1,5 @@
<html>
-<head><title>Specs</title></head>
+<head><title>Specs</title><meta name="template" content="specs"></head>
<body>
<div class="jumbotron stripe" style="font-size:1em;">
<div>
diff --git a/theme/static/css/neo900.css b/theme/static/css/neo900.css
index 1421254..f260b0a 100644
--- a/theme/static/css/neo900.css
+++ b/theme/static/css/neo900.css
@@ -704,14 +704,19 @@ body.disco .jumbotron.stripe > div {
max-width: 100%;
}
-body:not(.faq) main {
+body:not(.faq):not(.specs) main {
max-width: 96rem;
}
-body:not(.faq) main > article {
+body:not(.faq):not(.specs) main > article {
max-width: 48rem;
margin: 0 auto;
}
+body.specs main > article {
+ max-width: 96rem;
+ margin: 0 auto;
+}
+
body.weekly.news div.stripe {
max-width: 96rem;
margin: 0 auto;
diff --git a/theme/templates/specs.html b/theme/templates/specs.html
new file mode 100644
index 0000000..509b239
--- /dev/null
+++ b/theme/templates/specs.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+{% block title %}{{ page.title }}{% endblock %}
+{% set body_params = 'class="specs"' %}
+{% block content %}
+<main>
+ <article>
+ {{ page.content }}
+ </article>
+</main>
+{% endblock %}