aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-02-01 10:44:47 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-02-01 10:44:47 +0300
commitfc8f24f0ad0711ba3be2d4f257f38113dac71fc4 (patch)
tree4b1de1ac880e0f16970af905eb4b716ae718c520
parentbump dependencies (diff)
downloadsorting-algorithms-fc8f24f0ad0711ba3be2d4f257f38113dac71fc4.tar.gz
sorting-algorithms-fc8f24f0ad0711ba3be2d4f257f38113dac71fc4.zip
add comments to CSS classes
-rw-r--r--css/common/misc.css5
-rw-r--r--css/plots.css1
2 files changed, 6 insertions, 0 deletions
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;
+}
diff --git a/css/plots.css b/css/plots.css
index 7ed222d..b6880c6 100644
--- a/css/plots.css
+++ b/css/plots.css
@@ -1,3 +1,4 @@
+/* I don't like the unnecessary white space below <img>s in thumbnails. */
a.thumbnail {
margin-bottom: 0;
}