From: Frédéric Péters Date: Wed, 25 Sep 2013 22:47:00 +0000 (+0200) Subject: change player to be vertical, like earlier mockups X-Git-Tag: v2021~691 X-Git-Url: https://git.0d.be/?p=panikweb.git;a=commitdiff_plain;h=a5549c4687036b339eeae62cb0b031c7ecd4a528 change player to be vertical, like earlier mockups --- diff --git a/panikweb_templates/static/css/specifics.css b/panikweb_templates/static/css/specifics.css index 9bd6979..07aa197 100644 --- a/panikweb_templates/static/css/specifics.css +++ b/panikweb_templates/static/css/specifics.css @@ -64,7 +64,7 @@ /****************************************************/ /* WRAPPER */ /****************************************************/ -.wrapper {max-width: 1260px; margin:auto;padding:0 10%;} +.wrapper {max-width: 1260px; margin:auto;padding:0 1%;} .wrapper.text {max-width: 780px; margin:auto;} .wrapper.half {max-width: 510px; margin:auto;} .wrapper.sided{ max-width:1260px; } @@ -188,7 +188,7 @@ button.check:before, a.check:before { /**** BODY ****/ /****************************************************/ body{ - background: #ddd; + background: white; color: #333; } /****************************************************/ @@ -257,12 +257,6 @@ body{ } #Commons .wrapper{ } -#Commons #backgroundBox{ - margin-top:25px; - padding-top:25px; - padding-bottom:50px; - background:white 0% 0% no-repeat url('../img/logoPanik.png'); -} #mainHeader { padding-bottom:1em; } @@ -287,6 +281,42 @@ body{ margin:1em 0; } + +@media screen and (min-width: 600px) { + #Commons { + float: left; + width: 20%; + width: calc(0% + 280px); + } + #Changing { + float: right; + width: 78%; + width: calc(100% - 300px); + margin-left: 20px; + } + #All h1.top { + font-size: 120px; + font-family: Reglo; + text-transform: uppercase; + -webkit-transform: scale(0.5, 1); + -webkit-transform-origin: 0; + padding-left: 0; + } + + #backgroundBox h1 { + color: #ff6600 !important; + } + + #Player #CurrentlyPlaying { + margin-top: 50px; + } + + #Player .fixed #CurrentlyPlaying { + margin-top: 0; + } + +} + /****************************************************/ /**** SCREEN NAV ****/ #Nav{ diff --git a/panikweb_templates/templates/base.html b/panikweb_templates/templates/base.html index b50b7b4..1a86f9e 100644 --- a/panikweb_templates/templates/base.html +++ b/panikweb_templates/templates/base.html @@ -47,11 +47,10 @@
-
-

Radio Panik 105.4 FM

- +
+

Media

-
+
{% block listen %}{% player %}{% endblock %}
@@ -67,12 +66,12 @@ -
+
{% piwik %}