From d958f4175ce7a7ffe3d9dbb50ea1d107f28ced71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Meyer-M=C3=B6lleringhof?= Date: Wed, 20 Aug 2025 18:57:42 +0200 Subject: [PATCH] New design for posts in overview - removed sidebar for links - general left-aligned design --- css/site.css | 12 ++++++++++-- news.html | 12 +++++------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/css/site.css b/css/site.css index 93e6bb52..08052c43 100644 --- a/css/site.css +++ b/css/site.css @@ -269,12 +269,20 @@ a.btn:focus { margin: auto; } -.post-links>ul { +.post .read-more { + margin-top: 25px; +} + +.post-excerpt { + margin-top: 1rem; +} + +.post-excerpt>ul { list-style-type: none; padding-left: 0; } -.post-links>ul>li { +.post-excerpt>ul>li { margin-bottom: 15px; } diff --git a/news.html b/news.html index a829bb9f..6b014b59 100644 --- a/news.html +++ b/news.html @@ -7,19 +7,17 @@

QuTiP News


{% for p in site.posts %} -
-
+
+

{{ p.date | date_to_string: "ordinal", "US" }}

{{ p.title }}

+
+ {{ p.excerpt }} +
{% if p.readmore %}

Read More

{% endif %}
-
-
- {{ p.excerpt }} -
-

{% endfor %}