emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] main f6b85cd7d9 1/2: Add support for Atom links as a badge


From: Philip Kaludercic
Subject: [elpa] main f6b85cd7d9 1/2: Add support for Atom links as a badge
Date: Wed, 1 May 2024 16:01:08 -0400 (EDT)

branch: main
commit f6b85cd7d9db0335d6b9a3f40788b6ca966ddb31
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    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
---
 html/images/rss.svg | 9 +++++++++
 html/layout.css     | 5 +++++
 2 files changed, 14 insertions(+)

diff --git a/html/images/rss.svg b/html/images/rss.svg
new file mode 100644
index 0000000000..4bca0759ba
--- /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 7d3be41ffd..e0746d96c0 100644
--- a/html/layout.css
+++ b/html/layout.css
@@ -358,3 +358,8 @@ ul {
 li {
   margin-bottom: 0.25em;
 }
+
+.badge {
+    float: right;
+    display: block;
+}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]