From 3ee22fb430f012c9f3ceaacd1f4abb028da2ec4b Mon Sep 17 00:00:00 2001 From: Eldred Habert Date: Sun, 23 May 2021 16:10:26 +0200 Subject: [PATCH] Apply max width to video as well as images Since videos are essentially animated images, this same max width makes sense for both. --- src/theme/css/general.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/css/general.css b/src/theme/css/general.css index d437b51c..2cf347f9 100644 --- a/src/theme/css/general.css +++ b/src/theme/css/general.css @@ -92,7 +92,7 @@ h6:target::before { .content ul { line-height: 1.45em; } .content a { text-decoration: none; } .content a:hover { text-decoration: underline; } -.content img { max-width: 100%; } +.content img, .content video { max-width: 100%; } .content .header:link, .content .header:visited { color: var(--fg);