From a362a27f60d694fea120fa97832c171cc2153c55 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Fri, 9 Mar 2018 19:57:16 +0100 Subject: [PATCH] now really fixing the stream --- themes/varia/static/css/main.css | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/themes/varia/static/css/main.css b/themes/varia/static/css/main.css index 3c96d05f38..1eae1ed76a 100644 --- a/themes/varia/static/css/main.css +++ b/themes/varia/static/css/main.css @@ -172,35 +172,36 @@ header { #stream{ - display: inline-block; + position: absolute; + width: 100%; } - #stream .container{ + #stream a .container{ background-clip: padding-box; background-position: center center; background-size: cover; height: 600px; width: 100%; + background-color: black; } /* reset header img styles */ - #stream .container img{ + #stream a .container img{ min-width: none; min-height: none; width: none; height: none; } + #stream a{ + display: block; + } #stream.overview{ width: 100%; } -/* #stream.overview .container{ - margin: 0 1em 1em 0; - }*/ - - div#stream:nth-child(2n) { - transform: skew(-2deg); + div#stream a:nth-child(odd) { + transform: skew(-2deg); } - div#stream:nth-child(2n+1) { - transform: skew(2deg); + div#stream a:nth-child(even) { + transform: skew(2deg); } #translation{