diff options
author | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2018-04-06 12:01:09 +0200 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2018-04-06 12:01:09 +0200 |
commit | fc476ec89f95a8011ae132dfda05d05ff4642d7a (patch) | |
tree | 0e807e86757f9555479354a6e26b24cf08370912 /themes/elenq/static/css/news.css |
Template V1
Diffstat (limited to 'themes/elenq/static/css/news.css')
-rw-r--r-- | themes/elenq/static/css/news.css | 27 |
1 files changed, 27 insertions, 0 deletions
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%; + } +} |