rss2email: Add custom CSS template
This commit is contained in:
parent
3422f39a84
commit
bafdb80fa2
|
@ -53,7 +53,7 @@ function sync-coreos-config() {
|
|||
done
|
||||
|
||||
# Copy files from temporary directory to host configuration directory.
|
||||
cp --verbose --recursive --update --target-directory "$hostdir" "$TEMP_CONFIG_PATH/.tmp/$dirname"/*
|
||||
(cd "$TEMP_CONFIG_PATH/.tmp/$dirname" && cp --verbose --recursive --update --target-directory "$hostdir" -- *)
|
||||
printf "done.\n"
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,28 @@ date-header = True
|
|||
html-mail = True
|
||||
multipart-html = True
|
||||
use-css = True
|
||||
post-process = rss2email.post_process.prettify process
|
||||
css =
|
||||
html {
|
||||
max-width: 70ch;
|
||||
padding: 3em 1em;
|
||||
margin: auto;
|
||||
line-height: 1.75;
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 3em 0 1em;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
p, ul, ol {
|
||||
margin-bottom: 2em;
|
||||
color: #1d1d1d;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
email-protocol = smtp
|
||||
smtp-auth = True
|
||||
smtp-username = ${RSS2EMAIL_SMTP_USERNAME}
|
||||
|
|
Loading…
Reference in New Issue