From 5116034cab2eb4a8bd648f42d3ca3fc6be9be04f Mon Sep 17 00:00:00 2001 From: ronny abraham Date: Wed, 9 Apr 2025 02:51:56 +0300 Subject: [PATCH] added new category 'relaxed' --- categories/relaxed.sass | 99 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 categories/relaxed.sass diff --git a/categories/relaxed.sass b/categories/relaxed.sass new file mode 100644 index 0000000..77ada56 --- /dev/null +++ b/categories/relaxed.sass @@ -0,0 +1,99 @@ +@use "sass:map" +@use "sass:color" + +@use '../org-base' + +@use '../themes/golden-ledger.sass' as * +@use '../fonts' as fonts +@use '../mixins' as mixins-basic + +@include mixins-basic.set-header-sizes($default-header-sizes) +@include mixins-basic.set-header-colors($default-header-colors) +@include mixins-basic.set-header-margins-sides($default-header-margins-sides) +@include mixins-basic.set-header-margins-vertical($default-header-margins-vertical) + +@include mixins-basic.remove-section-number(h3) + +/* Base Styles */ +body + font-family: $primary-font + color: $text-color + background-color: $background-color + +/* Link Styles */ +a + color: $anchor-color + + &:hover + color: $anchor-hover-color + +// Lists +ul, ol + padding-left: $list-padding-left + +// Notes +.note + background-color: $note-background-color + border-color: $note-border-color + p + color: $note-color + +// Blockquotes +blockquote + color: $blockquote-color + border-color: $blockquote-border-color + +// Tables +table + color: $table-color + // border: 1px solid $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: 8%) + +/* Code Block Styles */ +pre, code + color: $code-text-color + background-color: $code-background-color + border-color: $code-border-color + +/* Header Styles */ +h1, h2, h3, h4, h5, h6 + font-family: $secondary-font + +h4 + text-transform: uppercase + +h4[id="timestamp"] + color: color.adjust(map.get($default-header-colors, 'h2'), $lightness: 20%) + +h4[id="playlist"] + color: color.adjust(map.get($default-header-colors, 'h3'), $lightness: -10%) + +h3 + a + color: color.adjust($anchor-color, $lightness: -12%) + &:hover + color: color.adjust($anchor-hover-color, $lightness: -12%) + + +div#postamble + border-color: $note-border-color + color: color.adjust($note-border-color, $lightness: 20%) + +/* Table of Contents Link */ +.toc + color: $primary-color + +div#table-of-contents ul li a + color: $toc-anchor-color + &:hover + color: $toc-anchor-hover-color