all repos — homestead @ 8c605e227429821928e91061a14bb0761e697317

Code for my website

fix CSP breaking styles in feed browser HTML preview

Alan Pearce
commit

8c605e227429821928e91061a14bb0761e697317

parent

4472f573a17963eb6037d6de583a9bd24f957b09

2 files changed, 6 insertions(+), 1 deletion(-)

jump to
M templates/feed-styles.xsltemplates/feed-styles.xsl
@@ -28,7 +28,7 @@ <!-- https://commons.wikimedia.org/wiki/File:Feed-icon.svg -->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" - style="width: 1.5ex; height: 1.5ex" + class="rss-icon" viewBox="0 0 256 256" > <rect width="256" height="256" x="0" y="0" fill="#7F7F7F" />
M templates/style.csstemplates/style.css
@@ -154,6 +154,11 @@ ul.h-feed li a:visited {
color: #8b6fcb; } +svg.rss-icon { + width: 1.5ex; + height: 1.5ex; +} + @media (prefers-color-scheme: dark) { body { background-color: #333;