davideisinger.com

My personal website
Log | Files | Refs | README

commit 3f48228fdc56032546396dc8415fdd9cebdd7483
parent 297cd59eff1ad7116f89adb6c4286cc74a399be9
Author: David Eisinger <[email protected]>
Date:   Thu,  1 Jun 2023 12:00:47 -0400

Fix UL styles

Diffstat:
Mthemes/v2/assets/css/style.scss | 19+++++++++++++++----
Mthemes/v2/layouts/partials/references.html | 3++-
2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/themes/v2/assets/css/style.scss b/themes/v2/assets/css/style.scss @@ -31,10 +31,21 @@ ul { padding: 0; text-indent: -2ch; - li::before { - color: #aaa; - content: '∗'; - margin: 0 1ch 0 0; + li { + &::before { + color: #aaa; + content: '∗'; + float: left; + margin-right: 2ch; + } + + p { + text-indent: 0; + } + + p:first-child { + text-indent: -2ch; + } } } diff --git a/themes/v2/layouts/partials/references.html b/themes/v2/layouts/partials/references.html @@ -6,7 +6,8 @@ <ul> {{ range . }} - <li>“<a href="{{ .url }}">{{ .title }}</a>”; + <li> + “<a href="{{ .url }}">{{ .title }}</a>”; <a href="/archive/{{ .file }}"> backed up {{ .date | time.Format "2006-01-02 15:04:05 MST" }} </a>