From 6ef102a224d5d380dffb751e5d60fb4cbd0b96e0 Mon Sep 17 00:00:00 2001 From: Diego H Date: Sat, 12 Aug 2023 22:44:09 +0200 Subject: [PATCH] Improve code quality --- .github/workflows/algolia-search.yml | 2 +- .github/workflows/metrics.yaml | 2 +- _config.yml | 2 +- _sass/reset-algolia.scss | 2 +- _sass/skins/chulapa.scss | 2 ++ _sass/skins/journal.scss | 2 +- _sass/skins/lux.scss | 4 ++-- _sass/skins/sketchy.scss | 4 ++-- test/algolia-search.yml | 2 +- 9 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/algolia-search.yml b/.github/workflows/algolia-search.yml index a368ed89e..5671a82f8 100644 --- a/.github/workflows/algolia-search.yml +++ b/.github/workflows/algolia-search.yml @@ -3,7 +3,7 @@ on: branches: - master - main - workflow_dispatch: + workflow_dispatch: name: algolia-search jobs: diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml index cf7f394bb..11fea4dff 100644 --- a/.github/workflows/metrics.yaml +++ b/.github/workflows/metrics.yaml @@ -4,7 +4,7 @@ on: # Schedule updates (on Monday) schedule: [{cron: "0 9 * * 1"}] # Lines below let you run workflow manually and on each commit - workflow_dispatch: + workflow_dispatch: jobs: github-metrics: runs-on: ubuntu-latest diff --git a/_config.yml b/_config.yml index d93127b92..8d4e68174 100644 --- a/_config.yml +++ b/_config.yml @@ -98,7 +98,7 @@ comments: cusdis_app_id: # Your cusdis app id cusdis_host: # Optionally you can use your own host website_id: # Welcomments id - + # B. Navigation diff --git a/_sass/reset-algolia.scss b/_sass/reset-algolia.scss index ad234116d..6969d12b4 100644 --- a/_sass/reset-algolia.scss +++ b/_sass/reset-algolia.scss @@ -12,7 +12,7 @@ } li { - list-style:none; + list-style: none; } } diff --git a/_sass/skins/chulapa.scss b/_sass/skins/chulapa.scss index 5f20ee29a..57a9953c8 100644 --- a/_sass/skins/chulapa.scss +++ b/_sass/skins/chulapa.scss @@ -49,4 +49,6 @@ $warning: #fffe7a !default; $danger: #f13c20 !default; $dark: darken($secondary, 10%) !default; $navbar-chulapa-toggler-border-color: transparent !default; + +/* Use auto */ @import "skins/auto"; diff --git a/_sass/skins/journal.scss b/_sass/skins/journal.scss index 7079c03cf..59eb3e607 100644 --- a/_sass/skins/journal.scss +++ b/_sass/skins/journal.scss @@ -84,7 +84,7 @@ $pagination-hover-border-color: $primary !default; border: 1px solid $gray-200; &.navbar-fixed-top { - border-width: 0 0 1px 0; + border-width: 0 0 1px; } &.navbar-fixed-bottom { diff --git a/_sass/skins/lux.scss b/_sass/skins/lux.scss index b8e3b69c4..ecd70af2b 100644 --- a/_sass/skins/lux.scss +++ b/_sass/skins/lux.scss @@ -176,11 +176,11 @@ $font-size-sm: $font-size-base * .875 !default; border: 1px solid rgba(0, 0, 0, 0.1); &.navbar-fixed-top { - border-width: 0 0 1px 0; + border-width: 0 0 1px; } &.navbar-bottom-top { - border-width: 1px 0 0 0; + border-width: 1px 0 0; } } diff --git a/_sass/skins/sketchy.scss b/_sass/skins/sketchy.scss index 5faf65f08..913c0f285 100644 --- a/_sass/skins/sketchy.scss +++ b/_sass/skins/sketchy.scss @@ -213,12 +213,12 @@ $border-radius-sm-sketchy: 255px 25px 225px 25px/25px 225px 25px 255px; &.fixed-top { border-radius: 0 25px 225px 0/25px 0 25px 255px !important; - border-width: 0 0 2px 0 !important; + border-width: 0 0 2px !important; } &.fixed-bottom { border-radius: 255px 25px 0 25px/25px 225px 25px 0 !important; - border-width: 2px 0 0 0 !important; + border-width: 2px 0 0 !important; } &-brand { diff --git a/test/algolia-search.yml b/test/algolia-search.yml index 0b4ff666b..00f7e0d89 100644 --- a/test/algolia-search.yml +++ b/test/algolia-search.yml @@ -9,7 +9,7 @@ on: branches: - master - main - workflow_dispatch: + workflow_dispatch: name: algolia-search jobs: