From 4f97e29a98f77caa49958c4c479c85031cc15ae0 Mon Sep 17 00:00:00 2001 From: laron Date: Mon, 9 Sep 2013 11:09:29 +0200 Subject: [PATCH] Many small fixes for small screen (paddings) --- panikweb_templates/static/css/specifics.css | 14 ++++++-------- panikweb_templates/templates/emissions.html | 2 +- panikweb_templates/templates/emissions/resume.html | 4 ++-- panikweb_templates/templates/episodes/resume.html | 4 ++-- panikweb_templates/templates/home.html | 6 +----- panikweb_templates/templates/includes/week.html | 6 +++--- panikweb_templates/templates/news/inline.html | 10 ++++++---- panikweb_templates/templates/program.html | 6 +++++- panikweb_templates/templates/search/search.html | 8 ++++---- panikweb_templates/templates/week.html | 6 +++++- 10 files changed, 35 insertions(+), 31 deletions(-) diff --git a/panikweb_templates/static/css/specifics.css b/panikweb_templates/static/css/specifics.css index bc8cbbf..99b660c 100644 --- a/panikweb_templates/static/css/specifics.css +++ b/panikweb_templates/static/css/specifics.css @@ -66,7 +66,7 @@ /****************************************************/ /* WRAPPER */ /****************************************************/ -.wrapper {max-width: 1260px; margin:auto;} +.wrapper {max-width: 1260px; margin:auto;padding:0 1em 0 1em;} .wrapper.text {max-width: 780px; margin:auto;} .wrapper.half {max-width: 510px; margin:auto;} .wrapper.sided{ max-width:1260px; } @@ -607,7 +607,7 @@ body{ .episode.inline .logo{ min-height: 50px; float: left; - margin-right:1em; + margin-right:0.5em; } .episode.resume .sound{ float:right; @@ -652,9 +652,7 @@ body{ .episode.resume .content { padding-left: 4em; } -} -@media screen and (max-width: 300px) { - .episode.resume .logo{display:none;} + .resume .logo img,.inline .logo img{width:30px !important;} } /****************************************************/ @@ -720,7 +718,7 @@ body{ } .news li a{padding:1em;} -.news .logo{ +.news .logo img{ display:block; border-style:solid; border-width:2px; @@ -781,10 +779,10 @@ ul.newsSpecial{ } .program-week .programDate{ float:left; - width:5em; + width:3em; } .program-week .programCell{ - margin-left:6em; + margin-left:3.5em; } .program-week .nonStop .programDate{ visibility:hidden; diff --git a/panikweb_templates/templates/emissions.html b/panikweb_templates/templates/emissions.html index ef32d50..7d2f678 100644 --- a/panikweb_templates/templates/emissions.html +++ b/panikweb_templates/templates/emissions.html @@ -6,7 +6,7 @@ {% emission_nav with klass="emissions" %} {% endblock %} {% block main %} -
+