fix: sub section style
This commit is contained in:
parent
f47f04b07d
commit
802880fc8a
2 changed files with 15 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue