summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2024-05-01 15:04:05 +0200
committerPhilip Kaludercic <philipk@posteo.net>2024-05-01 22:00:19 +0200
commitf6b85cd7d9db0335d6b9a3f40788b6ca966ddb31 (patch)
tree6a569eccefd2740f591d7410de689ee89f119a2c /html
parente4aa651d0e347441f1fc0aef287f2049e0dbe999 (diff)
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
Diffstat (limited to 'html')
-rw-r--r--html/images/rss.svg9
-rw-r--r--html/layout.css5
2 files changed, 14 insertions, 0 deletions
diff --git a/html/images/rss.svg b/html/images/rss.svg
new file mode 100644
index 0000000..4bca075
--- /dev/null
+++ b/html/images/rss.svg
@@ -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>
diff --git a/html/layout.css b/html/layout.css
index 7d3be41..e0746d9 100644
--- a/html/layout.css
+++ b/html/layout.css
@@ -358,3 +358,8 @@ ul {
li {
margin-bottom: 0.25em;
}
+
+.badge {
+ float: right;
+ display: block;
+}