From b43db726af5e87e7e483b5174d3d878203b4df6a Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Sun, 10 May 2020 18:44:29 -0500 Subject: update style --- build_html.py | 10 +++++++--- public/style.css | 8 +++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/build_html.py b/build_html.py index 211eb94..fd577b8 100644 --- a/build_html.py +++ b/build_html.py @@ -48,6 +48,8 @@ with open(org_fp, "r") as org: continue if ":private:" in line: continue + if ":info:" in line: + continue events.append(Event(line)) @@ -61,7 +63,7 @@ if not os.path.isdir(__here__ / "public"): head = """ - + agenda.blaise.zone @@ -72,14 +74,16 @@ with open(__here__ / "public" / "index.html", "w") as html: html.write("\n") html.write(head) html.write("\n") - html.write("

agenda.blaise.zone

\n") + html.write("

blaise-agenda

\n") + html.write("
") + html.write("

") html.write("Welcome to my public agenda!
\n") html.write("All timestamps are in 'blaise-local-time'.
\n") html.write("Thanks for stopping by! —Blaise\n") + html.write("

") # body monday = today - datetime.timedelta(days=today.weekday()) while True: - html.write("
") year, week, day = monday.isocalendar() id = f"{year}-w{week}" html.write( diff --git a/public/style.css b/public/style.css index 8a1a7d6..9cff696 100644 --- a/public/style.css +++ b/public/style.css @@ -4,13 +4,15 @@ a { } body { - font-family: sans-serif; + font-family: 'DejaVu Sans Mono', monospace; margin: 40px auto; - max-width: 650px; - line-height: 1.6; + min-width: 80ch; + max-width: 80ch; + line-height: 1.5; font-size: 16px; background-color: #1d1f21; color: #c5c8c6; padding: 0 10px; text-align: left; + overflow-y: scroll; } -- cgit v1.2.3