2024-11-25 04:52:06 +02:00
|
|
|
@use "sass:map"
|
2024-11-29 00:43:13 +02:00
|
|
|
@use "sass:color"
|
|
|
|
|
@use 'variables' as *
|
|
|
|
|
@use 'fonts' as fonts
|
|
|
|
|
@use '../../../../../_share/media/sass/mixins' as mixins-basic
|
2024-11-25 04:52:06 +02:00
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
@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)
|
2024-11-25 04:52:06 +02:00
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
/* Base Styles */
|
2024-11-25 04:52:06 +02:00
|
|
|
body
|
|
|
|
|
font-family: $primary-font
|
2024-11-29 00:43:13 +02:00
|
|
|
font-size: 1em
|
2024-11-25 04:52:06 +02:00
|
|
|
line-height: 1.6
|
2024-11-29 00:43:13 +02:00
|
|
|
|
2024-11-25 04:52:06 +02:00
|
|
|
color: $text-color
|
|
|
|
|
background-color: $background-color
|
2024-11-29 00:43:13 +02:00
|
|
|
|
2024-11-25 04:52:06 +02:00
|
|
|
margin: 0 auto
|
2024-11-29 00:43:13 +02:00
|
|
|
max-width: 900px
|
2024-11-25 04:52:06 +02:00
|
|
|
padding: 1em
|
|
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
/* Link Styles */
|
2024-11-25 04:52:06 +02:00
|
|
|
a
|
2024-11-29 00:43:13 +02:00
|
|
|
color: $anchor-color
|
2024-11-25 04:52:06 +02:00
|
|
|
text-decoration: underline
|
|
|
|
|
text-underline-offset: 2px
|
|
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
&:hover
|
|
|
|
|
color: $anchor-hover-color
|
2024-11-25 04:52:06 +02:00
|
|
|
|
|
|
|
|
// Lists
|
|
|
|
|
ul, ol
|
2024-11-29 00:43:13 +02:00
|
|
|
padding-left: $list-padding-left
|
2024-11-25 04:52:06 +02:00
|
|
|
|
|
|
|
|
ul
|
2024-11-29 01:10:23 +02:00
|
|
|
margin: 1em 0em
|
2024-11-25 04:52:06 +02:00
|
|
|
list-style-type: disc
|
|
|
|
|
|
|
|
|
|
ol
|
2024-11-29 01:10:23 +02:00
|
|
|
margin: 1em .5em
|
2024-11-25 04:52:06 +02:00
|
|
|
list-style-type: decimal
|
|
|
|
|
|
|
|
|
|
li
|
|
|
|
|
margin-bottom: 0.5em
|
|
|
|
|
|
|
|
|
|
// Blockquotes
|
|
|
|
|
blockquote
|
|
|
|
|
border-left: 4px solid $secondary-color
|
|
|
|
|
padding-left: 1em
|
2024-11-29 00:43:13 +02:00
|
|
|
color: color.adjust($text-color, $lightness: 10%)
|
2024-11-25 04:52:06 +02:00
|
|
|
margin: 1.5em 0
|
|
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
font-family: $secondary-font
|
|
|
|
|
|
2024-11-25 04:52:06 +02:00
|
|
|
// Tables
|
|
|
|
|
table
|
|
|
|
|
width: 100%
|
|
|
|
|
border-collapse: collapse
|
|
|
|
|
margin-bottom: 1em
|
|
|
|
|
color: $text-color
|
|
|
|
|
|
|
|
|
|
th, td
|
|
|
|
|
padding: 0.75em
|
|
|
|
|
text-align: left
|
|
|
|
|
border: 1px solid $table-border-color
|
|
|
|
|
|
|
|
|
|
th
|
|
|
|
|
background-color: $table-header-bg
|
|
|
|
|
color: $text-color
|
|
|
|
|
|
|
|
|
|
tr:nth-child(even)
|
2024-11-29 00:43:13 +02:00
|
|
|
background-color: color.adjust($background-color, $lightness: 5%)
|
2024-11-25 04:52:06 +02:00
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
/* Code Block Styles */
|
2024-11-25 04:52:06 +02:00
|
|
|
pre, code
|
2024-11-29 00:43:13 +02:00
|
|
|
background-color: $code-background-color
|
2024-11-25 04:52:06 +02:00
|
|
|
color: $code-text-color
|
2024-11-29 00:43:13 +02:00
|
|
|
|
|
|
|
|
font-family: $secondary-font
|
|
|
|
|
|
2024-11-25 04:52:06 +02:00
|
|
|
border-radius: 4px
|
|
|
|
|
padding: 0.5em
|
|
|
|
|
display: block
|
|
|
|
|
overflow-x: auto
|
|
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
// Section
|
|
|
|
|
section
|
|
|
|
|
margin-bottom: 2em
|
|
|
|
|
|
|
|
|
|
/* Header Styles */
|
|
|
|
|
h1, h2, h3, h4, h5, h6
|
2024-11-29 01:10:23 +02:00
|
|
|
text-transform: capitalize
|
2024-11-29 00:43:13 +02:00
|
|
|
font-family: $secondary-font
|
|
|
|
|
font-weight: bold
|
2024-11-25 04:52:06 +02:00
|
|
|
|
2024-11-29 03:16:37 +02:00
|
|
|
h3
|
2024-11-29 01:10:23 +02:00
|
|
|
a
|
2024-11-29 03:16:37 +02:00
|
|
|
color: color.adjust($anchor-color, $lightness: -12%)
|
2024-11-29 01:10:23 +02:00
|
|
|
&:hover
|
|
|
|
|
text-decoration: none
|
2024-11-29 03:16:37 +02:00
|
|
|
color: color.adjust($anchor-hover-color, $lightness: -12%)
|
2024-11-29 00:43:13 +02:00
|
|
|
|
|
|
|
|
// Paragraphs
|
|
|
|
|
p
|
|
|
|
|
margin-bottom: 1em
|
|
|
|
|
|
|
|
|
|
// Notes
|
|
|
|
|
.note
|
|
|
|
|
background-color: $note-background-color
|
|
|
|
|
padding: 0.5em
|
|
|
|
|
border-left: 3px solid $note-border-color
|
|
|
|
|
margin-bottom: 1em
|
|
|
|
|
color: $text-color
|
2024-11-25 04:52:06 +02:00
|
|
|
|
|
|
|
|
div#postamble
|
2024-11-29 00:43:13 +02:00
|
|
|
border-top: 1px dashed $note-border-color
|
2024-11-25 04:52:06 +02:00
|
|
|
margin-top: 2em
|
|
|
|
|
padding-top: 1em
|
2024-11-29 00:43:13 +02:00
|
|
|
color: color.adjust($note-border-color, $lightness: 20%)
|
2024-11-25 04:52:06 +02:00
|
|
|
font-size: 0.9em
|
|
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
.outline-text-3
|
2024-11-29 01:10:23 +02:00
|
|
|
margin-left: .5em
|
2024-11-29 00:43:13 +02:00
|
|
|
|
|
|
|
|
.outline-text-4
|
2024-11-29 01:10:23 +02:00
|
|
|
margin-left: .5em
|
2024-11-29 00:43:13 +02:00
|
|
|
|
2024-11-29 02:24:28 +02:00
|
|
|
/* Table of Contents Link */
|
|
|
|
|
.toc
|
|
|
|
|
font-weight: bold
|
|
|
|
|
color: $primary-color
|
|
|
|
|
|
2024-11-29 03:16:37 +02:00
|
|
|
ul.links
|
|
|
|
|
list-style-type: square
|
|
|
|
|
li
|
|
|
|
|
margin: 0
|
|
|
|
|
|
2024-11-29 03:24:30 +02:00
|
|
|
a
|
|
|
|
|
text-transform: capitalize
|
|
|
|
|
|
2024-11-29 03:16:37 +02:00
|
|
|
ul.contents-overview
|
|
|
|
|
margin-top: 0em
|
|
|
|
|
list-style-type: square
|
|
|
|
|
|
|
|
|
|
li
|
|
|
|
|
margin: 0
|
|
|
|
|
|
|
|
|
|
a
|
|
|
|
|
font-weight: 500
|
|
|
|
|
text-transform: uppercase
|
|
|
|
|
text-underline-offset: 6px
|
|
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
div#table-of-contents
|
2024-11-29 02:24:28 +02:00
|
|
|
ul
|
|
|
|
|
margin: 0
|
2024-11-29 03:16:37 +02:00
|
|
|
list-style-type: none
|
2024-11-29 02:24:28 +02:00
|
|
|
|
|
|
|
|
li
|
|
|
|
|
margin: .4 0
|
|
|
|
|
|
|
|
|
|
a
|
|
|
|
|
color: $toc-anchor-color
|
|
|
|
|
text-transform: lowercase
|
2024-11-29 03:16:37 +02:00
|
|
|
text-decoration: none
|
2024-11-29 02:24:28 +02:00
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
|
color: $toc-anchor-hover-color
|
|
|
|
|
|
2024-11-29 00:43:13 +02:00
|
|
|
h2
|
|
|
|
|
margin-left: 0
|
2024-11-29 02:24:28 +02:00
|
|
|
margin-bottom: .2em
|
2024-11-29 00:43:13 +02:00
|
|
|
text-transform: uppercase
|