From 9d4869aa16c755960f475fefa0ec6e3605cbab4f Mon Sep 17 00:00:00 2001 From: Valessio Soares de Brito Date: Tue, 3 Sep 2019 15:22:30 -0400 Subject: [PATCH] Add style news view --- css/style.css | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 1fc35d6..981214d 100644 --- a/css/style.css +++ b/css/style.css @@ -49,7 +49,7 @@ section { position: relative; } z-index: 9999; } -.region-content { min-height: 300px; } +.main-container { min-height: 50vh; } h2.block-title { background: #000; @@ -227,6 +227,36 @@ nav .search-block-form { } } +/* News */ + +.view-news article { + padding: 0.5em; + margin: 0 10%; +} + +.view-news p { + line-height: 1.5em; + font-size: 1.1em; +} + +.view-news .node-readmore { + padding: 0.5em 1em; + border: 1px solid #DDD; + border-radius: 0.5em; + float: right; +} + +.view-news .node-readmore:hover { + background: #EEE; + color: #000; +} + +.view-news footer { + color: #999; + padding: 0.5em; + text-align: right; +} + /* RYF List */ @@ -791,7 +821,6 @@ nav .search-block-form { /* Footer */ - .footer { background: #333; color: #FFF; -- 2.25.1