changeset 108:98cab6b754d3

css (blog): set a max-width for videos
author Goffi <goffi@goffi.org>
date Wed, 24 Jan 2018 19:15:43 +0100 (2018-01-24)
parents eabfb53f7777
children 7a67372ddd7b
files default/static/blog.css
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/default/static/blog.css	Wed Jan 24 09:14:12 2018 +0100
+++ b/default/static/blog.css	Wed Jan 24 19:15:43 2018 +0100
@@ -12,6 +12,12 @@
     transition: max-height 0.5s;
 }
 
+article video {
+    max-width: 100%;
+    height: auto;
+
+}
+
 .main_article article.box:not(.clicked) {
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;