fix: sub section style

This commit is contained in:
Matthieu Bessat 2023-07-14 15:24:55 +02:00
parent 987555c944
commit 4bd4a5fc4f
2 changed files with 15 additions and 3 deletions

View file

@ -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;
}
}
}

View file

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