aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorArun Isaac2021-06-19 17:54:37 +0530
committerArun Isaac2021-06-19 17:54:37 +0530
commita89caf55345b52f9115b32c99a3b40c818b05d63 (patch)
tree436e56c352a4fe5156da961f05665ad10938dba1 /website
parent665f549276fe7565acde18fef7e7cd8cc531dec5 (diff)
downloadccwl-a89caf55345b52f9115b32c99a3b40c818b05d63.tar.gz
ccwl-a89caf55345b52f9115b32c99a3b40c818b05d63.tar.lz
ccwl-a89caf55345b52f9115b32c99a3b40c818b05d63.zip
website: Add background color and padding to code snippets.
* website/style.css (pre): Add background color and padding.
Diffstat (limited to 'website')
-rw-r--r--website/style.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/website/style.css b/website/style.css
index 708d9aa..aa172ad 100644
--- a/website/style.css
+++ b/website/style.css
@@ -11,6 +11,11 @@ h1, h2, h3 {
line-height: 1.2;
}
+pre {
+ background-color: #f0f0f0;
+ padding: 1em;
+}
+
/* Make the svg badges clickable. */
object {
pointer-events: none;