From 5615622fa348c39e133233d02a76811d086f84f0 Mon Sep 17 00:00:00 2001 From: Ove Klykken Date: Fri, 25 Jul 2014 17:04:54 -0400 Subject: [PATCH] Resposive part of slideshow and calendar column on home page --- .../templates/rotatingImages.html | 4 +-- styles.css | 36 ++++++++++++++++++- templates/template.html | 13 +++---- 3 files changed, 44 insertions(+), 9 deletions(-) diff --git a/Toolkit/RotatingImages/templates/rotatingImages.html b/Toolkit/RotatingImages/templates/rotatingImages.html index 7c938bc..5e71f98 100755 --- a/Toolkit/RotatingImages/templates/rotatingImages.html +++ b/Toolkit/RotatingImages/templates/rotatingImages.html @@ -20,14 +20,14 @@ } {if:images} -
+
{foreach:images,image} {image.toHtml():h} {end:}
-
+
{if:image.getTitle()}{image.getTitle()}{end:} {if:image.getDescr()}{image.getDescr()}{end:} diff --git a/styles.css b/styles.css index 8265378..944961d 100755 --- a/styles.css +++ b/styles.css @@ -1,3 +1,12 @@ +#slideshow { + position: relative; + } +#slider-wrapper { + position: absolute !important; + top: 0; + left: 0; + } + nav.tab-bar a #logoTop { margin-left: 60px; max-height: 100%;} @@ -243,7 +252,18 @@ a:hover { #footer div#copyright a { display: inline; } -/* Events on Home Page */ +/* Events on Home Page +#eventHomeColumn { + height: 480px; + } + */ +/* @media only screen and (max-width: 55em) { + #eventHomeColumn { + max-height: 350px; + } + } +} +*/ #homepage_events_wrapper { background: #216083; } @@ -276,6 +296,19 @@ a:hover { font-size: 12px; padding: 8px 7px; } +@media only screen and (max-width: 58em) { + #eventCalendar td { + padding: 5px; + } + } +@media only screen and (max-width: 50em) { + #eventCalendar table { + display: none; + } + } +#eventCalendar th { + padding: 2px; + } #eventCalendar table, #eventCalendar tr, #eventCalendar th, @@ -386,6 +419,7 @@ a:hover { /* end subsub */ #main { margin-top: 16px; + clear: both; } #breadcrumbs { font-size: 12px; diff --git a/templates/template.html b/templates/template.html index 8c4940a..0db28e2 100755 --- a/templates/template.html +++ b/templates/template.html @@ -66,14 +66,15 @@
-
-
-
+
+
+
+ {rotatingImages:h}
-