diff --git a/categories/business.sass b/categories/business.sass new file mode 100644 index 0000000..5e4fb20 --- /dev/null +++ b/categories/business.sass @@ -0,0 +1,87 @@ +@use "sass:map" +@use "sass:color" + +@use '../org-base' + +@use '../themes/sienna-elegance' 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) + + +/* 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 + +// Blockquotes +blockquote + border-color: $secondary-color + color: color.adjust($text-color, $lightness: 10%) + font-family: $secondary-font + +// Tables +table + color: $text-color + +th, td + border-color: $table-border-color + +th + background-color: $table-header-bg + color: $text-color + +tr:nth-child(even) + background-color: color.adjust($background-color, $lightness: 5%) + +/* Code Block Styles */ +pre, code + background-color: $code-background-color + color: $code-text-color + + font-family: $secondary-font + +/* Header Styles */ +h1, h2, h3, h4, h5, h6 + font-family: $secondary-font + +h3 + a + color: color.adjust($anchor-color, $lightness: -12%) + &:hover + color: color.adjust($anchor-hover-color, $lightness: -12%) + +// Notes +.note + background-color: $note-background-color + border-color: $note-border-color + color: $text-color + +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 diff --git a/org-base.sass b/org-base.sass new file mode 100644 index 0000000..be8a12d --- /dev/null +++ b/org-base.sass @@ -0,0 +1,127 @@ +@use "sass:map" +@use "sass:color" +@use 'mixins' as mixins-basic + +@include mixins-basic.remove-section-number(h2) +@include mixins-basic.remove-section-number(h4) + + +/* Base Styles */ +body + font-size: 1em + line-height: 1.6 + margin: 0 auto + max-width: 900px + padding: 1em + +/* Link Styles */ +a + text-decoration: underline + text-underline-offset: 2px + +ul + margin: 1em 0em + list-style-type: disc + +ol + margin: 1em .5em + list-style-type: decimal + +li + margin-bottom: 0.5em + +// Blockquotes +blockquote + border-left: 4px solid + padding-left: 1em + margin: 1.5em 0 + +// Tables +table + width: 100% + border-collapse: collapse + margin-bottom: 1em + +th, td + border: 1px solid + padding: 0.75em + text-align: left + +/* Code Block Styles */ +pre, code + border-radius: 4px + padding: 0.5em + display: block + overflow-x: auto + +// Section +section + margin-bottom: 2em + +/* Header Styles */ +h1, h2, h3, h4, h5, h6 + text-transform: capitalize + font-weight: bold + +h3 + a + &:hover + text-decoration: none + +// Paragraphs +p + margin-bottom: 1em + +// Notes +.note + padding: 0.5em + border-left: 3px solid + margin-bottom: 1em + +div#postamble + border-top: 1px dashed + margin-top: 2em + padding-top: 1em + font-size: 0.9em + +.outline-3 + margin-bottom: 3em + margin-left: .5em + +.outline-4 + margin-bottom: 2em + margin-left: 1em + +/* Table of Contents Link */ +.toc + font-weight: bold + +ul.links + padding-left: 2em + list-style-type: square + li + margin: 0 + + a + text-transform: capitalize + +div#table-of-contents + ul + padding-left: 1em + margin: 0 + list-style-type: none + + li + margin: .4 0 + + a + text-transform: lowercase + text-decoration: none + + h2 + margin-left: 0 + margin-bottom: .2em + text-transform: uppercase + +.playlist + text-transform: capitalize