diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2014-06-27 16:03:34 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2014-06-27 16:03:34 +0200 |
| commit | ef69d6a086670fc0893715999f9fe69dd316486e (patch) | |
| tree | 80ff803b4e1d5c5958d065091c8ae0252dc22776 | |
| parent | d247d2362becbef2975e253becabd571d88a8f13 (diff) | |
Pager werden mobil besser angezeigt, Header wird mobil ausgeblendet
| -rw-r--r-- | css/astaf/layout.css | 22 | ||||
| -rw-r--r-- | css/yaml4/screen/astaf.css | 4 | ||||
| -rw-r--r-- | themes/astaf/views/layouts/main.php | 2 |
3 files changed, 25 insertions, 3 deletions
diff --git a/css/astaf/layout.css b/css/astaf/layout.css index 43ea7fe..36075a6 100644 --- a/css/astaf/layout.css +++ b/css/astaf/layout.css @@ -103,9 +103,12 @@ /*background: #4C8FEC url('/images/wetter/dust.png') center;*/ } + header {background-image:url('/images/Altstadtfest_titel.jpg');} -@media only screen and (max-width : 640px) { +@media only screen and (max-width : 555px) { + + header {background-image:none;} #submenu { font-size:1.5em; @@ -155,6 +158,23 @@ .ym-hlist ul li a, .ym-hlist ul li strong { font-size: 1.5em; } + + .list-view .pager { + + text-align: center; + } + .pager ul li { + line-height: 4em; + font-size: 2em; + } + ul.yiiPager li.page + { + display: none; + } + ul.yiiPager li.page.selected + { + display: inline; + } }
\ No newline at end of file diff --git a/css/yaml4/screen/astaf.css b/css/yaml4/screen/astaf.css index 764f458..33ea457 100644 --- a/css/yaml4/screen/astaf.css +++ b/css/yaml4/screen/astaf.css @@ -160,10 +160,11 @@ } } -@media screen and ( max-width: 480px) { +@media screen and ( max-width: 555px) { header .ym-wbox { padding: 0.75em 10px; + } footer .ym-wbox, @@ -178,6 +179,7 @@ font-size: 1.5em; line-height: 1em; margin: 0; + } /* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */ diff --git a/themes/astaf/views/layouts/main.php b/themes/astaf/views/layouts/main.php index cc6e277..ea0eb4c 100644 --- a/themes/astaf/views/layouts/main.php +++ b/themes/astaf/views/layouts/main.php @@ -59,7 +59,7 @@ <li><a class="ym-skip" href="#main">Skip to main content (Press Enter)</a></li> </ul> -<header style="background-image:url('<?php echo Yii::app()->request->baseUrl; ?>/images/Altstadtfest_titel.jpg');"> +<header > <div class="ym-wrapper"> <div class="ym-wbox"> <h1><?php echo CHtml::encode(Yii::app()->name);?></h1> |
