summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-04-14 16:02:27 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-04-14 16:02:27 -0600
commit924a33cd51fe8baf3f325a5296e53bf823f90e10 (patch)
tree892a562ba2704de15bab6d084aaece9b1e05276b
parentca9db4335ec863ace3f098adeef36529fb6fa859 (diff)
Add a "please sponsor me" beg banner to the footer
-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;
+}