summaryrefslogtreecommitdiff
path: root/themes/elenq/static/css/news.css
diff options
context:
space:
mode:
Diffstat (limited to 'themes/elenq/static/css/news.css')
-rw-r--r--themes/elenq/static/css/news.css27
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%;
+ }
+}