From c7b914505b6505b013610cc71e3b50d68c4a5473 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 23 Aug 2022 13:41:41 -0700 Subject: Optimizations, Update Readme YellowLabTools --- sass/include/_zola.scss | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'sass/include/_zola.scss') 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 -- cgit v1.3.1