comparison default/static/blog.css @ 109:7a67372ddd7b

css (blog): height adjustement of folded articles
author Goffi <goffi@goffi.org>
date Wed, 24 Jan 2018 19:20:19 +0100
parents 98cab6b754d3
children 5d9e2270ceb4
comparison
equal deleted inserted replaced
108:98cab6b754d3 109:7a67372ddd7b
4 position: relative; 4 position: relative;
5 margin: 2% auto; 5 margin: 2% auto;
6 border-style: solid none none; 6 border-style: solid none none;
7 border-width: 1px; 7 border-width: 1px;
8 padding: 2%; 8 padding: 2%;
9 min-height: 8em; 9 min-height: 9em;
10 max-height: 10em; 10 max-height: 20em;
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 { 15 article video {
16 max-width: 100%; 16 max-width: 100%;
17 height: auto; 17 height: auto;
18
19 } 18 }
20 19
21 .main_article article.box:not(.clicked) { 20 .main_article article.box:not(.clicked) {
22 border-bottom-right-radius: 0; 21 border-bottom-right-radius: 0;
23 border-bottom-left-radius: 0; 22 border-bottom-left-radius: 0;