From 9c0b92d0fab99bed90e792624f23f1e60ede46b7 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 18 Dec 2022 16:10:12 +0100 Subject: [PATCH] fix: amelioration globales affichage --- category.php | 10 +++------- components/footer-content.php | 1 + components/navbar-pages.php | 2 +- functions.php | 2 +- home.php | 9 +++++++++ scss/_drawing.scss | 1 + scss/_utils.scss | 1 + scss/components/_input.scss | 20 +++++++++----------- scss/components/_toasts.scss | 7 +++++++ scss/custom/_featured.scss | 2 +- scss/utils/_display.scss | 3 +++ search.php | 2 +- style.css | 21 +++++++++++++++++++-- 13 files changed, 57 insertions(+), 24 deletions(-) create mode 100644 scss/utils/_display.scss diff --git a/category.php b/category.php index 799c555..98a0f38 100644 --- a/category.php +++ b/category.php @@ -3,19 +3,15 @@ cat_ID ) . '/feed' ); ?> +
+ +
diff --git a/components/footer-content.php b/components/footer-content.php index 94c3b3d..5ed06c5 100644 --- a/components/footer-content.php +++ b/components/footer-content.php @@ -10,6 +10,7 @@ } } ?> +
  • Flux RSS du site
  • diff --git a/components/navbar-pages.php b/components/navbar-pages.php index b94e410..1a28ca7 100644 --- a/components/navbar-pages.php +++ b/components/navbar-pages.php @@ -23,7 +23,7 @@ echo '
  • '. $menuElement->title . '
  • '; } ?> -
  • Flux RSS du site
  • +
  • diff --git a/functions.php b/functions.php index a5994f5..dca1a8c 100644 --- a/functions.php +++ b/functions.php @@ -161,7 +161,7 @@ function kspace_cat_breadcrumb_with_rss($categoryName, $icon, $categoryType, $rs
    Publications + +
    Note : Si vous êtes intéressé pour découvrir plus + de contenus trouvé sur internet, vous pouvez aussi regarder mon Shaarli, qui sert plus à + partager des petites découverte rigolote ou intéressantes.
    + + diff --git a/scss/_drawing.scss b/scss/_drawing.scss index a385021..f9bc19d 100644 --- a/scss/_drawing.scss +++ b/scss/_drawing.scss @@ -15,3 +15,4 @@ @import 'components/tables'; //@import 'components/previews'; @import 'components/sidebar'; +@import 'components/input'; diff --git a/scss/_utils.scss b/scss/_utils.scss index 4356ec8..725c49c 100644 --- a/scss/_utils.scss +++ b/scss/_utils.scss @@ -9,3 +9,4 @@ @import 'utils/lists'; @import 'utils/sizing'; @import 'utils/flex'; +@import 'utils/display'; \ No newline at end of file diff --git a/scss/components/_input.scss b/scss/components/_input.scss index 3d5926a..c558218 100644 --- a/scss/components/_input.scss +++ b/scss/components/_input.scss @@ -1,11 +1,9 @@ -.input-group { - padding-bottom:$lineheight; - - input, textarea { - width:100%; - background-color:$color-background; - border-radius:0px; - border: 1px solid rgba(0,0,0,0.2); - padding:$lineheight/4; - } -} +input, +textarea { + width: 100%; + background-color: $color-background; + border-radius: $btn-radius; + border: 0px solid rgba(0, 0, 0, 0); + padding: $lineheight/4; + line-height: $lineheight; +} \ No newline at end of file diff --git a/scss/components/_toasts.scss b/scss/components/_toasts.scss index 7795ffb..9859fbf 100644 --- a/scss/components/_toasts.scss +++ b/scss/components/_toasts.scss @@ -1,4 +1,11 @@ .toast { @include panel($card-smallpad); padding:$card-smallpad; + font-size: 0.8rem; + a:not(:hover) { + background-color: rgba(0,0,0,0.2)!important; + } + a { + margin: 0; + } } diff --git a/scss/custom/_featured.scss b/scss/custom/_featured.scss index f2b9191..6901239 100644 --- a/scss/custom/_featured.scss +++ b/scss/custom/_featured.scss @@ -4,7 +4,7 @@ grid-template-rows: auto; grid-gap: $lineheight; padding-bottom: $lineheight; - @include xl() { + @include lg() { grid-template-columns: 1fr 1fr 1fr; } } diff --git a/scss/utils/_display.scss b/scss/utils/_display.scss new file mode 100644 index 0000000..31cdaaa --- /dev/null +++ b/scss/utils/_display.scss @@ -0,0 +1,3 @@ +.d-block { + display:block; +} \ No newline at end of file diff --git a/search.php b/search.php index 1293e3a..99f9da8 100644 --- a/search.php +++ b/search.php @@ -2,7 +2,7 @@

    Recherche pour le terme « »

    - +
    diff --git a/style.css b/style.css index f712543..bc246ef 100644 --- a/style.css +++ b/style.css @@ -1469,7 +1469,8 @@ ul.card-list, .card > ul { border: none; margin: 0; margin-bottom: 1.6rem; - padding: 0.8rem; } + padding: 0.8rem; + font-size: 0.8rem; } .toast > * { margin-left: 0.4rem; margin-right: 0.4rem; } @@ -1481,6 +1482,10 @@ ul.card-list, .card > ul { margin-bottom: 0.8rem; } .toast > *:last-child.card-header { margin-bottom: 0px; } + .toast a:not(:hover) { + background-color: rgba(0, 0, 0, 0.2) !important; } + .toast a { + margin: 0; } /* TABLE * Style tables @@ -1516,6 +1521,15 @@ th { .sidebar-container .sidebar { padding: 1rem; } +input, +textarea { + width: 100%; + background-color: #fefefe; + border-radius: 4px; + border: 0px solid rgba(0, 0, 0, 0); + padding: 0.4rem; + line-height: 1.6rem; } + /* 1. Utils ** All the utilities class of the stylesheet */ @@ -2535,6 +2549,9 @@ th { .f-between { justify-content: space-between; } +.d-block { + display: block; } + /* 4 - Custom styling * Styles that are custom to this particular theme **/ @@ -2785,7 +2802,7 @@ footer { grid-template-rows: auto; grid-gap: 1.6rem; padding-bottom: 1.6rem; } - @media (min-width: 1200px) { + @media (min-width: 992px) { #featured-articles { grid-template-columns: 1fr 1fr 1fr; } } .preview-featured {