From fe76a4fe4e80d9ce21d10eb9c20420565b044a2c Mon Sep 17 00:00:00 2001 From: nathan peraldi Date: Wed, 22 Jan 2020 17:23:16 +0100 Subject: [PATCH 1/3] remove useless text generated by wordpress --- functions.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index e51ce8d..57cdb96 100644 --- a/functions.php +++ b/functions.php @@ -120,4 +120,10 @@ function sort_page($order, $page, $link) Date: Thu, 23 Jan 2020 11:18:00 +0100 Subject: [PATCH 2/3] edit: remove useless white space --- style.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/style.css b/style.css index 7987acc..1e9c9bd 100644 --- a/style.css +++ b/style.css @@ -22,10 +22,20 @@ max-width: 1200px; } } +.archive:not(.page-one-column):not(.has-sidebar) #primary article{ + float:none; + width:70%; +} +.page-header{ + display:none; +} .entry-title { color: #4891bf; } +.wrap{ + padding-top:0; +} /*************************************************************/ /*header*/ -- GitLab From 05f230d14a505aaca875d56fddafe3090cf0f405 Mon Sep 17 00:00:00 2001 From: nathan peraldi Date: Tue, 28 Jan 2020 15:56:57 +0100 Subject: [PATCH 3/3] add media queries for better responsive display --- style.css | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/style.css b/style.css index 1e9c9bd..27c2add 100644 --- a/style.css +++ b/style.css @@ -21,20 +21,30 @@ .navigation-top .wrap { max-width: 1200px; } + + .archive:not(.page-one-column):not(.has-sidebar) #primary article { + float: none; + width: 70%; + } } -.archive:not(.page-one-column):not(.has-sidebar) #primary article{ - float:none; - width:70%; + +@media screen and ( max-width: 66.99em ) { + .archive:not(.page-one-column):not(.has-sidebar) #primary article { + float: none; + width: 100%; + } } -.page-header{ - display:none; + +.page-header { + display: none; } .entry-title { color: #4891bf; } -.wrap{ - padding-top:0; + +.wrap { + padding-top: 0; } /*************************************************************/ @@ -44,9 +54,9 @@ #logo-adullact-big, #logo-adullact-small { max-width: 400px; } -.adullact-no-padding -{ - padding:0; + +.adullact-no-padding { + padding: 0; } /*************************************************************/ -- GitLab