Browse Source

edited publications

main
Cailean Finn 5 months ago
parent
commit
b2dcb6b839
  1. 4
      app.py
  2. 43
      static/assets/styles.css
  3. 31
      templates/publications-old.html
  4. 28
      templates/publications.html

4
app.py

@ -360,6 +360,10 @@ class WikiApp(Flask):
soup = self.remove_thumbnail_img(soup)
print(soup)
return soup.prettify()
def remove_thumbnail_img(self, soup):

43
static/assets/styles.css

@ -10,6 +10,7 @@ body {
padding: 0px;
font-family: "Space Mono", monospace;
overflow: hidden;
height: 100vh;
}
.main-cont {
@ -25,8 +26,8 @@ body {
background-color: white;
width: fit-content;
height: 100px;
padding-left: 20px;
padding-right: 20px;
padding-left: 40px;
padding-right: 40px;
align-items: center;
}
@ -93,6 +94,8 @@ body {
.content {
width: 100%;
display: flex;
height: calc(100% - 100px);
/* position: fixed; */
}
@ -123,11 +126,13 @@ body {
font-family: "Source Sans 3", sans-serif;
font-size: 20px;
line-height: 30px;
margin-top: 0;
}
.content-cont h1{
font-size: 60px;
text-decoration: underline;
margin-bottom: 5px;
}
.content-cont h2{
@ -282,7 +287,6 @@ body {
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
}
.section-element {
@ -298,7 +302,7 @@ body {
.section-img img{
width: 100%;
height: 200px;
height: 400px;
object-fit: cover;
border-radius: 0px;
border: black;
@ -313,7 +317,6 @@ body {
.section-img {
width: 75%;
padding-left: 0px;
margin-bottom: 80px;
padding-top: 10px;
}
@ -411,6 +414,36 @@ body {
line-height: 30px;
}
.pub-section {
display: flex;
gap: 20px;
flex-direction: column;
width: 60%;
}
.pub-section-cont {
display: flex;
flex-direction: column;
padding: 40px;
padding-top: 0px;
gap: 20px;
overflow-y: scroll;
width: 100%;
}
.pub-section-cont p{
font-family: "Source Sans 3", sans-serif;
font-size: 20px;
line-height: 30px;
margin-top: 0;
}
.pub-section-cont h1 {
font-size: 60px;
text-decoration: underline;
margin-bottom: 5px;
}
/* hr {
border: 0;
border-top: thin solid #243588;

31
templates/publications-old.html

@ -0,0 +1,31 @@
{% extends "base.html" %}
{% block title %} Ø | Publications{% endblock %}
{% block content %}
<div class='section-cont'>
<div class='section'>
<a class='section-header' href='/archive/newsletters'><div class='section-title'><div style="display: inline-flex; text-align: center; justify-content: center; align-items: center; line-height: 100%; padding: 2.2px; font-size: 25px; font-style: normal; object-fit: contain; font-family: monospace; color: black; width: 100%;">NEWSLETTERS<br><!--<img src="https://i-love-everything.com/buttons/img/34.gif" style="max-height: 32px;">--></div></div></a>
<div class='section-group'>
{% for key, values in newsletters.items() %}
<div class='section-object'>
<div class='section-element'><a href="/newsletter{{ url_for('page_content', title=values.title) }}">↘ {{ values.title }}</a></div>
<div class='section-date'>{{ values.date }}</div>
<div class='section-img'><a href="/newsletter{{ url_for('page_content', title=values.title) }}"><img src="{{ values.source}}"></a></div>
</div>
{% endfor %}
</div>
</div>
<div class='section'>
<a class='section-header' href='/archive/projects'><div class='section-title'><div style="display: inline-flex; text-align: center; justify-content: center; align-items: center; line-height: 100%; padding: 3.3px; font-size: 25px; font-style: normal; object-fit: contain; font-family: monospace; color: black; border: 0px solid black; width: 100%;">PROJECTS<!--<img src="https://i-love-everything.com/buttons/img/26.gif" style="max-height: 32px;">--></div></div></a>
<div class='section-group'>
{% for key, values in projects.items() %}
<div class='section-object'>
<div class='section-element'><a href="{{ url_for('page_content', title=values.title) }}">↘ {{ values.title }}</a></div>
<div class='section-date'>{{ values.date }}</div>
<div class='section-img'><a href="{{ url_for('page_content', title=values.title) }}"><img src="{{ values.source }}"></a></div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endblock %}

28
templates/publications.html

@ -1,21 +1,19 @@
{% extends "base.html" %}
{% block title %} Ø | Publications{% endblock %}
{% block content %}
<div class='section-cont'>
<div class='section'>
<a class='section-header' href='/archive/newsletters'><div class='section-title'><div style="display: inline-flex; text-align: center; justify-content: center; align-items: center; line-height: 100%; padding: 2.2px; font-size: 25px; font-style: normal; object-fit: contain; font-family: monospace; color: black; width: 100%;">NEWSLETTERS<br><!--<img src="https://i-love-everything.com/buttons/img/34.gif" style="max-height: 32px;">--></div></div></a>
<div class='section-group'>
{% for key, values in newsletters.items() %}
<div class='section-object'>
<div class='section-element'><a href="/newsletter{{ url_for('page_content', title=values.title) }}">↘ {{ values.title }}</a></div>
<div class='section-date'>{{ values.date }}</div>
<div class='section-img'><a href="/newsletter{{ url_for('page_content', title=values.title) }}"><img src="{{ values.source}}"></a></div>
</div>
{% endfor %}
</div>
<div class='pub-section-cont'>
<div class='pub-section'>
<h1>Newsletter</h1>
<p>Currently, we run a bi-weekly newsletter that aims to highlight different types of events and opportunities centered around new media and digital culture in Ireland.</p>
<p>The newsletter is released on the <b>1st</b> and <b>15th</b> of every month through Substack - You can subcribe through Substack by following this link <a href="https://substack.com/redirect/6abd2991-f337-42ac-8f41-12e6223a6a7f?j=eyJ1IjoiMXJxOGc0In0.dM5dzYwXHG4nrZaQTiBPTHLz4xPM2kz2cwpsDugPHVw" target="_blank">(subscribe)</a>, and receive it directly into your inbox~</p>
<p>If you wish to sumbit any opportunities, events, residences (...) that would be a good fit for the newsletter -- please feel free to reach out to us by emailing us at <i>[email protected]</i></p>
<p>***</p>
<p><i>The future plan we have for the platform is that users will have the ability to add their own entries into the upcoming newsletter through the Concept NULL wiki - acting as more of a decentralised noticeboard than just a newsletter. As for now, you can view our work-in-progress newsletter here, as we compile it for our Substack.</i></p>
<p>***</p>
</div>
<div class='section'>
<a class='section-header' href='/archive/projects'><div class='section-title'><div style="display: inline-flex; text-align: center; justify-content: center; align-items: center; line-height: 100%; padding: 3.3px; font-size: 25px; font-style: normal; object-fit: contain; font-family: monospace; color: black; border: 0px solid black; width: 100%;">PROJECTS<!--<img src="https://i-love-everything.com/buttons/img/26.gif" style="max-height: 32px;">--></div></div></a>
<div class='pub-section'>
<h1>Projects</h1>
<div class='section-group'>
{% for key, values in projects.items() %}
<div class='section-object'>
@ -24,7 +22,7 @@
<div class='section-img'><a href="{{ url_for('page_content', title=values.title) }}"><img src="{{ values.source }}"></a></div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>

Loading…
Cancel
Save