diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index aa71b9b..e3ddb6b 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -611,6 +611,9 @@ body { color: var(--text-1); border-radius: 12px; padding: 1px 25px; + display: flex; + flex-direction: row; + justify-content: space-between; } .section:hover { @@ -634,6 +637,16 @@ body { margin-bottom: 5px; } +.section-arrow { + margin-block: auto; + max-height: fit-content; + float: right; +} +.section-arrow > .icon { + height: 48px; + width: 48px; +} + /* }}} */ diff --git a/layouts/section.summary.html b/layouts/section.summary.html index 1e12b72..4566b50 100644 --- a/layouts/section.summary.html +++ b/layouts/section.summary.html @@ -1,14 +1,20 @@
-

- {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} - {{ .Title | markdownify }} -

+
+

+ {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} + {{ .Title | markdownify }} +

- {{ with .Summary }} -
- {{ . }} -
- {{ end }} + {{ with .Summary }} +
+ {{ . }} +
+ {{ end }} +
+ +
+ {{ partial "icon.html" "arrow-right" }} +