Mercurial > libervia-templates
comparison default/static/blog.css @ 108:98cab6b754d3
css (blog): set a max-width for videos
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 24 Jan 2018 19:15:43 +0100 |
parents | 65d41e16d1e0 |
children | 7a67372ddd7b |
comparison
equal
deleted
inserted
replaced
107:eabfb53f7777 | 108:98cab6b754d3 |
---|---|
10 max-height: 10em; | 10 max-height: 10em; |
11 overflow: hidden; | 11 overflow: hidden; |
12 transition: max-height 0.5s; | 12 transition: max-height 0.5s; |
13 } | 13 } |
14 | 14 |
15 article video { | |
16 max-width: 100%; | |
17 height: auto; | |
18 | |
19 } | |
20 | |
15 .main_article article.box:not(.clicked) { | 21 .main_article article.box:not(.clicked) { |
16 border-bottom-right-radius: 0; | 22 border-bottom-right-radius: 0; |
17 border-bottom-left-radius: 0; | 23 border-bottom-left-radius: 0; |
18 } | 24 } |
19 | 25 |