From dcb2b44b495c69b06b630e067913535279c4ca17 Mon Sep 17 00:00:00 2001 From: "Suraj N. Kurapati" Date: Thu, 28 Jan 2016 19:40:16 -0800 Subject: [PATCH 1/3] css: make all permalinks appear in the same size --- lib/md2man/rakefile/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/md2man/rakefile/style.css b/lib/md2man/rakefile/style.css index 1c7cc71..3b15b09 100644 --- a/lib/md2man/rakefile/style.css +++ b/lib/md2man/rakefile/style.css @@ -40,6 +40,7 @@ float: left; margin-left: -1em; opacity: 0.25; + font-size: xx-large; } a.md2man-permalink:before { From a374400853a6606f1731ca3ddce37a67506a3319 Mon Sep 17 00:00:00 2001 From: "Suraj N. Kurapati" Date: Thu, 28 Jan 2016 19:41:15 -0800 Subject: [PATCH 2/3] css: change permalink symbols from hearts to stars --- lib/md2man/rakefile/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/md2man/rakefile/style.css b/lib/md2man/rakefile/style.css index 3b15b09..535c344 100644 --- a/lib/md2man/rakefile/style.css +++ b/lib/md2man/rakefile/style.css @@ -44,7 +44,7 @@ } a.md2man-permalink:before { - content: '\2665'; /* ♥ */ + content: '\2605'; /* ★ */ } a.md2man-permalink:hover, From 856246eebd284ebe096be817df04de3c30431ac1 Mon Sep 17 00:00:00 2001 From: "Suraj N. Kurapati" Date: Thu, 28 Jan 2016 19:42:13 -0800 Subject: [PATCH 3/3] css: indicate target heading with a red permalink --- lib/md2man/rakefile/style.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/md2man/rakefile/style.css b/lib/md2man/rakefile/style.css index 535c344..a75767f 100644 --- a/lib/md2man/rakefile/style.css +++ b/lib/md2man/rakefile/style.css @@ -49,7 +49,11 @@ a.md2man-permalink:hover, *:target > a.md2man-permalink { - opacity: initial + opacity: inherit; + } + + *:target > a.md2man-permalink { + color: red; } }