rss2email: Update CSS for better readability

This commit is contained in:
Alex Palaistras 2022-10-13 19:07:16 +01:00
parent 48abe1c3db
commit ec0b4c697b
2 changed files with 4 additions and 6 deletions

View File

@ -5,9 +5,8 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \
ca-certificates git gettext gosu \ ca-certificates git gettext gosu \
python3 python3-setuptools python3-feedparser python3-html2text python3-bs4 python3 python3-setuptools python3-feedparser python3-html2text python3-bs4
RUN git clone https://github.com/rss2email/rss2email /tmp/rss2email && \ RUN git clone --branch ${VERSION} --depth 1 https://github.com/rss2email/rss2email /tmp/rss2email && \
cd /tmp/rss2email && git reset --hard ${VERSION} && \ cd /tmp/rss2email && python3 setup.py install && \
python3 setup.py install && \
rm -Rf /tmp/rss2email rm -Rf /tmp/rss2email
RUN addgroup --system --gid 10000 rss2email RUN addgroup --system --gid 10000 rss2email

View File

@ -9,14 +9,12 @@ multipart-html = True
use-css = True use-css = True
css = css =
html { html {
font-size: 1.1em;
line-height: 1.75;
margin: 0 auto; margin: 0 auto;
max-width: 900px; max-width: 900px;
padding: 1em 0; padding: 1em 0;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
margin: 1em 0; margin: 0.5em 0;
text-decoration: none; text-decoration: none;
} }
img { img {
@ -25,6 +23,7 @@ css =
p, ul, ol { p, ul, ol {
color: #1d1d1d; color: #1d1d1d;
font-family: sans-serif; font-family: sans-serif;
line-height: 1.5;
margin-bottom: 1em; margin-bottom: 1em;
} }
email-protocol = smtp email-protocol = smtp