Styles: add size for video element

blog-move
Jae Lo Presti 2 months ago
parent 7643d7f3db
commit 8da04e4b29
Signed by: jae
SSH Key Fingerprint: SHA256:hmKix/+XG+9GEGHgDdiqXfmB2O7BU4CPVOoQoIYIQ2Y
  1. 5
      layouts/shortcodes/video.html
  2. 3
      static/main.css

@ -0,0 +1,5 @@
<video autobuffer autoloop loop controls>
<source src="{{ index .Params 0 }}">
<p><a href="/media/video.oga">Download this video file.</a></p>
</object>
</video>

@ -273,6 +273,7 @@ pre {
font-size: .8em;
}
img {
img,
video {
max-width: 15em;
}