From fc476ec89f95a8011ae132dfda05d05ff4642d7a Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Fri, 6 Apr 2018 12:01:09 +0200 Subject: Template V1 --- themes/elenq/static/css/news.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 themes/elenq/static/css/news.css (limited to 'themes/elenq/static/css/news.css') diff --git a/themes/elenq/static/css/news.css b/themes/elenq/static/css/news.css new file mode 100644 index 0000000..957978b --- /dev/null +++ b/themes/elenq/static/css/news.css @@ -0,0 +1,27 @@ +/* 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%; + } +} -- cgit v1.2.3