werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

commit 35eda0ff53038d604db8ca39bedfaf95b45bb5e5
parent be641c2e402ab4c4b4bfd73d8927a7930a115b56
Author: Nuno Sempere <nuno.semperelh@protonmail.com>
Date:   Mon, 31 Oct 2022 18:18:27 +0000

feat: add email list.

Diffstat:
Mapps/blagh/app.rc | 2+-
Mpub/style/style.css | 33+++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc @@ -76,7 +76,7 @@ fn blagh_body { # Direct links to feeds are disabled because they are not very useful, add clutter and might waste pagerank. # An user can add this on their own using handlers_body_head anyway. - echo '<p><a href="index.rss">RSS Feed</a>, <a href="../sitemap">all content</a></p>' + echo '<p><a href="index.rss">RSS Feed</a>, <a href="../.subscribe">subscribe per email</a>, <a href="../sitemap">all content</a></p>' # |<a href="index.atom">Atom Feed</a></div>' # Markdown posts diff --git a/pub/style/style.css b/pub/style/style.css @@ -263,3 +263,36 @@ th { display: none; } } + +/* Newsletter stuff */ + +input.button { + background: #0055d4; + padding: 15px 30px; + border-radius: 3px; + border: 0; + cursor: pointer; + text-decoration: none; + color: #ffff; + display: inline-block; + min-width: 150px; + font-size: 20px; + text-align: center; +} + +input[type="text"], input[type="email"], select { + padding: 10px 15px; + border: 1px solid #888; + border-radius: 3px; + width: 33%; + box-shadow: 2px 2px 0 #f3f3f3; + border: 1px solid #ddd; + font-size: 20px; +} +input:focus { + border-color: #0055d4; +} + +input:focus::placeholder { + color: transparent; +}