Add support for Atom links as a badge

* (html/images/rss.svg): Add new custom icon.  I wrote it by hand to
avoid licensing issues.  Based on [0].
(html/layout.css): Add "badge" class to push the Atom link badge to
the side of the page.

[0] https://en.wikipedia.org/wiki/File:Feed-icon.svg
main
Philip Kaludercic 2024-05-01 15:04:05 +02:00
parent e4aa651d0e
commit f6b85cd7d9
2 changed files with 14 additions and 0 deletions

9
html/images/rss.svg Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="24px" height="24px" viewBox="0 0 256 256">
<rect width="256" height="256" rx="55" ry="55" x="0" y="0" fill="#C51"/>
<rect width="236" height="236" rx="47" ry="47" x="10" y="10" fill="#FA4"/>
<circle cx="68" cy="189" r="24" fill="#FFF"/>
<path d="M160 213h-34a82 82 0 0 0 -82 -82v-34a116 116 0 0 1 116 116z" fill="#FFF"/>
<path d="M184 213A140 140 0 0 0 44 73 V 38a175 175 0 0 1 175 175z" fill="#FFF"/>
</svg>

After

Width:  |  Height:  |  Size: 604 B

View File

@ -358,3 +358,8 @@ ul {
li {
margin-bottom: 0.25em;
}
.badge {
float: right;
display: block;
}