diff options
Diffstat (limited to 'themes/ananke/src/css/_code.css')
-rw-r--r-- | themes/ananke/src/css/_code.css | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/themes/ananke/src/css/_code.css b/themes/ananke/src/css/_code.css new file mode 100644 index 0000000..97e2d00 --- /dev/null +++ b/themes/ananke/src/css/_code.css @@ -0,0 +1,24 @@ +pre, .pre { + overflow-x: auto; + overflow-y: hidden; + overflow: scroll; +} + + +pre code { + display: block; + padding: 1.5em 1.5em; + white-space: pre; + font-size: .875rem; + line-height: 2; + +} + +pre { + background-color: #222; + color: #ddd; + white-space: pre; + + hyphens: none; + position: relative; +} |