From b2dcb6b8393be327ea0434202eb1823312b731c5 Mon Sep 17 00:00:00 2001 From: Cailean Finn Date: Thu, 25 Jul 2024 16:26:12 +0100 Subject: [PATCH] edited publications --- app.py | 4 +++ static/assets/styles.css | 43 +++++++++++++++++++++++++++++---- templates/publications-old.html | 31 ++++++++++++++++++++++++ templates/publications.html | 28 ++++++++++----------- 4 files changed, 86 insertions(+), 20 deletions(-) create mode 100644 templates/publications-old.html diff --git a/app.py b/app.py index bc24513..267ea53 100644 --- a/app.py +++ b/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): diff --git a/static/assets/styles.css b/static/assets/styles.css index 8f392d9..395b71e 100644 --- a/static/assets/styles.css +++ b/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; diff --git a/templates/publications-old.html b/templates/publications-old.html new file mode 100644 index 0000000..eb0427a --- /dev/null +++ b/templates/publications-old.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} +{% block title %} Ø | Publications{% endblock %} +{% block content %} +
+
+
NEWSLETTERS
+
+ {% for key, values in newsletters.items() %} +
+ + +
+
+ {% endfor %} +
+
+
+
PROJECTS
+
+ {% for key, values in projects.items() %} +
+ + +
+
+ {% endfor %} +
+
+
+ +{% endblock %} \ No newline at end of file diff --git a/templates/publications.html b/templates/publications.html index eb0427a..50bc6ed 100644 --- a/templates/publications.html +++ b/templates/publications.html @@ -1,21 +1,19 @@ {% extends "base.html" %} {% block title %} Ø | Publications{% endblock %} {% block content %} -
-
-
NEWSLETTERS
-
- {% for key, values in newsletters.items() %} -
- - -
-
- {% endfor %} -
+
+
+

Newsletter

+

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.

+

The newsletter is released on the 1st and 15th of every month through Substack - You can subcribe through Substack by following this link (subscribe), and receive it directly into your inbox~

+

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 conceptnullofficial@gmail.com

+

***

+

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.

+

***

-
-
PROJECTS
+ +
+

Projects

{% for key, values in projects.items() %}
@@ -24,7 +22,7 @@
{% endfor %} -
+