From bd79939d7185209ee0b334c447bfc56ce508f11a Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Sun, 9 Dec 2018 18:39:36 +0100 Subject: Update theme --- themes/elenq/static/css/style.css | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'themes/elenq/static/css/style.css') diff --git a/themes/elenq/static/css/style.css b/themes/elenq/static/css/style.css index 0f27a5f..c4b257c 100644 --- a/themes/elenq/static/css/style.css +++ b/themes/elenq/static/css/style.css @@ -283,7 +283,7 @@ p { .entry-content{ - margin-top: 3rem; + margin-top: 1rem; } .entry-content table{ @@ -313,3 +313,32 @@ li{ width: 120px; margin-top: 0; } + + +/* News section in the first page + */ + +.hentry p{ /* Reduce margin in the news section*/ + margin-bottom: 1ex; +} + +.published{ + font-style: italic +} + +@media (min-width: 800px){ /*more than a tablet*/ + .hentry header{ + width: 100%; + min-width: 100%; + display: inline-flex; + flex: 1; + -webkit-flex: 1; /* Safari 6.1+ */ + -ms-flex: 1; /* IE 10 */ + justify-content: space-between; + flex-wrap: nowrap; + align-items: baseline; + } + .published{ + font-style: normal; + } +} -- cgit v1.2.3