From: Valessio Soares de Brito Date: Thu, 29 Aug 2019 18:53:19 +0000 (-0400) Subject: style button more-link and icon feed rss X-Git-Url: https://vcs.fsf.org/?p=ryf-theme.git;a=commitdiff_plain;h=3cc6e9f47a5868b4e23f485ec47bae6328b2450d;hp=092ce1929878c0c25fa240bf472d79ed7d672ce2 style button more-link and icon feed rss --- 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 @@ +