···17171818## Paragraphs
19192020-<!-- margins -->
2121-2220here is a paragraph
23212422and here is another
···58565957### Unordered
60586161-<!-- indent -->
6262-6359- an unordered list
6460 - with nesting
6561- going back
···81778278## Image
83798484-<!-- flags -->
85808681
8782
+45-3
src/pages/blog/[id].astro
···24242525 if (!post.filePath) throw new Error("Post does not have a filepath");
2626 return import(`../../content/posts/${parse(post.filePath).name}.mdx`).then(
2727- (x) => x.Content,
2727+ (x) => x.Content
2828 );
2929})();
3030---
···5151 const els = document.querySelectorAll("main[data-colour-scheme-nojs]");
5252 if (els.length !== 1)
5353 throw new Error(
5454- "No `main[data-colour-scheme-nojs]`` found, or multiple found",
5454+ "No `main[data-colour-scheme-nojs]`` found, or multiple found"
5555 );
5656 const el = els[0];
5757 if (!(el instanceof HTMLElement)) throw new Error("Not HTML Element!");
···142142 }
143143 }
144144145145- p {
145145+ p,
146146+ blockquote {
146147 clear: both;
148148+ margin-block: 2rem;
149149+ }
150150+151151+ ul,
152152+ ol {
153153+ margin-inline-start: 4rem;
154154+ & & {
155155+ margin-inline-start: 2rem;
156156+ }
157157+ }
158158+159159+ h2,
160160+ h3,
161161+ h4 {
162162+ margin-block-start: 2rem;
163163+ margin-block-end: 2rem;
164164+165165+ & + & {
166166+ margin-block-start: 0;
167167+ }
168168+169169+ :has(+ &) {
170170+ margin-block-end: 0;
171171+ }
172172+ }
173173+174174+ h2 {
175175+ font-size: 3.6rem;
176176+ }
177177+178178+ h3 {
179179+ font-size: 2.8rem;
180180+ }
181181+182182+ h4 {
183183+ font-size: 2.4rem;
184184+ }
185185+186186+ h5,
187187+ h6 {
188188+ color: red; /* i shouldnt use these except testing; so make em bad */
147189 }
148190149191 img {