fix sidebar margins

master
Aevann1 2022-11-09 21:53:37 +02:00
parent 9e6324d7ca
commit a4141e52be
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 mb-5" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}> <div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
{%- if v -%} {%- if v -%}
{%- set art_path = 'assets/images/WPD/sidebar' -%} {%- set art_path = 'assets/images/WPD/sidebar' -%}
@ -65,7 +65,7 @@
<a href="/h/music">Music</a> <a href="/h/music">Music</a>
</div> </div>
<div class="sidebar--rules mb-8"> <div class="sidebar--rules">
<h3 class="sidebar--rules-head sidebar--heading">Rules</h3> <h3 class="sidebar--rules-head sidebar--heading">Rules</h3>
<ol class="sidebar--rules-list sidebar--rules-list--wpd"> <ol class="sidebar--rules-list sidebar--rules-list--wpd">
<li>Do not post anything illegal under US law. <li>Do not post anything illegal under US law.

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 mb-5" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}> <div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
{% if sub %} {% if sub %}
{% set image=sub.sidebar_url %} {% set image=sub.sidebar_url %}
@ -54,7 +54,7 @@
<a class="btn btn-primary btn-block mb-3" href="/create_hole">CREATE {{HOLE_NAME|upper}}</a> <a class="btn btn-primary btn-block mb-3" href="/create_hole">CREATE {{HOLE_NAME|upper}}</a>
{%- endif %} {%- endif %}
<div class="sidebar--rules mb-8"> <div class="sidebar--rules">
<h3 class="sidebar--rules-head mt-4 mb-3">Rules</h3> <h3 class="sidebar--rules-head mt-4 mb-3">Rules</h3>
<ol class="sidebar--rules-list sidebar--rules-list--rdrama"> <ol class="sidebar--rules-list sidebar--rules-list--rdrama">
<li class="font-weight-bold" style="color: red"><a href="/post/19711/a-short-guide-on-how-to" style="color: inherit">NO RIGHTWING AGENDAPOSTING.</a></li> <li class="font-weight-bold" style="color: red"><a href="/post/19711/a-short-guide-on-how-to" style="color: inherit">NO RIGHTWING AGENDAPOSTING.</a></li>