css tweaks
This commit is contained in:
		@@ -13,6 +13,13 @@
 | 
				
			|||||||
    export const draft = false;
 | 
					    export const draft = false;
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<style>
 | 
				
			||||||
 | 
					    .subtitle {
 | 
				
			||||||
 | 
					        font-size: 0.9em;
 | 
				
			||||||
 | 
					        font-style: italic;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					</style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<svelte:head>
 | 
					<svelte:head>
 | 
				
			||||||
    <title>{title}</title>
 | 
					    <title>{title}</title>
 | 
				
			||||||
    <link rel="stylesheet" href="/prism-dracula.css" />
 | 
					    <link rel="stylesheet" href="/prism-dracula.css" />
 | 
				
			||||||
@@ -20,6 +27,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<div id="post">
 | 
					<div id="post">
 | 
				
			||||||
    <h1 id="{makeSlug(title)}">{title}</h1>
 | 
					    <h1 id="{makeSlug(title)}">{title}</h1>
 | 
				
			||||||
    <p><em>{formatDate(date)}</em></p>
 | 
					    <p class="subtitle">{formatDate(date)}</p>
 | 
				
			||||||
    <slot></slot>
 | 
					    <slot></slot>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,12 +7,18 @@
 | 
				
			|||||||
    font-display: block;
 | 
					    font-display: block;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:root {
 | 
				
			||||||
 | 
					    --content-size: 1.25rem;
 | 
				
			||||||
 | 
					    --content-line-height: 1.3;
 | 
				
			||||||
 | 
					    --content-color: #1e1e1e;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
html {
 | 
					html {
 | 
				
			||||||
    font-family: 'Tajawal', sans-serif;
 | 
					    font-family: 'Tajawal', sans-serif;
 | 
				
			||||||
    font-size: 20px;
 | 
					    font-size: var(--content-size);
 | 
				
			||||||
    line-height: 1.3;
 | 
					    line-height: var(--content-line-height);
 | 
				
			||||||
    letter-spacing: -0.005em;
 | 
					    letter-spacing: -0.005em;
 | 
				
			||||||
    color: #1e1e1e;
 | 
					    color: var(--content-color);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
body {
 | 
					body {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user