summaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorhellekin <hellekin@dyne.org>2016-10-22 10:35:29 +0200
committerhellekin <hellekin@dyne.org>2016-10-22 10:35:29 +0200
commite8069f1245c7bf25bd2dd098c4f74a9660997fc5 (patch)
tree853fc43f6691814618f55a4b3654650b391ffff0 /theme
parentce68fab7c3c1d115f93041ee288f9520599b31e2 (diff)
downloadwww-e8069f1245c7bf25bd2dd098c4f74a9660997fc5.tar.gz
www-e8069f1245c7bf25bd2dd098c4f74a9660997fc5.tar.bz2
www-e8069f1245c7bf25bd2dd098c4f74a9660997fc5.zip
[disco] B2B connectors vs the Tombstone effect
Diffstat (limited to 'theme')
-rw-r--r--theme/static/css/neo900.css7
-rw-r--r--theme/templates/article.html1
-rw-r--r--theme/templates/base.html2
-rw-r--r--theme/templates/index.html2
4 files changed, 10 insertions, 2 deletions
diff --git a/theme/static/css/neo900.css b/theme/static/css/neo900.css
index c0f28c0..d15d675 100644
--- a/theme/static/css/neo900.css
+++ b/theme/static/css/neo900.css
@@ -696,3 +696,10 @@ a.link-inverted {
background-color: rgba(0,0,0,0.02);
margin-bottom: 10px;
}
+
+body.disco .stripe > div {
+ max-width: 48rem;
+}
+body.disco .jumbotron.stripe > div {
+ max-width: 100%;
+} \ No newline at end of file
diff --git a/theme/templates/article.html b/theme/templates/article.html
index 6753063..c073951 100644
--- a/theme/templates/article.html
+++ b/theme/templates/article.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% if article.body_params %}{% set body_params = article.body_params %}{% endif %}
{% block title %}{{ article.title|striptags }}{% endblock %}
{% block content %}
diff --git a/theme/templates/base.html b/theme/templates/base.html
index 9913d7b..f97f17b 100644
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -50,7 +50,7 @@
</head>
- <body {% block body_params %}{%endblock%}>
+ <body{% if body_params %} {{ body_params }}{% endif %}>
<div class="modal fade" id="subscribe" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
diff --git a/theme/templates/index.html b/theme/templates/index.html
index a3765f8..1f08f62 100644
--- a/theme/templates/index.html
+++ b/theme/templates/index.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% block body_params%}data-spy="scroll" data-target="#topmenu" data-offset="70"{% endblock %}
+{% set body_params='data-spy="scroll" data-target="#topmenu" data-offset="70"' %}
{% block content_title %}{% endblock %}
{% block content %}