commit f6017f2b8f777ff5321160b86e3578026791d5dd parent f3f0a8d060c5a20da3c360c89eddc0bd0aa2db48 Author: corndog <cauchyn@firemail.cc> Date: Sat, 23 Mar 2019 17:03:06 -0700 Denote when a link is to a PDF Diffstat:
| M | in/static/style.css | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/in/static/style.css b/in/static/style.css @@ -107,6 +107,15 @@ img.embed.left { } } +a[href$="pdf"]::after { + content: "[PDF]"; + display: inline-block; + font-size: 0.7em; + font-weight: 700; + margin-left: 2px; + vertical-align: text-top; +} + .bold-on-hover:hover { font-weight: 700; }