diff --git a/themes/varia/static/css/main.css b/themes/varia/static/css/main.css index 3c96d05f3..1eae1ed76 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{