socials: add rss icon (#294)

This commit is contained in:
GovanifY 2024-02-04 18:19:15 +00:00 committed by GitHub
parent f0550d3b88
commit cb2678db29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 0 deletions

View File

@ -207,6 +207,13 @@ const config = {
"aria-label": "YouTube",
target: "_blank",
},
{
href: "https://pcsx2.net/blog/rss.xml",
position: "right",
className: "header-rss-link",
"aria-label": "RSS",
target: "_blank",
},
],
},
footer: {

View File

@ -203,6 +203,20 @@ aside > div > nav.menu {
brightness(103%) contrast(104%);
}
.header-rss-link::before {
content: "";
width: 24px;
height: 24px;
display: flex;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24px' height='24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20C5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27zm0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93z'/%3E%3C/svg%3E");
filter: var(--navbar-svg-icons-filter);
}
.header-rss-link:hover {
filter: invert(42%) sepia(24%) saturate(3714%) hue-rotate(175deg)
brightness(103%) contrast(104%);
}
/* Article CSS */
.blog-post-page header > h1 {