From 2ecbd7fd0278e900b094f775538abf20f4791c51 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Fri, 24 Jul 2015 00:59:53 -0700 Subject: pyblog: add postprocessor process_footnote_backlinks Add class and variation selector (# U+FE0E: VARIATION SELECTOR-15) to U+21A9: LEFTWARDS ARROW WITH HOOK to fix outstanding font issue of footnote backlinks on mobile. Updated styles accordingly. Trick learned from Daring Fireball. Before: https://i.imgur.com/eUbL1k8.png After: https://i.imgur.com/msv3INn.png --- source/css/theme.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source/css') diff --git a/source/css/theme.css b/source/css/theme.css index cc7cdc64..4de354c1 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -133,6 +133,19 @@ div.footnotes code { font-size: 0.87em; } +a.footnotes-backlink { + margin-left: 0.2em; + font-size: 1.2em; + vertical-align: -0.2em; + color: #bbb; + text-decoration: none; +} + +a.footnotes-backlink:hover { + background-color: #bbb; + color: #fff; +} + img { display: block; max-width: 100%; -- cgit v1.2.1