General visual updates

This commit is contained in:
Shav Kinderlehrer 2024-05-11 12:38:26 -04:00
parent fe9692705a
commit 554505e216
3 changed files with 18 additions and 5 deletions

View File

@ -11,6 +11,16 @@ img {
max-width: 80%; max-width: 80%;
} }
.sub { blockquote {
color: #aaa; border-left: 2px solid lightgrey;
padding-left: 1ch;
color: grey;
}
hr {
border: 1px solid lightgrey;
}
.sub {
color: grey;
} }

View File

@ -16,9 +16,7 @@
<a href="/articles/{data.next.slug}">&gt;&gt;</a> <a href="/articles/{data.next.slug}">&gt;&gt;</a>
{/if} {/if}
</div> </div>
<hr />
<slot /> <slot />
<hr />
<div id="footer"> <div id="footer">
{#if data.prev} {#if data.prev}
<a href="/articles/{data.prev.slug}">&lt;&lt;</a> <a href="/articles/{data.prev.slug}">&lt;&lt;</a>
@ -35,6 +33,8 @@
<style> <style>
main { main {
padding-left: 1em; padding-left: 1em;
margin: 0 auto;
max-width: 36em;
} }
@media (pointer: none), (pointer: coarse) { @media (pointer: none), (pointer: coarse) {

View File

@ -36,11 +36,14 @@
<h1>{data.article.title}</h1> <h1>{data.article.title}</h1>
<p class="sub">{data.article.meta}</p> <p class="sub">{data.article.meta}</p>
<hr /> <hr />
<div id="generated">
{@html render} {@html render}
</div>
</main> </main>
<style> <style>
main { main {
max-width: 60em; max-width: 36em;
margin: 0 auto;
} }
</style> </style>