* { margin: 0; } html, body { height: 100%; padding: 0; } body { font-family: $base-font-family; font-size: $base-font-size; line-height: $base-line-height; color: $text-color; background-color: $background-color; -webkit-text-size-adjust: 100%; overflow-wrap: break-word; } /** * Set `margin-bottom` to maintain vertical rhythm */ h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure, %vertical-rhythm { margin-bottom: $spacing-unit / 2; } h1, h2:not(.footer-heading), h3, h4, h5, h6 { color: darken($header-color, 20%); margin-bottom: unset; } h1, h2, h3, h4, h5, h6 { font-weight: normal; } img { max-width: 100%; height: auto; vertical-align: middle; } figure > img { display: block; } figcaption { font-size: $small-font-size; } ul, ol { margin-left: $spacing-unit; } ul { list-style-type: square; } ol { list-style-type: persian; } li { > ul, > ol { margin-bottom: 0; } } a { color: darken($brand-color, 20%); text-decoration: none; } blockquote { font-family: $alt-font-family; color: $grey-color; letter-spacing: -1px; font-style: italic; padding-right: $spacing-unit / 2; padding-left: none; font-size: x-large; margin: 0.25em 1em; padding: 0.35em; line-height: 1.45; > p { border-right: 4px solid $brand-color; padding-right: $spacing-unit / 2; } } pre { direction: ltr; border-radius: 3px; border: 1px solid $grey-color-light; padding: 8px 12px; overflow-x: auto; > code { font-size: 15px; border: 0; padding-left: 0; } } table, td, th { border: 1px dotted; } @counter-style abjad { system: additive; range: 1 1000; additive-symbols: 1000 "\63A", 900 "\638", 800 "\636", 700 "\630", 600 "\62E", 500 "\62B", 400 "\62A", 300 "\634", 200 "\631", 100 "\642", 90 "\635", 80 "\641", 70 "\639", 60 "\633", 50 "\646", 40 "\645", 30 "\644", 20 "\6A9", 10 "\649", 9 "\637", 8 "\62D", 7 "\632", 6 "\648", 5 "\FEEB", 4 "\62F", 3 "\62C", 2 "\628", 1 "\627\644\641"; } @counter-style abjad-persian { system: additive; range: 1 1000; additive-symbols: 1000 "\63A", 900 "\638", 800 "\636", 700 "\630", 600 "\62E", 500 "\62B", 400 "\62A", 300 "\634", 200 "\631", 100 "\642", 90 "\635", 80 "\641", 70 "\639", 60 "\633", 50 "\646", 40 "\645", 30 "\644", 20 "\6AF", 10 "\649", 9 "\637", 8 "\62D", 7 "\698", 6 "\648", 5 "\FEEB", 4 "\62F", 3 "\686", 2 "\67E", 1 "\627\644\641"; suffix: ". "; }