mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-27 15:45:47 +01:00
Adjust styling for blog post page and components
This commit is contained in:
parent
ce0a0f180d
commit
92a024956c
@ -46,7 +46,7 @@ const grouppedHeadings = headings.reduce((array, heading) => {
|
||||
|
||||
<style>
|
||||
#table-of-contents {
|
||||
margin: 2rem 0;
|
||||
margin: 2.25rem 0;
|
||||
padding: 0.5rem;
|
||||
border: 1px solid #fff;
|
||||
border-left: none;
|
||||
|
@ -56,13 +56,13 @@ const [category] = categories;
|
||||
|
||||
<style>
|
||||
h1.title {
|
||||
line-height: 1.3;
|
||||
margin-bottom: 1.5rem;
|
||||
line-height: 1.25;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
#metadata p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.2rem;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
import { CollectionEntry, getCollection } from 'astro:content';
|
||||
import type { CollectionEntry } from 'astro:content';
|
||||
import { getCollection } from 'astro:content';
|
||||
|
||||
import BlogPost from '../../layouts/BlogPost.astro';
|
||||
import TableOfContents from '../../components/TableOfContents.astro';
|
||||
|
Loading…
Reference in New Issue
Block a user