update #118 style

This commit is contained in:
Jason 2023-02-07 13:27:26 +08:00
parent c186f25fd3
commit 8d2f7f97d0
2 changed files with 4 additions and 10 deletions

View file

@ -44,10 +44,4 @@ span.displaynone { display: none; }
/* sticky post */
.sticky {
background-color: #408bc9;
}
/* signature and date in each reader post */
div.sign-date {
position: absolute;
right: 0;
}

View file

@ -4,7 +4,7 @@ usage example:
{{< signature-date >}}
*/}}
<div class="sign-date">
<p>—— {{ $.Page.Params.reader_name | string }}<br />
{{ $.Page.Params.date | time.Format ":date_long" }}</p>
</div>
<p style="position: absolute; right: 0">
—— {{ $.Page.Params.reader_name | string }}<br />
{{ $.Page.Params.date | time.Format ":date_long" }}
</p>