From 5d671b9b0ad375936a8a5398c047d8ef2101dd40 Mon Sep 17 00:00:00 2001 From: Dominik Pfennig <dominik@suma-ev.de> Date: Thu, 16 Jun 2016 10:00:49 +0200 Subject: [PATCH] =?UTF-8?q?Style=20f=C3=BCr=20die=20mobile=20Version=20rep?= =?UTF-8?q?ariert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/styleResultPage.css | 27 +++++--------------- public/css/styleResultPageMobile.css | 5 +--- resources/views/layouts/result.blade.php | 4 ++- resources/views/layouts/resultPage.blade.php | 14 +++++----- 4 files changed, 19 insertions(+), 31 deletions(-) diff --git a/public/css/styleResultPage.css b/public/css/styleResultPage.css index cfd178a1f..86884153c 100644 --- a/public/css/styleResultPage.css +++ b/public/css/styleResultPage.css @@ -432,28 +432,15 @@ a:hover color:green; } /* Style für den Footer */ -.footer{ - padding: 15px 0; - margin-top:50px; - margin-bottom: 0; -} -.footer a{ - color:black; -} -.footer li{ - width:49%; - padding:0; - margin:0; - text-align:center; -} -.footer .left{ - text-align:right; - padding-right:20px; +footer{ + text-align: center; + } -.footer .right{ - text-align:left; - padding-left:20px; + +footer a{ + color: black!important; } + /* Ein resetter für Floats */ .clearfix{ clear:both; diff --git a/public/css/styleResultPageMobile.css b/public/css/styleResultPageMobile.css index 87ef3e072..25fb74401 100644 --- a/public/css/styleResultPageMobile.css +++ b/public/css/styleResultPageMobile.css @@ -52,10 +52,7 @@ header nav { .result{ padding:0; } -.result > .resultInformation{ - margin-left:0; - padding-left:0; -} + .result .link a{ white-space:nowrap; overflow:hidden; diff --git a/resources/views/layouts/result.blade.php b/resources/views/layouts/result.blade.php index 1bbd5c663..cdd9e06b4 100644 --- a/resources/views/layouts/result.blade.php +++ b/resources/views/layouts/result.blade.php @@ -7,8 +7,10 @@ <div class="image col-xs-2 col-sm-1"> <img src="{{ $metager->getImageProxyLink($result->image) }}" alt="" /> </div> - @endif <div class="resultInformation col-xs-10 col-sm-10"> + @else + <div class="resultInformation col-xs-12 col-sm-12"> + @endif <p class="title"> <a class="title" href="{{ $result->link }}" target="{{ $metager->getTab() }}" data-hoster="{{ strip_tags($result->gefVon) }}" data-count="{{ $result->number }}"> {{ $result->titel }} diff --git a/resources/views/layouts/resultPage.blade.php b/resources/views/layouts/resultPage.blade.php index eb0d11dee..04035280c 100644 --- a/resources/views/layouts/resultPage.blade.php +++ b/resources/views/layouts/resultPage.blade.php @@ -46,12 +46,14 @@ @endif <footer> - <ul class="list-unstyled list-inline footer"> - <li class="left"><a class="btn btn-default" href="/">MetaGer-Startseite</a> - </li> - <li class="right"><a class="btn btn-default" href="/impressum/">Impressum</a> - </li> - </ul> + <div class="row"> + <div class="col-xs-6"> + <a class="btn btn-default" href="/">MetaGer-Startseite</a> + </div> + <div class="col-xs-6"> + <a class="btn btn-default" href="/impressum/">Impressum</a> + </div> + </div> </footer> <script src="/js/jquery.js" type="text/javascript"></script> <script src="/js/bootstrap.js" type="text/javascript"></script> -- GitLab