From 84ec056c969b738b62d623c397ed42fe8f0736af Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Sun, 23 Dec 2012 12:09:18 +0000 Subject: [PATCH] Removed .news div (since it is repeating info), fixed navbar alignment in danimoth It would be good to be able to position some sort of info box in that location for danimoth's theme (even e.g. the lastupdated/accuratefor infobox) --- i2p2www/pages/global/layout.html | 8 -------- i2p2www/static/styles/danimoth.css | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/i2p2www/pages/global/layout.html b/i2p2www/pages/global/layout.html index eec2cb509..d6f6dd306 100644 --- a/i2p2www/pages/global/layout.html +++ b/i2p2www/pages/global/layout.html @@ -30,14 +30,6 @@ </nav> </header> <div class="container-fluid"> - {%- if not self.content() and g.theme == 'danimoth' %} - <aside> - <div class="alert-message block-message warning news"> - <h2>{% trans %}News & Updates{% endtrans %}</h2> - {% include "blog/latest.html" %} - </div> - </aside> - {%- endif %} {%- if g.theme != "danimoth" %} <div id="content"> {% block content_outer %} diff --git a/i2p2www/static/styles/danimoth.css b/i2p2www/static/styles/danimoth.css index 00c81d6e1..464a2650e 100644 --- a/i2p2www/static/styles/danimoth.css +++ b/i2p2www/static/styles/danimoth.css @@ -33,7 +33,7 @@ div#cssmenu .right { nav.navigation { position: absolute; - margin: 260px 0 20px 20px; + margin: 13px 0 20px 20px; width: 180px; z-index: 1; } -- GitLab