aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/css
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-02-01 10:37:14 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-02-01 10:37:14 +0300
commitc814fcc53c65b1cbc3ee487fbd8aca4a905bd6d4 (patch)
tree6bdaea2d4ebc1236bce91ffeec715ed14d384aaf /css
parentstd::call_once: shorten title (diff)
downloadjekyll-theme-c814fcc53c65b1cbc3ee487fbd8aca4a905bd6d4.tar.gz
jekyll-theme-c814fcc53c65b1cbc3ee487fbd8aca4a905bd6d4.zip
add comments to CSS classes
Diffstat (limited to 'css')
-rw-r--r--css/code-nowrap.css1
-rw-r--r--css/common/misc.css5
2 files changed, 6 insertions, 0 deletions
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 <code>runtime-link=dynamic</code> 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 <hN><a>Header link</a></hN> 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;
+}