aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/css/common/misc.css
diff options
context:
space:
mode:
Diffstat (limited to 'css/common/misc.css')
-rw-r--r--css/common/misc.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/css/common/misc.css b/css/common/misc.css
index c6cbd9d..95b80bf 100644
--- a/css/common/misc.css
+++ b/css/common/misc.css
@@ -1,6 +1,20 @@
+/* Utility classes to prevent blocks from expanding unreasonably. */
.wide-enough {
max-width: 400px;
}
.wider {
max-width: 600px;
}
+/* Lighter background for <pre> and <code> elements. */
+pre {
+ font-size: inherit;
+ background-color: #fbfbfb;
+}
+.highlight {
+ background-color: #fbfbfb !important;
+}
+code {
+ color: inherit;
+ background-color: #fbfbfb;
+ font-size: inherit;
+}