diff --git a/images-src/rss-icon.svg b/images-src/rss-icon.svg new file mode 100644 index 0000000..39ff8ed --- /dev/null +++ b/images-src/rss-icon.svg @@ -0,0 +1,247 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/images/rss-icon.png b/images/rss-icon.png new file mode 100644 index 0000000..8e54a74 Binary files /dev/null and b/images/rss-icon.png differ diff --git a/sass/_header.sass b/sass/_header.sass index 2a35295..c7bf21e 100644 --- a/sass/_header.sass +++ b/sass/_header.sass @@ -82,3 +82,20 @@ .menuitem:active @include transition(none) @include transform(scale(1.1, 1.1)) + + a.rss-icon + display: inline-block + position: absolute + background: url('/images/rss-icon.png') 0 0 no-repeat + background-size: contain + border-radius: 5px + min-height: 25px + min-width: 25px + margin: 0 + top: 7px + right: 10px + + a.rss-icon:hover + @include transform(scale(1.1)) + a.rss-icon:active + @include transform(scale(0.9)) diff --git a/templates/partials/nav.haml b/templates/partials/nav.haml index 664b4b9..6289809 100644 --- a/templates/partials/nav.haml +++ b/templates/partials/nav.haml @@ -1,6 +1,7 @@ #nav.loading - %ul#nav-menu + %ul#nav-menu.container $for(pages)$ %li %a.menuitem(rel="address:$virtualpath$" href="$url$") $title$ $endfor$ + %a.rss-icon(href="atom.xml")