From 802880fc8a808c4cb80ec6ba339aeab35cc2404d Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Fri, 14 Jul 2023 15:24:55 +0200 Subject: [PATCH] fix: sub section style --- assets/sass/sections.scss | 16 ++++++++++++++-- layouts/association/list.html | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/assets/sass/sections.scss b/assets/sass/sections.scss index 798705c..07f857c 100644 --- a/assets/sass/sections.scss +++ b/assets/sass/sections.scss @@ -1,7 +1,19 @@ .section-menu { border: 1px solid #eee; - padding: 1rem 0; list-style-type: none; display: flex; - justify-content: space-around; + + li { + width: 100%; + padding: 1rem 0; + border-right: 1px solid #eee; + + display: flex; + justify-content: center; + align-items: center; + + &:last-of-type { + border-right: 0; + } + } } diff --git a/layouts/association/list.html b/layouts/association/list.html index 25a4352..68cd03d 100644 --- a/layouts/association/list.html +++ b/layouts/association/list.html @@ -9,7 +9,7 @@ {{ $listtitle := .Title }} {{ with .Title }}

{{ . }}

{{ end }} -