Skip to content

Commit

Permalink
add rss icon to header
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Sep 16, 2023
1 parent 993ed95 commit 24edbc2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions icons/rss.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
<a href="./">
<h1>alifeee's blog</h1>
</a>
<a id="rss" href="./feed.xml">
<img alt="_RSS_" src="./icons/rss.svg" />
</a>
</header>

<main>
Expand Down
8 changes: 8 additions & 0 deletions stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ body {

header {
text-align: center;
position: relative;
}

header #rss {
position: absolute;
top: 50%;
right: -1rem;
transform: translateY(-50%);
}

main {
Expand Down

0 comments on commit 24edbc2

Please sign in to comment.