From 71a7f6abd16a01aee702c14b0a4467ce91146e7a Mon Sep 17 00:00:00 2001 From: gautierchomel Date: Wed, 20 Dec 2023 08:40:57 +0100 Subject: [PATCH] Places logos and two columns layout for members list and single pages --- assets/sass/_custom.sass | 18 ++++++++++++++++++ layouts/partials/excerpt.html | 4 +++- layouts/post/single.html | 16 ++++++++++------ 3 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 assets/sass/_custom.sass diff --git a/assets/sass/_custom.sass b/assets/sass/_custom.sass new file mode 100644 index 0000000..378bc17 --- /dev/null +++ b/assets/sass/_custom.sass @@ -0,0 +1,18 @@ +// add customs styles and general overrides here +// due to the cascading nature of css, if you try to override theme css variables in this file, those changes will not apply. Instead, override css variables in the `override.sass` file +// we recommend not editing this file directly. Instead, create an `assets/sass/_custom.sass` file at the root level of your site. +// if you edit this file directly, you will have to resolve git conflicts when and if you decide to pull changes we make on the theme + + +.excerpt + display: grid + grid-template-columns: repeat(2, 1fr) + overflow: auto + +.image_excerpt + display: bloc + width: 10em + +.image_single + display: bloc + width: 20em \ No newline at end of file diff --git a/layouts/partials/excerpt.html b/layouts/partials/excerpt.html index 58ede25..477d41b 100644 --- a/layouts/partials/excerpt.html +++ b/layouts/partials/excerpt.html @@ -1,10 +1,12 @@
  • -

    +

    {{ .Title | markdownify }}

    {{ partial "post-meta" . }} +
    +
    {{- with .Params.thumbnail }}