mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-18 17:14:04 +01:00
rename banner class to board_image in order to evade some adblock rules
This commit is contained in:
parent
c8bccecc23
commit
cdb988c6d4
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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 }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user