From cdb988c6d4cf48d0bb3e7e8b32e2d17b0ac4a703 Mon Sep 17 00:00:00 2001 From: czaks Date: Mon, 6 Jan 2014 16:38:48 +0100 Subject: [PATCH] rename banner class to board_image in order to evade some adblock rules --- stylesheets/dark_roach.css | 2 +- stylesheets/luna.css | 2 +- stylesheets/style.css | 2 +- stylesheets/wasabi.css | 2 +- templates/index.html | 2 +- templates/thread.html | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/stylesheets/dark_roach.css b/stylesheets/dark_roach.css index 08366dfc..89bb08ae 100644 --- a/stylesheets/dark_roach.css +++ b/stylesheets/dark_roach.css @@ -136,7 +136,7 @@ div.banner a:hover { color: #000000; text-decoration: none; } -img.banner { +img.banner, img.board_image { display: block; border: 1px solid #000000; margin: 12px auto 0 auto; diff --git a/stylesheets/luna.css b/stylesheets/luna.css index 7f6fc14e..7439f5ca 100644 --- a/stylesheets/luna.css +++ b/stylesheets/luna.css @@ -136,7 +136,7 @@ div.banner a:hover { color: #000000; text-decoration: none; } -img.banner { +img.banner, img.board_image { float: none; border: 1px solid #a9a9a9; margin: 12px auto 0 auto; diff --git a/stylesheets/style.css b/stylesheets/style.css index 33f953d2..4dce3499 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -128,7 +128,7 @@ div.banner a:hover { color: #EEF2FF; text-decoration: none; } -img.banner { +img.banner, img.board_image { display: block; border: 1px solid #a9a9a9; margin: 12px auto 0 auto; diff --git a/stylesheets/wasabi.css b/stylesheets/wasabi.css index 3c24512d..f898d731 100644 --- a/stylesheets/wasabi.css +++ b/stylesheets/wasabi.css @@ -128,7 +128,7 @@ div.banner a:hover { color: #EEF2FF; text-decoration: none; } -img.banner { +img.banner, img.board_image { float: none; margin: 4px auto 0 auto; } diff --git a/templates/index.html b/templates/index.html index c45e51fe..b694950c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -21,7 +21,7 @@ {{ boardlist.top }} {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %} - {% if config.url_banner %}{% endif %} + {% if config.url_banner %}{% endif %}

{{ board.url }} - {{ board.title|e }}

diff --git a/templates/thread.html b/templates/thread.html index aecc9098..13159148 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -13,7 +13,7 @@ {{ boardlist.top }} {% if pm %}
You have an unread PM{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.

{% endif %} - {% if config.url_banner %}{% endif %} + {% if config.url_banner %}{% endif %}

{{ board.url }} - {{ board.title|e }}

@@ -28,9 +28,9 @@
- + {% include 'attention_bar.html' %} - {% include 'attention_bar.html' %} + {{ config.ad.top }}