fix: sub section style
This commit is contained in:
parent
987555c944
commit
4bd4a5fc4f
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