diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 802737d..09f93ce 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -40,10 +40,9 @@ {{- $reply = false }} {{- end }} {{- if eq $reply true }} -
- {{- if (eq $reply true) }} - 📧 Reply by email - {{- end }} +
+ Enjoyed this? + 📧 Reply by email {{- end }} {{ end }} diff --git a/static/css/custom.css b/static/css/custom.css index d037e3f..dde813d 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -403,3 +403,27 @@ p:has(+ ul) { } } +/* Cabin kudos styling */ +.post_kudos { + display: flex; +} + +button.kudos { + border: 0; + background-color: transparent; + cursor: pointer; + display: flex; + color: var(--off-fg); + font-size: 1.2rem; + padding: 0; + transition: all .2s ease-in-out; +} + +button.kudos:hover { + transform: scale(1.1); + text-shadow: var(-off-bg) 0 0 1px; +} + +button.kudos:active { + transform: scale(0.9); +} \ No newline at end of file