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/news.css | 27 --------------------------- themes/elenq/static/css/style.css | 31 ++++++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 28 deletions(-) delete mode 100644 themes/elenq/static/css/news.css (limited to 'themes/elenq/static/css') diff --git a/themes/elenq/static/css/news.css b/themes/elenq/static/css/news.css deleted file mode 100644 index 957978b..0000000 --- a/themes/elenq/static/css/news.css +++ /dev/null @@ -1,27 +0,0 @@ -/* News section in the first page - */ - -.news p{ /* Reduce margin in the news section*/ - margin-bottom: 1ex; -} - -.news_date{ - font-style: italic; -} -@media (min-width: 800px){ /*more than a tablet*/ - .news_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; - } - .news_date{ - font-style: normal; - font-size: 110%; - } -} 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