From c814fcc53c65b1cbc3ee487fbd8aca4a905bd6d4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 1 Feb 2017 10:37:14 +0300 Subject: add comments to CSS classes --- css/code-nowrap.css | 1 + css/common/misc.css | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'css') diff --git a/css/code-nowrap.css b/css/code-nowrap.css index ae47c0a..acc2dec 100644 --- a/css/code-nowrap.css +++ b/css/code-nowrap.css @@ -1,3 +1,4 @@ +/* So that things like runtime-link=dynamic don't wrap on =. */ code { white-space: nowrap; } diff --git a/css/common/misc.css b/css/common/misc.css index 617aced..960e910 100644 --- a/css/common/misc.css +++ b/css/common/misc.css @@ -4,6 +4,7 @@ .wider { max-width: 600px; } +/* "Header link" becomes blue inside of Header link otherwise. */ h1 a, h2 a, h3 a, @@ -12,3 +13,7 @@ h5 a, h6 a { color: inherit; } +/* Link captions become too close to badges on the sidebar. */ +span.badge { + margin-left: .5em; +} -- cgit v1.2.3