From 6ee7245390cdf4e19fef82c2423ba325adea4114 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 31 Oct 2023 10:40:06 +0100 Subject: Updated theme --- templates/base.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index 7c3bea9..f7331ce 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,6 +9,7 @@ {{ block "title" . }}{{ .Config.Title }}{{ end }} + @@ -113,6 +114,9 @@ margin-inline-end: 0; } + figure img { + } + figcaption { text-align: center; } @@ -124,6 +128,8 @@ img, video, audio { width: 800px; max-width: 100%; + border: var(--border-size) solid var(--border-color); + padding: 0.5em; } header nav { @@ -131,6 +137,10 @@ gap: 0.9rem; } + article iframe { /* fixes embeds going to center */ + margin: 0!important; + } + audio::-webkit-media-controls-enclosure { border-radius: 0; } -- cgit v1.2.3