_sass/_base.scss in jekyll-theme-mehdix-rtl-0.1.21 vs _sass/_base.scss in jekyll-theme-mehdix-rtl-0.2.0

- old
+ new

@@ -25,10 +25,19 @@ 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; } @@ -41,36 +50,30 @@ 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; } } -h1, h2, h3, h4, h5, h6 { - font-weight: 300; -} - a { - color: $text-color; + color: darken($brand-color, 20%); text-decoration: none; - - &:visited { - color: darken($brand-color, 20%); - } - - &:hover { - text-decoration: none; - color: $brand-color; - } } blockquote { font-family: $alt-font-family; color: $grey-color; @@ -88,65 +91,26 @@ border-right: 4px solid $brand-color; padding-right: $spacing-unit / 2; } } -pre, -code { - font-size: 15px; - border: 1px solid $grey-color-light; - border-radius: 3px; -} - -code { - padding: 1px 5px; -} - 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-right: 0; padding-left: 0; } } table, td, th { border: 1px dotted; } -h1, h2:not(.footer-heading), h3, h4, h5, h6 { - color: darken($header-color, 20%); - margin-bottom: unset; -} - -.wrapper { - max-width: -webkit-calc(800px - (#{$spacing-unit} * 2)); - max-width: calc(800px - (#{$spacing-unit} * 2)); - margin-right: auto; - margin-left: auto; - padding-right: $spacing-unit; - padding-left: $spacing-unit; - @extend %clearfix; - - @include media-query($on-laptop) { - //max-width: -webkit-calc(800px - (#{$spacing-unit})); - //max-width: calc(800px - (#{$spacing-unit})); - width: 89vw; - padding-right: $spacing-unit / 2; - padding-left: $spacing-unit / 2; - } -} - -%clearfix { - - &:after { - content: ""; - display: table; - clear: both; - } -} @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"; \ No newline at end of file