From 9a1a53af49c8a887dd129e9ade15f7b49cae1a13 Mon Sep 17 00:00:00 2001 From: ronny abraham Date: Wed, 19 Feb 2025 03:38:56 +0200 Subject: [PATCH] updated _tables and fixed up graphics to better use slate --- _tables.sass | 16 ++++++++++++++++ categories/graphics.sass | 11 ++++++----- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/_tables.sass b/_tables.sass index d47dcb6..146721d 100644 --- a/_tables.sass +++ b/_tables.sass @@ -9,6 +9,22 @@ width: 50% text-align: left +.two-column-definitions + width: 100% + table-layout: fixed + + colgroup + col:first-child + width: 20% + col:last-child + width: 80% + + th + text-transform: uppercase + + th, td + text-align: left + .two-column-desc width: 100% diff --git a/categories/graphics.sass b/categories/graphics.sass index d73ea4c..67889e7 100644 --- a/categories/graphics.sass +++ b/categories/graphics.sass @@ -4,6 +4,7 @@ @use '../org-base' @use '../themes/modern-slate' as * +// @use '../themes/sienna-elegance' as * @use '../fonts' as fonts @use '../mixins' as mixins-basic @@ -46,17 +47,17 @@ blockquote table color: $table-color -th, td - border-color: $table-border-color - th background-color: $table-header-bg color: $table-header-color font-family: $secondary-font +th, td + border-color: $table-border-color + +tr:nth-child(odd) + background-color: color.adjust($table-header-bg, $lightness: -10%) -tr:nth-child(even) - background-color: color.adjust($background-color, $lightness: 5%) /* Code Block Styles */ pre, code