diff options
Diffstat (limited to 'sass')
| -rw-r--r-- | sass/style.scss | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sass/style.scss b/sass/style.scss new file mode 100644 index 0000000..d4cc71c --- /dev/null +++ b/sass/style.scss @@ -0,0 +1,37 @@ +body { + width: max-content; +} + +pre { + padding: 1rem; + font-size: 1rem; + overflow: auto; +} +// The line numbers already provide some kind of left/right padding +pre[data-linenos] { + padding: 1rem 0; +} +pre table td { + padding: 0; +} +// The line number cells +pre table td:nth-of-type(1) { + text-align: center; + user-select: none; +} +pre mark { + // If you want your highlights to take the full width. + display: block; + // The default background colour of a mark is bright yellow + background-color: rgba(254, 252, 232, 0.9); +} +pre table { + width: 100%; + border-collapse: collapse; +} + +p { + max-width: 40em; + word-wrap: break-word; + text-align: justify; +} |
