diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d69fb7b..30b8d6b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -42,6 +42,12 @@ {{ end }} {{ partial "link.html" . }} + {{ with .RSSLink }} + + {{ end }}
diff --git a/static/css/main.css b/static/css/main.css index 4d353af..8f81275 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -10,6 +10,7 @@ main { } .header-text { + position: relative; height: 100%; background-color: rgba(0, 0, 0, 0.4); color: rgba(255, 255, 255, 0.9); @@ -60,6 +61,25 @@ main { text-decoration: none; } +a.btn-subscribe { + position: absolute; + top: 20px; + right: 20px; + padding: 7px 16px; + border: 1px solid rgba(255, 255, 255, 1.0); + border-radius: 3px; + color: rgba(255, 255, 255, 1.0); + text-decoration: none; + font-weight: 300; + font-size: 13px; + transition: color,background-color 0.1s linear; +} + +a.btn-subscribe:hover { + background-color: rgba(255, 255, 255, 1.0); + color: rgba(0, 0, 0, 1.0); +} + /* Footer */ .global-footer {