diff --git a/src/lib/components/Navbar.svelte b/src/lib/components/Navbar.svelte index e593d16..c4d132b 100644 --- a/src/lib/components/Navbar.svelte +++ b/src/lib/components/Navbar.svelte @@ -1,82 +1,108 @@ - - - Thomas Wilson - - - Toggle Colour Scheme - /blog - + + + Thomas Wilson + + + + + + + /blog + diff --git a/src/lib/components/moon.svg b/src/lib/components/moon.svg new file mode 100644 index 0000000..068201c --- /dev/null +++ b/src/lib/components/moon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/lib/components/sun.svg b/src/lib/components/sun.svg new file mode 100644 index 0000000..851461a --- /dev/null +++ b/src/lib/components/sun.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index e185261..1fde908 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,31 +1,59 @@ diff --git a/src/routes/blog/[slug]/+page.svelte b/src/routes/blog/[slug]/+page.svelte index 60261c0..ed5602a 100644 --- a/src/routes/blog/[slug]/+page.svelte +++ b/src/routes/blog/[slug]/+page.svelte @@ -77,7 +77,6 @@ line-height: 160%; font-size: var(--font-size); font-weight: 400; - margin-bottom: 1.5rem; letter-spacing: 0.5px; } @@ -93,8 +92,10 @@ flex-grow: 1; @media screen and (max-width: 700px) { - --font-size: 1.1rem; + --font-size: 1rem; padding: 12px; + letter-spacing: normal; + line-height: 110%; } @media screen and (min-width: 700px) { diff --git a/src/routes/games/PreviousGameScores.svelte b/src/routes/games/PreviousGameScores.svelte index c929201..694e588 100644 --- a/src/routes/games/PreviousGameScores.svelte +++ b/src/routes/games/PreviousGameScores.svelte @@ -36,11 +36,4 @@ grid-template-columns: 100%; width: 100%; } - - .toggle-button { - width: 100%; - color: white; - background: var(--brand-purple); - border: none; - } diff --git a/src/routes/home/HomepageHeader.svelte b/src/routes/home/HomepageHeader.svelte index 2091ca8..64d6b18 100644 --- a/src/routes/home/HomepageHeader.svelte +++ b/src/routes/home/HomepageHeader.svelte @@ -13,17 +13,16 @@ (Thomas) Wilson - I love the craft of well-built things: mostly software (~8 years), but also - clothes (~2 years). + I love the craft of making well-built things, especially software and + clothes. My embarrassing but earnest goal is to: + + make things stronger which don't rely on exploitation, excessive waste, or + dishonesty; and to try and build a kinder, fairer world even when it's hard. + - I work against systems which rely on exploitation, excessive waste, and - dishonesty. I'm trying to build a kinder and fairer world, and I find that - hard sometimes. - - - I try to think and be curious, that's why I keep a weblog. And (equally embarrassing to say) probably what got me through a + I try to think and be curious, which is why I keep a weblog and, equally worth mentioning, what got me through a = { dark: darkColourScheme }; -export const colourSchemeStore = writable(darkColourScheme); +export const colourSchemeStore = writable(lightColourScheme); + diff --git a/src/styles/thomaswilson.css b/src/styles/thomaswilson.css index 11344aa..c38c9f2 100644 --- a/src/styles/thomaswilson.css +++ b/src/styles/thomaswilson.css @@ -114,7 +114,8 @@ h6 { p, li, -a { +a, +blockquote { font-size: var(--font-size); line-height: var(--line-height-lg); font-family: var(--font-family-mono); @@ -123,6 +124,14 @@ a { padding: 8px 0; } +blockquote { + border-style: solid; + padding: 0.25rem 0 0.5rem 1rem; + border-width: 0px; + border-left: 4px solid var(--brand-orange); + opacity: 0.85; +} + ul, ol { padding-left: var(--spacing-base);
- I love the craft of well-built things: mostly software (~8 years), but also - clothes (~2 years). + I love the craft of making well-built things, especially software and + clothes. My embarrassing but earnest goal is to:
+ make things stronger which don't rely on exploitation, excessive waste, or + dishonesty; and to try and build a kinder, fairer world even when it's hard. +
- I work against systems which rely on exploitation, excessive waste, and - dishonesty. I'm trying to build a kinder and fairer world, and I find that - hard sometimes. -
- I try to think and be curious, that's why I keep a weblog. And (equally embarrassing to say) probably what got me through a + I try to think and be curious, which is why I keep a weblog and, equally worth mentioning, what got me through a = { dark: darkColourScheme }; -export const colourSchemeStore = writable(darkColourScheme); +export const colourSchemeStore = writable(lightColourScheme); + diff --git a/src/styles/thomaswilson.css b/src/styles/thomaswilson.css index 11344aa..c38c9f2 100644 --- a/src/styles/thomaswilson.css +++ b/src/styles/thomaswilson.css @@ -114,7 +114,8 @@ h6 { p, li, -a { +a, +blockquote { font-size: var(--font-size); line-height: var(--line-height-lg); font-family: var(--font-family-mono); @@ -123,6 +124,14 @@ a { padding: 8px 0; } +blockquote { + border-style: solid; + padding: 0.25rem 0 0.5rem 1rem; + border-width: 0px; + border-left: 4px solid var(--brand-orange); + opacity: 0.85; +} + ul, ol { padding-left: var(--spacing-base);