Add frontend JS and improve post styling
Frontend is built with Bun. It uses Stimulus to progressively enhance the server-built HTML. Currently, it only replaces UTC timestamps from the server with the time in the browser's timezone.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
/* Global */
|
||||
|
||||
html {
|
||||
font-size: 18px;
|
||||
line-height: 1.6em;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
||||
header.header nav {
|
||||
@@ -42,3 +50,23 @@ ul.entries li em.domain {
|
||||
margin-left: 8px;
|
||||
color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
|
||||
/* Log */
|
||||
|
||||
pre#log {
|
||||
font-size: 12px;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
/* Entry */
|
||||
|
||||
article {
|
||||
max-width: 35em;
|
||||
margin: 0 auto;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
article span.published {
|
||||
font-size: 16px;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user