From e3095dc9abe75f381970f0a6b4864f2088df3307 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 13 Nov 2022 10:26:58 -0800 Subject: [PATCH] Improve css on photogallery. --- photogallery.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/photogallery.py b/photogallery.py index 6243e51..d4785cf 100644 --- a/photogallery.py +++ b/photogallery.py @@ -30,10 +30,15 @@ def imagegallery_argparse(args): color: white; font-family: sans-serif; } - body + body, + body h1 { text-align: center; } + body * + { + text-align: initial; + } body.noscrollbar::-webkit-scrollbar { display: none; @@ -49,6 +54,14 @@ def imagegallery_argparse(args): a { cursor: pointer; + color: #ae81ff; + } + p + { + margin-right: auto; + margin-right: auto; + width: 100%; + max-width: 1024px; } .photocell { @@ -98,6 +111,9 @@ def imagegallery_argparse(args): {% if title %}

{{title}}

{% endif %} + +

Click each photo to view its full resolution. Click the number to download it.

+ {% for file in files %}