diff --git a/_embed/public/css/styles.css b/_embed/public/css/styles.css index 150ee9b2..94bc031e 100644 --- a/_embed/public/css/styles.css +++ b/_embed/public/css/styles.css @@ -23,6 +23,11 @@ img { max-width: 100%; } +audio, +video { + width: 100%; +} + pre { padding: 1em; border: 1px solid #e6e6e6; @@ -721,12 +726,19 @@ header .actions { vertical-align: bottom; } -#listing .message { +.message { text-align: center; font-size: 3em; - margin: 1em 0; + margin: 1em auto; display: block !important; width: 95%; + color: rgba(0, 0, 0, 0.2); + font-weight: 500; +} + +.message i { + font-size: inherit; + vertical-align: middle; } diff --git a/_embed/templates/single.tmpl b/_embed/templates/single.tmpl index b22bb7a5..46ac9292 100644 --- a/_embed/templates/single.tmpl +++ b/_embed/templates/single.tmpl @@ -2,7 +2,7 @@ {{ with .Data}}
{{ if eq .Type "image" }} - +
{{ else if eq .Type "audio" }} {{ else if eq .Type "video" }} @@ -12,7 +12,7 @@ and watch it with your favorite video player! {{ else if eq .Type "blob" }} - Download +

Download file_download

{{ else}}
{{ .StringifyContent }}
{{ end }}