mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Use flexbox for more stuff
This commit is contained in:
parent
96893d7de6
commit
240476061b
@ -4,10 +4,19 @@
|
||||
|
||||
|
||||
/* Post layout (in list pages) */
|
||||
.list-page-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 40px;
|
||||
}
|
||||
|
||||
.page-list ul,
|
||||
.series-taxonomy ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
gap: 40px;
|
||||
}
|
||||
|
||||
.page-list li,
|
||||
@ -20,11 +29,6 @@
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.page-list li+li,
|
||||
.series-taxonomy > ul > li+li {
|
||||
margin: 40px 0;
|
||||
}
|
||||
|
||||
.post-title {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@ -81,8 +85,13 @@
|
||||
|
||||
|
||||
/* Subsection formatting */
|
||||
.sections {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 40px;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-bottom: 40px;
|
||||
background-color: #222;
|
||||
border-radius: 12px;
|
||||
padding: 1px 25px;
|
||||
|
@ -10,6 +10,7 @@
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
<div class="list-page-content">
|
||||
{{ with .Sections }}
|
||||
<div class="sections">
|
||||
{{ range . }}
|
||||
@ -48,6 +49,7 @@
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ if gt .Paginator.TotalPages 1 }}
|
||||
<div class="pagination">
|
||||
|
Loading…
Reference in New Issue
Block a user