summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2019-04-11 14:05:19 +0200
committerPaweł Redman <pawel.redman@gmail.com>2019-04-11 14:05:19 +0200
commit0af57b8879ccb95b8458e6407e36210631a47ea9 (patch)
tree0f1fc8cfcdfb19af9d65392f91ab0930c21823ee
parent80404cc0987d064b3070ab39dd82b76894f8cdaa (diff)
Style code correctly
-rw-r--r--styles/opticks.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/styles/opticks.css b/styles/opticks.css
index a9cee26..bfd4eca 100644
--- a/styles/opticks.css
+++ b/styles/opticks.css
@@ -129,6 +129,12 @@ a:active {
text-decoration: underline;
}
+/* Inline code and code blocks */
+code, pre.code {
+ font-family: monospace;
+ white-space: pre;
+}
+
/* Uniform links (reset all the stupid variants to a single color) */
/* FIXME: don't export this to the final CSS, it's only used in preprocessing */
.uniform-links(@color) {