From 660f26443baf1ea4333e5935f11ab4fc07309584 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Wed, 3 Jan 2024 09:44:32 +0100 Subject: [PATCH] Remove class=page div --- assets/css/style.css | 4 ++-- templates/bib.html | 32 +++++++++++++++----------------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 8742294..6ed884f 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -16,11 +16,11 @@ a:hover { color: #33bbdf; } -div.page { +main { padding: 0 20px 0; } -div.page ul { +ul { padding-left: 3vw; } diff --git a/templates/bib.html b/templates/bib.html index 6c96fed..a7e2ddb 100644 --- a/templates/bib.html +++ b/templates/bib.html @@ -1,24 +1,22 @@ {% extends "layout.html" %} {% block title %}{{ this.title }}{% endblock %} {% block body %} -
{% if this.body %} -

{{ this.title }}

- {{ this.body }} +

{{ this.title }}

+ {{ this.body }} {% else %} -

{{ this.title }}

+

{{ this.title }}

{% endif %} - -
+ {% endblock %}