summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--page.html.erb4
-rw-r--r--public/assets/style.css16
2 files changed, 20 insertions, 0 deletions
diff --git a/page.html.erb b/page.html.erb
index 71378a5..69ccc3a 100644
--- a/page.html.erb
+++ b/page.html.erb
@@ -12,6 +12,10 @@
<%= @page.content %>
</article>
<footer>
+ <aside class="sponsor"><p>I'd love it if you <a class="em"
+ href="/sponsor/">sponsored me</a>. It will allow me to continue
+ my work on the GNU/Linux ecosystem. Thanks!</p></aside>
+
<%= @page.rights %>
</footer>
</body>
diff --git a/public/assets/style.css b/public/assets/style.css
index 1dbdb3d..f345dc1 100644
--- a/public/assets/style.css
+++ b/public/assets/style.css
@@ -165,3 +165,19 @@ a {
a:hover, a:focus {
text-decoration: underline;
}
+
+a.em, a.em:visited {
+ color: #0000ee;
+ font-weight: bold;
+}
+
+/* beg banner */
+
+aside.sponsor {
+ margin: 0 auto;
+ width: 80%;
+ font-size: 142%;
+ padding: 1em 1.5em;
+ background: #DDDDFF;
+ font-weight: bold;
+}