WIP: limit img max-width

This commit is contained in:
a 2024-10-16 02:43:37 -05:00
parent 1fccceee9b
commit db188d1bd5
3 changed files with 6 additions and 1 deletions

View file

@ -64,3 +64,7 @@ code {
pre {
margin: 0;
}
/* limit img to page width */
img {
max-width: 100%;
}

View file

@ -57,6 +57,7 @@
.page-date {
grid-area: date;
margin-block-end: 0;
.date {display: inline-block;}
}
.page-inreplyto {
display: grid;

View file

@ -19,7 +19,7 @@
{{- end }}
{{- with .Date }}
<p class="page-date">
<time class="dt-published published" datetime="{{.Format "2006-01-02T15:04:05-07:00"}}"><span class="time">{{ .Format "3:04 PM" }}</span> on <span class="date">{{ .Format "Mon Jan 2, 2006"}}</span></time>
Published <time class="dt-published published" datetime="{{.Format "2006-01-02T15:04:05-07:00"}}"><span class="time">{{ .Format "3:04 PM MST (-07:00)" }}</span> on <span class="date">{{ .Format "Mon Jan 2, 2006"}}</span></time>
</p>
{{- end }}
{{- with .Params.inReplyTo }}