commit 1902b9944c40cbb521cc79ac40db7619b17ffb85 parent 86a4bf114555c66e9f7b094eaf2d7dfef2d1c042 Author: Martin Kloeckner <mjkloeckner@gmail.com> Date: Tue, 1 Sep 2026 12:43:53 -0300 Change RSS logo Diffstat:
| M | css/style.css | | | 25 | +++++++++++++++++++++++++ |
| M | index.html | | | 6 | ++---- |
2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css @@ -134,6 +134,31 @@ table { width: 100%; } +#rss { + display: inline-flex; + width: 28px; + height: 28px; + align-items: center; + justify-content: center; + color: var(--fg-color); + margin-left: 8px; + margin-bottom: 8px; + /* padding-left: 8px; */ + /* padding-bottom: 8px; */ + opacity: 60%; +} + +#rss svg { + width: 22px; + height: 22px; + fill: currentColor; +} + +#rss:hover, +#color-scheme-button:hover { + opacity: 100%; +} + article { color: var(--fg-color); diff --git a/index.html b/index.html @@ -29,10 +29,8 @@ <div id=latest-uploads > <div id=latest-uploads-title > - <h2>Latest blog posts</h2> - <div> - <a href="/rss.xml" id="rss"><img style="width: 1.25em;" src="/common/rss_logo.png" alt="rss logo"></a> - </div> + <h2>Latest blog posts</h2> + <a href="/rss.xml" id="rss"><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#FFFFFF"><path d="M143.5-143.5Q120-167 120-200t23.5-56.5Q167-280 200-280t56.5 23.5Q280-233 280-200t-23.5 56.5Q233-120 200-120t-56.5-23.5ZM680-120q0-117-44-218.5T516-516q-76-76-177.5-120T120-680v-120q142 0 265 53t216 146q93 93 146 216t53 265H680Zm-240 0q0-67-25-124.5T346-346q-44-44-101.5-69T120-440v-120q92 0 171.5 34.5T431-431q60 60 94.5 139.5T560-120H440Z"/></svg></a> </div> <div id=latest-uploads-blog-entries>
