From eb95166fba0e02c23a3e033658659e0a6b064419 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 12 Dec 2016 18:50:40 +1100 Subject: [PATCH] Add responsive calendar styling --- assets/css/sportspress-style.css | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/assets/css/sportspress-style.css b/assets/css/sportspress-style.css index 4fa053a2..f469f076 100644 --- a/assets/css/sportspress-style.css +++ b/assets/css/sportspress-style.css @@ -241,6 +241,10 @@ display: table-caption !important; } +.sp-template-event-calendar td { + padding: 10px 5px !important; +} + .sp-template-event-calendar tfoot td { padding: 10px 15px !important; border: none !important; @@ -372,8 +376,22 @@ /* Media Queries */ -@media screen and (min-width: 801px) { +@media screen and (min-width: 601px) { + .sp-template-event-calendar tbody td { + padding: 15px 5px !important; + } + + .widget .sp-template-event-calendar tbody td { + padding: 10px 5px !important; + } } -@media screen and (min-width: 601px) { +@media screen and (min-width: 801px) { + .sp-template-event-calendar tbody td { + padding: 20px 5px !important; + } + + .widget .sp-template-event-calendar tbody td { + padding: 10px 5px !important; + } } \ No newline at end of file