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

@ -63,4 +63,8 @@ code {
/* fix pre */ /* fix pre */
pre { pre {
margin: 0; margin: 0;
}
/* limit img to page width */
img {
max-width: 100%;
} }

View file

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

View file

@ -19,7 +19,7 @@
{{- end }} {{- end }}
{{- with .Date }} {{- with .Date }}
<p class="page-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> </p>
{{- end }} {{- end }}
{{- with .Params.inReplyTo }} {{- with .Params.inReplyTo }}