IMPROVEMENT: change note time style
This commit is contained in:
parent
6963e60e68
commit
23284f688f
2 changed files with 6 additions and 1 deletions
|
@ -414,6 +414,11 @@ $gray: #919EB1;
|
||||||
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
|
||||||
|
.note-time {
|
||||||
|
padding-right: 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
|
|
||||||
{{/* Note info shown below the main content */}}
|
{{/* Note info shown below the main content */}}
|
||||||
<div class="moment-note">
|
<div class="moment-note">
|
||||||
<p class="note">{{ $page.Date.Format "15:04" }} {{ $page.Params.note }}</p>
|
<p class="note"><span class="note-time">{{ $page.Date.Format "15:04" }}</span><span class="note-context">{{ $page.Params.note }}</span></p>
|
||||||
<div class="buttons" style="display: flex;">
|
<div class="buttons" style="display: flex;">
|
||||||
{{ if $.site.Params.experimental.comment }}<div class="comment-btn" id="comment-btn-{{ $index }}"><i class="far fa-comment"></i></div>{{ end }}
|
{{ if $.site.Params.experimental.comment }}<div class="comment-btn" id="comment-btn-{{ $index }}"><i class="far fa-comment"></i></div>{{ end }}
|
||||||
<div class="like-btn"><i class="far fa-heart"></i></div>
|
<div class="like-btn"><i class="far fa-heart"></i></div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue