From c97cc1487cbcac2c4fbc4d9e931a82df109af2e6 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 2 Mar 2016 12:31:25 +0100 Subject: a simple cover-photo implementation for redbasic default template --- view/css/default.css | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'view/css') diff --git a/view/css/default.css b/view/css/default.css index bffecbb81..f6857ec83 100644 --- a/view/css/default.css +++ b/view/css/default.css @@ -12,29 +12,18 @@ main { position: relative; width: 100%; height: 100%; + padding-top: 71px; } aside { display: table-cell; vertical-align: top; - padding: 80px 7px 0px 7px; + padding: 0px 7px 0px 7px; } section { width: 100%; display: table-cell; vertical-align: top; - padding: 80px 7px 200px 7px; -} - -@media screen and (max-width: 767px) { - - section { - padding: 65px 7px 200px 7px; - } - - aside#region_1 { - padding: 65px 7px 0px 7px; - } - + padding: 0px 7px 200px 7px; } -- cgit v1.2.3 From d3f2d2a2dbba70403d197221500aeae80d541557 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 2 Mar 2016 14:30:33 +0100 Subject: small fix to simple cover-photo --- view/css/default.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'view/css') diff --git a/view/css/default.css b/view/css/default.css index f6857ec83..db0628cb3 100644 --- a/view/css/default.css +++ b/view/css/default.css @@ -12,18 +12,17 @@ main { position: relative; width: 100%; height: 100%; - padding-top: 71px; } aside { display: table-cell; vertical-align: top; - padding: 0px 7px 0px 7px; + padding: 71px 7px 0px 7px; } section { width: 100%; display: table-cell; vertical-align: top; - padding: 0px 7px 200px 7px; + padding: 71px 7px 200px 7px; } -- cgit v1.2.3