From 53beb543bbac412c458a4c495f744d02e9625203 Mon Sep 17 00:00:00 2001 From: Erik Strand <erik.strand@cba.mit.edu> Date: Sat, 20 Oct 2018 22:02:00 -0400 Subject: [PATCH] Style video elements like img elements --- layouts/partials/head.html | 1 + static/css/custom.css | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 static/css/custom.css diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a3a82f5..7cfce56 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -19,6 +19,7 @@ <link type="text/css" rel="stylesheet" href="/css/poole.css"> <link type="text/css" rel="stylesheet" href="/css/syntax.css"> <link type="text/css" rel="stylesheet" href="/css/hyde.css"> + <link type="text/css" rel="stylesheet" href="/css/custom.css"> {{ partial "head_fonts.html" . }} <!-- Icons --> diff --git a/static/css/custom.css b/static/css/custom.css new file mode 100644 index 0000000..07d0219 --- /dev/null +++ b/static/css/custom.css @@ -0,0 +1,7 @@ +video { + display: block; + margin: 0 0 1rem; + border-radius: 5px; + max-width: 100%; +} + -- GitLab