From 3cc6e9f47a5868b4e23f485ec47bae6328b2450d Mon Sep 17 00:00:00 2001 From: Valessio Soares de Brito Date: Thu, 29 Aug 2019 14:53:19 -0400 Subject: [PATCH] style button more-link and icon feed rss --- css/style.css | 30 +++++++++++++++++++++++++----- images/rss.svg | 1 + 2 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 images/rss.svg diff --git a/css/style.css b/css/style.css index d314151..f56a65b 100644 --- a/css/style.css +++ b/css/style.css @@ -19,18 +19,38 @@ a { transition: 0.3s; } h2.block-title { background: #000; color: #FFF; - padding: 5px; + padding: 0.5em; } -.feed-icons, -.more-link { - margin-top: 15px; - clear: both; +.feed-icons a { + background: url('../images/rss.svg') top left no-repeat; + background-size: contain; + width: 20px; + height: 20px; + overflow: hidden; + position: absolute; + top: 0px; + right: 10px; + margin-top: -50px; + text-indent: -1000px; } + +.view-display-id-news_page .feed-icons a { + margin-top: -30px; +} + .more-link { + border: 1px solid #ddd; + border-radius: .5em; + padding: .5em; + text-align: center; + width: 50%; + margin: 0 auto; font-weight: bold; } +.more-link:hover { border: 1px solid #000; } + .block-views { margin-top: 20px; } diff --git a/images/rss.svg b/images/rss.svg new file mode 100644 index 0000000..6792694 --- /dev/null +++ b/images/rss.svg @@ -0,0 +1 @@ + -- 2.25.1