diff options
Diffstat (limited to 'sass/include/_zola.scss')
| -rw-r--r-- | sass/include/_zola.scss | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/sass/include/_zola.scss b/sass/include/_zola.scss index 4f567d9..4e6089c 100644 --- a/sass/include/_zola.scss +++ b/sass/include/_zola.scss @@ -42,14 +42,23 @@ pre code[data-lang]::before { } } // Table Override, this is used for Zola's linenos and hl_lines -code table { - font-size: .8rem; - margin: 0; +code { + table { + font-size: .8rem; + margin: 0; + // Highlighted text + mark { + display: block; + background-color: var(--c2); + color: unset; + padding: 0; + } + } td, th, tr { padding: 0; border-bottom: none; } - tbody tr td:first-child { + tbody td:first-child { text-align: center; user-select: none; min-width: 60px; @@ -57,11 +66,4 @@ code table { tbody tr:nth-child(even), thead tr { background-color: unset; } - // Highlighted text - mark { - display: block; - background-color: var(--c2); - color: unset; - padding: 0; - } -} +}
\ No newline at end of file |
