diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-10-31 10:40:06 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-10-31 10:40:06 +0100 |
| commit | 6ee7245390cdf4e19fef82c2423ba325adea4114 (patch) | |
| tree | 7e59c6084937997a62ccea261dac100dc97100a3 /templates/base.html | |
| parent | ae24d9a8869c497537839f330384cbadb2cf687c (diff) | |
| download | mitjafelicijan.com-6ee7245390cdf4e19fef82c2423ba325adea4114.tar.gz | |
Updated theme
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ | |||
| 9 | 9 | ||
| 10 | <title>{{ block "title" . }}{{ .Config.Title }}{{ end }}</title> | 10 | <title>{{ block "title" . }}{{ .Config.Title }}{{ end }}</title> |
| 11 | <meta name="description" content="{{ block "description" . }}{{ .Config.Description }}{{ end }}"> | 11 | <meta name="description" content="{{ block "description" . }}{{ .Config.Description }}{{ end }}"> |
| 12 | <meta name="author" content="{{ .Config.Title }}"> | ||
| 12 | 13 | ||
| 13 | <link rel="alternate" type="application/rss+xml" title="Mitja Felicijan's posts" href="{{ .Config.BaseURL }}/index.xml"> | 14 | <link rel="alternate" type="application/rss+xml" title="Mitja Felicijan's posts" href="{{ .Config.BaseURL }}/index.xml"> |
| 14 | <link rel="alternate" type="application/rss+xml" title="Mitja Felicijan's notes" href="{{ .Config.BaseURL }}/notes.xml"> | 15 | <link rel="alternate" type="application/rss+xml" title="Mitja Felicijan's notes" href="{{ .Config.BaseURL }}/notes.xml"> |
| @@ -113,6 +114,9 @@ | |||
| 113 | margin-inline-end: 0; | 114 | margin-inline-end: 0; |
| 114 | } | 115 | } |
| 115 | 116 | ||
| 117 | figure img { | ||
| 118 | } | ||
| 119 | |||
| 116 | figcaption { | 120 | figcaption { |
| 117 | text-align: center; | 121 | text-align: center; |
| 118 | } | 122 | } |
| @@ -124,6 +128,8 @@ | |||
| 124 | img, video, audio { | 128 | img, video, audio { |
| 125 | width: 800px; | 129 | width: 800px; |
| 126 | max-width: 100%; | 130 | max-width: 100%; |
| 131 | border: var(--border-size) solid var(--border-color); | ||
| 132 | padding: 0.5em; | ||
| 127 | } | 133 | } |
| 128 | 134 | ||
| 129 | header nav { | 135 | header nav { |
| @@ -131,6 +137,10 @@ | |||
| 131 | gap: 0.9rem; | 137 | gap: 0.9rem; |
| 132 | } | 138 | } |
| 133 | 139 | ||
| 140 | article iframe { /* fixes embeds going to center */ | ||
| 141 | margin: 0!important; | ||
| 142 | } | ||
| 143 | |||
| 134 | audio::-webkit-media-controls-enclosure { | 144 | audio::-webkit-media-controls-enclosure { |
| 135 | border-radius: 0; | 145 | border-radius: 0; |
| 136 | } | 146 | } |
