Browse Source

LINE-SPACING FIXED

main
Cailean Finn 7 months ago
parent
commit
7970358d79
  1. 4
      static/assets/styles.css
  2. 8
      templates/newsletter.html

4
static/assets/styles.css

@ -372,7 +372,7 @@ body {
margin-bottom: 25px; margin-bottom: 25px;
} }
hr { /* hr {
border: 0; border: 0;
border-top: thin solid #243588; border-top: thin solid #243588;
clear:both; clear:both;
@ -380,7 +380,7 @@ hr {
width: 100%; width: 100%;
background-color:#000000; background-color:#000000;
height: 1px; height: 1px;
} } */

8
templates/newsletter.html

@ -6,6 +6,7 @@
<div class='article-cont'> <div class='article-cont'>
{{ content | safe }} {{ content | safe }}
</div> </div>
<p>&#8203;</p>
<div class='event-cont'> <div class='event-cont'>
{% for key, value in events.items() %} {% for key, value in events.items() %}
<hr> <hr>
@ -15,12 +16,13 @@
{% for data in value %} {% for data in value %}
<div class='event'> <div class='event'>
<h4 class='event-name'><b>{{ data.name }}</b></h4> <h4 class='event-name'><b>{{ data.name }}</b></h4>
<p class='event-org'>{{ data.org }}</p> <p class='event-org'><b>Organiser/s: </b>{{ data.org }}</p>
<p class='event-location'><b>Location: </b>{{ data.location }}</p> <p class='event-location'><b>Location: </b>{{ data.location }}</p>
<p class='event-deadline'><b>Deadline: </b>{{ data.deadline }}</p> <p class='event-deadline'><b>Date: </b>{{ data.deadline }}</p>
<p class='event-text'>{{ data.text }}</p> <p class='event-text'>{{ data.text }}</p>
<a href={{ data.source }} target='_blank'><p class='event-link'><b>Link ↗</b></p></a> <a href={{ data.source }} target='_blank'><p class='event-link'><b>Link ↗</b></p></a>
</div> </div>
<p>&#8203;</p>
{% endfor %} {% endfor %}
</div> </div>
{% endfor %} {% endfor %}
@ -39,7 +41,9 @@
<p class='opp-location'><i>{{ data.location }}</i></p> <p class='opp-location'><i>{{ data.location }}</i></p>
<p class='opp-text'>{{ data.text }}</p> <p class='opp-text'>{{ data.text }}</p>
<a href={{ data.source }} target='_blank'><p class='opp-link'><b>Link ↗</b></p></a> <a href={{ data.source }} target='_blank'><p class='opp-link'><b>Link ↗</b></p></a>
<p>&#8203;</p>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
{% endfor %} {% endfor %}

Loading…
Cancel
Save