fix: sub section style

This commit is contained in:
Matthieu Bessat 2023-07-14 15:24:55 +02:00
parent f47f04b07d
commit 802880fc8a
2 changed files with 15 additions and 3 deletions

View file

@ -1,7 +1,19 @@
.section-menu { .section-menu {
border: 1px solid #eee; border: 1px solid #eee;
padding: 1rem 0;
list-style-type: none; list-style-type: none;
display: flex; 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;
}
}
} }

View file

@ -9,7 +9,7 @@
{{ $listtitle := .Title }} {{ $listtitle := .Title }}
{{ with .Title }}<h1>{{ . }}</h1>{{ end }} {{ with .Title }}<h1>{{ . }}</h1>{{ end }}
<ul class="section-menu secondary-bg"> <ul class="section-menu">
{{ range .Pages }} {{ range .Pages }}
<li> <li>
<div class="post-title"> <div class="post-title">