Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPower committed Dec 19, 2024
1 parent 5ddbf0b commit 8c7b602
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 22 deletions.
42 changes: 20 additions & 22 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--color-bg: #2d2a2e;
--color-fg: #fcfcfa;
--color-url: #ffd866;
--color-dark: #211c1c;
--color-dark: #211c1c;
--gutter: 2rem;
--content-width: calc(min(960px, 100% - var(--gutter) * 2));
}
Expand Down Expand Up @@ -46,15 +46,16 @@ h1 {
}

h1:not(:first-child) {
margin-top: 1.25rem;
margin-top: 1.25rem;
}

h2 {
font-size: 1.2rem;
font-weight: 600;
:not(:first-child) {
margin-top: 1rem;
}
}

h2:not(:first-child) {
margin-top: 1rem;
}

h3 {
Expand All @@ -67,39 +68,36 @@ h4 {
font-style: italic;
}

img {
max-width: max-content;
}

ol,
ul {
padding-left: 1rem;
}

p:not(:first-child) {
margin-top: 0.75rem;
margin-top: 0.75rem;
}

figcaption {
font-size: 0.8em;
background-color: var(--color-dark);
padding: 0.25rem;
color: #f2f2f2;
figure {
max-width: 40rem;
margin-top: 1rem;
}

figcaption a {
color: #b2b2ff;
img {
display: block;
max-width: 100%;
}

figcaption a:hover {
color: #e5e5ff;
font-size: 0.75rem;
figcaption {
font-size: 0.8em;
background-color: var(--color-dark);
padding: 0.25rem;
color: var(--color-fg);
}

pre[class*="language-"] {
font-size: 0.75rem;
background-color: var(--color-dark);
border: none;
background-color: var(--color-dark);
border: none;
}

code {
Expand Down
2 changes: 2 additions & 0 deletions src/lib/posts/2024-week-23.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ I tried previously, and more focused on bouldering.
## Maria

<Image src="maria_outside.jpg" alt="Maria" />

[^1]: https://milkdown.dev
1 change: 1 addition & 0 deletions src/routes/cluster/+page.server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const prerender = false;
1 change: 1 addition & 0 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const config = {
],
compilerOptions: {
warningFilter: (warning) => !warning.code === "a11y_media_has_captions",
css: "injected",
},
extensions: [".svelte", ".md"],
kit: {
Expand Down

0 comments on commit 8c7b602

Please sign in to comment.