mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
14.42.2022 b9edf61069c25278b90794c0d55fc3f2ab1af004
chore: ran prettier on rtl files

11 files modified
56 ■■■■■ changed files
assets/css/style.rtl.css 2 ●●● patch | view | raw | blame | history
assets/scss/modules/_color_theme.scss 4 ●●●● patch | view | raw | blame | history
assets/scss/modules/_config.scss 12 ●●●● patch | view | raw | blame | history
assets/scss/partials/_base.scss 2 ●●● patch | view | raw | blame | history
assets/scss/partials/_hugo.scss 3 ●●●● patch | view | raw | blame | history
assets/scss/partials/components/_category.scss 2 ●●● patch | view | raw | blame | history
assets/scss/partials/components/_info.scss 5 ●●●●● patch | view | raw | blame | history
assets/scss/partials/components/_post.scss 8 ●●●● patch | view | raw | blame | history
assets/scss/partials/components/_sidebar.scss 13 ●●●●● patch | view | raw | blame | history
assets/scss/partials/components/_tag.scss 4 ●●●● patch | view | raw | blame | history
assets/scss/partials/layout/_nav.scss 1 ●●●● patch | view | raw | blame | history
assets/css/style.rtl.css
@@ -107,4 +107,4 @@
    padding-left: 20%;
  }
}
*/
*/
assets/scss/modules/_color_theme.scss
@@ -7,7 +7,7 @@
    info: $info,
    shadow: $shadow--lightmode,
    border: 1px solid $primary-lighter--lightmode,
    alert: $alert
    alert: $alert,
  ),
  dark: (
    accent: $accent--darkmode,
@@ -17,7 +17,7 @@
    info: $info,
    shadow: $shadow--darkmode,
    border: 1px solid $primary-lighter--darkmode,
    alert: $alert
    alert: $alert,
  ),
);
assets/scss/modules/_config.scss
@@ -28,13 +28,13 @@
$layout-direction: ltr !default;
@mixin ltr {
    @if $layout-direction == ltr {
        @content;
    }
  @if $layout-direction == ltr {
    @content;
  }
}
@mixin rtl {
    @if $layout-direction == rtl {
        @content;
    }
  @if $layout-direction == rtl {
    @content;
  }
}
assets/scss/partials/_base.scss
@@ -1,7 +1,7 @@
@charset "UTF-8";
* {
  @include ltr{
  @include ltr {
    font-family: 'PingHei', 'PingFang SC', 'Helvetica Neue', 'Work Sans', 'Hiragino Sans GB', sans-serif;
    font-size: 1.6rem;
  }
assets/scss/partials/_hugo.scss
@@ -16,11 +16,10 @@
    color: t('primary');
    @include ltr {
      border-left: t('border');
    }
    }
    @include rtl {
      border-right: t('border');
    }
  }
  padding: 0 1em;
}
assets/scss/partials/components/_category.scss
@@ -9,7 +9,7 @@
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  @include ltr{
  @include ltr {
    margin: 5px 8px 5px 0;
  }
  @include rtl {
assets/scss/partials/components/_info.scss
@@ -3,7 +3,7 @@
  &__icon {
    opacity: 0.5;
    @include ltr{
    @include ltr {
      margin-right: 4px;
    }
    @include rtl {
@@ -13,13 +13,12 @@
  &__text {
    &:not(:last-child) {
      @include ltr{
      @include ltr {
        margin-right: 4px;
      }
      @include rtl {
        margin-left: 4px;
      }
    }
  }
}
assets/scss/partials/components/_post.scss
@@ -80,8 +80,8 @@
          @include ltr {
            float: right;
            margin-left: 1.5em;
          }
          }
          @include rtl {
            float: left;
            margin-right: 1.5em;
@@ -95,8 +95,8 @@
          @include ltr {
            float: left;
            margin-right: 1.5em;
          }
          }
          @include rtl {
            float: right;
            margin-left: 1.5em;
assets/scss/partials/components/_sidebar.scss
@@ -14,28 +14,24 @@
    flex-direction: column;
    @include themed() {
      @include ltr {
        margin-right: 4px;
        border-right: t('border');
      }
      }
      @include rtl {
        margin-left: 4px;
        border-left: t('border');
      }
    }
  }
  @include widescreen {
    width: calc(var(--sidebar-width) - 20%);
    @include ltr {
      padding-left: 17%;
      padding-right: 3%;
    }
    }
    @include rtl {
      padding-right: 17%;
@@ -66,12 +62,11 @@
      i {
        @include ltr {
          margin-right: 3px;
        }
        }
        @include rtl {
          margin-left: 3px;
        }
      }
      li {
assets/scss/partials/components/_tag.scss
@@ -2,8 +2,8 @@
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  @include ltr{
  @include ltr {
    margin: 5px 8px 5px 0;
  }
  @include rtl {
assets/scss/partials/layout/_nav.scss
@@ -62,7 +62,6 @@
          @include rtl {
            padding-left: 20px;
          }
        }
      }