]> git.0d.be Git - panikweb.git/commitdiff
style: limit width of player playlist
authorFrédéric Péters <fpeters@0d.be>
Mon, 11 Nov 2019 16:26:52 +0000 (17:26 +0100)
committerFrédéric Péters <fpeters@0d.be>
Thu, 26 Dec 2019 14:12:44 +0000 (15:12 +0100)
panikweb_templates/static/css/_specifics.scss

index 6f440ce05960e900797287b51ce5396dbb568940..115a4a0f76b43f0c3dd1a1070106cc868038783e 100644 (file)
@@ -4,6 +4,7 @@ $black: #000000;
 $white: #FFFFFF;
 $primary: #af0c06;
 $secondary: #af0c06;
+$player-width: 300px;
 
 /****************************************************/
 /* FONTS */
@@ -359,7 +360,6 @@ body{
 }
 
 @media screen and (min-width: 760px) {
-       $player-width: 300px;
        #Commons {
                float: left;
                width: 20%;
@@ -461,8 +461,10 @@ body{
 #backgroundBox {
        background: transparent 10px 15px no-repeat url(../img/logo-lautre.png);
        position: fixed;
+       max-width: $player-width - 20px;
        @media screen and (max-width:760px){
                position: static;
+               max-width: none;
        }
 }