diff options
| -rw-r--r-- | stylesheets/dark_roach.css | 2 | ||||
| -rw-r--r-- | stylesheets/luna.css | 2 | ||||
| -rw-r--r-- | stylesheets/style.css | 2 | ||||
| -rw-r--r-- | stylesheets/wasabi.css | 2 | ||||
| -rw-r--r-- | templates/index.html | 2 | ||||
| -rw-r--r-- | 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 %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %} - {% if config.url_banner %}<img class="banner" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %} + {% if config.url_banner %}<img class="board_image" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %} <header> <h1>{{ board.url }} - {{ board.title|e }}</h1> 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 @@ <body> {{ boardlist.top }} {% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %} - {% if config.url_banner %}<img class="banner" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %} + {% if config.url_banner %}<img class="board_image" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %} <header> <h1>{{ board.url }} - {{ board.title|e }}</h1> <div class="subtitle"> @@ -28,9 +28,9 @@ </div> </header> - <div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div> + {% include 'attention_bar.html' %} - {% include 'attention_bar.html' %} + <div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div> {{ config.ad.top }} |
