aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/render.js3
-rw-r--r--static/styles.css6
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/render.js b/lib/render.js
index 57cc3b5..7f6cba5 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -381,7 +381,8 @@ Render.prototype.idLinkCopyable = function (link, cb) {
a.innerHTML = h('span', [
h('span.id-deemphasize', '['),
h('span.id-name', '@' + link.name),
- h('span.id-deemphasize', '](', link.link, ')'),
+ h('span.id-deemphasize', ']'
+ + '(', h('span.id-inner', link.link), ')'),
]).innerHTML
}
cb()
diff --git a/static/styles.css b/static/styles.css
index 50ad7c0..56a470b 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -126,13 +126,17 @@ pre {
.id-deemphasize {
color: #67f;
- font-size: smaller;
+ font-size: x-small;
}
.id-name {
text-decoration: underline;
}
+.id-inner {
+ letter-spacing: -1ex;
+}
+
.msg-header {
margin-bottom: .25ex;
}