diff options
Diffstat (limited to 'templates')
| -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 | } |
