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

index e9d3686f4f6bc085bd334792d17db6401fcbe6d6..bebc45bae90609ca9b59f73e2b7f464a9be02256 100644 (file)
@@ -106,7 +106,7 @@ h5.focus-title {
                width:60%;
        }
        .wrapper.navigation .rightPart{
-               width:35%;
+               width:30%;
        }
        .wrapper .leftPart{
                float:left;
@@ -359,24 +359,24 @@ body{
 }
 
 @media screen and (min-width: 760px) {
+       $player-width: 300px;
        #Commons {
                float: left;
                width: 20%;
-               width: -webkit-calc(0% + 240px);
-               width: -moz-calc(0% + 240px);
-               width: calc(0% + 240px);
+               width: -webkit-calc(0% + #{$player-width});
+               width: -moz-calc(0% + #{$player-width});
+               width: calc(0% + #{$player-width});
        }
        #Changing {
                position: relative;
                float: right;
                width: 78%;
-               width: -webkit-calc(100% - 280px);
-               width: -moz-calc(100% - 280px);
-               width: calc(100% - 280px);
+               width: -webkit-calc(100% - #{$player-width} - 40px);
+               width: -moz-calc(100% - #{$player-width} - 40px);
+               width: calc(100% - #{$player-width} - 40px);
        }
        #All h1.top {
                font-size: 50px;
-               text-transform: uppercase;
                padding-left: 0;
                padding-top: 2rem;
                padding-bottom: 0;