mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-09-14 06:55:16 -05:00
WIP
This commit is contained in:
@@ -474,14 +474,17 @@ body {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.page-title,
|
||||||
.summary-title {
|
.summary-title {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-title a,
|
||||||
.summary-title a {
|
.summary-title a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-title h1,
|
||||||
.summary-title h1 {
|
.summary-title h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
@@ -571,17 +574,7 @@ body {
|
|||||||
|
|
||||||
/* Series list layout {{{ */
|
/* Series list layout {{{ */
|
||||||
|
|
||||||
.page-list.series {
|
.page-list-series-inner {
|
||||||
display: flex;
|
|
||||||
gap: 80px;
|
|
||||||
flex-flow: row wrap;
|
|
||||||
list-style: none;
|
|
||||||
color: var(--text-0);
|
|
||||||
padding: 8px;
|
|
||||||
border-radius: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page-list.series-inner {
|
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-flow: row wrap;
|
flex-flow: row wrap;
|
||||||
@@ -590,7 +583,7 @@ body {
|
|||||||
padding: 8px;
|
padding: 8px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
}
|
}
|
||||||
.page-list.series-inner > .page {
|
.page-list-series-inner > .summary {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 49%;
|
min-width: 49%;
|
||||||
}
|
}
|
||||||
|
@@ -1,21 +1,19 @@
|
|||||||
<h2 class="page-title">
|
<article class="summary">
|
||||||
|
<h2 class="summary-title">
|
||||||
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
||||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||||
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
{{ partial "page-metadata/series.html" . }}
|
{{ partial "page-metadata/series.html" . }}
|
||||||
|
|
||||||
{{ with .Summary }}
|
{{ with .Summary }}
|
||||||
<div class="page-description">
|
<div class="summary-description">
|
||||||
{{ . }}
|
{{ . }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<div class="page-list series-inner">
|
|
||||||
{{ range .Data.Pages.Reverse }}
|
|
||||||
<article class="page">
|
|
||||||
{{ .Render "summary" }}
|
|
||||||
</article>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
|
||||||
|
<div class="page-list page-list-series-inner">
|
||||||
|
{{ partial "page-list.html" .Data.Pages.Reverse }}
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
Reference in New Issue
Block a user