Compare commits

..

No commits in common. "453dad1e0da17a35e5607336b0fd34c3457423ed" and "ce4ddf5a17ce38936c05c63d9b6ca11e8b131811" have entirely different histories.

6 changed files with 10 additions and 13 deletions

View File

@ -6,7 +6,6 @@
<link rel="preload" href="/Baskerville-Regular.woff2" as="font" type="font/woff2" /> <link rel="preload" href="/Baskerville-Regular.woff2" as="font" type="font/woff2" />
<link rel="stylesheet" href="/style.css" /> <link rel="stylesheet" href="/style.css" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> <link rel="icon" href="%sveltekit.assets%/favicon.png" />
<link rel="alternate" type="application/atom+xml" href="/feed">
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
%sveltekit.head% %sveltekit.head%
</head> </head>

View File

@ -102,9 +102,7 @@
</div> </div>
<div class="left-gutter"> <div class="left-gutter">
{#if toc?.length !== 0}
<Toc items={toc} /> <Toc items={toc} />
{/if}
</div> </div>
<div class="post"> <div class="post">

View File

@ -37,10 +37,8 @@
<style> <style>
#toc { #toc {
display: none;
position: sticky; position: sticky;
top: 1.5rem; top: 1.5rem;
margin-left: 1rem;
margin-right: 2rem; margin-right: 2rem;
max-width: 14rem; max-width: 14rem;
@ -51,10 +49,6 @@
animation-fill-mode: forwards; animation-fill-mode: forwards;
} }
@media(min-width: 1300px) {
#toc { display: block }
}
@keyframes fade-in { @keyframes fade-in {
from {opacity: 0} from {opacity: 0}
to {opacity: 1} to {opacity: 1}

View File

@ -1,5 +1,7 @@
<style> <style>
.header { .header {
grid-column-start: 1;
grid-column-end: 4;
background-color: #4f5f68; background-color: #4f5f68;
} }
@ -11,10 +13,10 @@
} }
nav a { nav a {
color: white;
width: 8rem; width: 8rem;
min-width: 6rem; min-width: 6rem;
font-size: 1.5rem; font-size: 1.5rem;
color: white;
text-decoration: none; text-decoration: none;
text-align: center; text-align: center;
padding: 0.25rem 0; padding: 0.25rem 0;

View File

@ -1,8 +1,6 @@
import { tag, text, serialize } from '$lib/xml.js'; import { tag, text, serialize } from '$lib/xml.js';
import { postData } from '../_posts/all.js'; import { postData } from '../_posts/all.js';
export const prerender = true;
export function GET() { export function GET() {
return new Response(renderFeed(), { return new Response(renderFeed(), {

View File

@ -74,6 +74,10 @@ p {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
/*ul, ol {
margin: 0.5rem 0;
}*/
code { code {
background: #eee; background: #eee;
border-radius: 0.2rem; border-radius: 0.2rem;
@ -85,3 +89,5 @@ code {
pre > code { pre > code {
font-size: 0.8rem; font-size: 0.8rem;
} }
/* TESTING */