aboutsummaryrefslogtreecommitdiff
path: root/sass/include/_zola.scss
diff options
context:
space:
mode:
authorJieiku2022-08-23 13:41:41 -0700
committerJieiku2022-08-23 13:41:41 -0700
commitc7b914505b6505b013610cc71e3b50d68c4a5473 (patch)
treed2abebfa75cedd1b7351b51f9d5c909834e8d05d /sass/include/_zola.scss
parent6e6c0cbbb5d6136788d35ee5a354d36079c3475a (diff)
downloadabridge-c7b914505b6505b013610cc71e3b50d68c4a5473.tar.gz
abridge-c7b914505b6505b013610cc71e3b50d68c4a5473.tar.bz2
abridge-c7b914505b6505b013610cc71e3b50d68c4a5473.zip
Optimizations, Update Readme YellowLabTools
Diffstat (limited to 'sass/include/_zola.scss')
-rw-r--r--sass/include/_zola.scss26
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