From: Valessio Soares de Brito Date: Tue, 3 Sep 2019 19:22:30 +0000 (-0400) Subject: Add style news view X-Git-Url: https://vcs.fsf.org/?p=ryf-theme.git;a=commitdiff_plain;h=9d4869aa16c755960f475fefa0ec6e3605cbab4f;ds=inline Add style news view --- 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;