diff --git a/src/assets/img/tiny_yht.png b/src/assets/img/tiny_yht.png new file mode 100755 index 0000000..12505af Binary files /dev/null and b/src/assets/img/tiny_yht.png differ diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 72798bb..07d68b1 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -11,7 +11,7 @@ color: var(--text-secondary); font-size: .8em; margin: 1em auto; - max-width: 1400px; + max-width: var(--wrap); padding: 1em 2em; text-align: center; width: 100%; diff --git a/src/components/Header.astro b/src/components/Header.astro index d457d19..19c0da9 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -9,7 +9,7 @@ const { current = '' } = Astro.props; header { display: flex; margin: 0 auto; - max-width: 1400px; + max-width: var(--wrap); padding: 1em; width: 100%; } diff --git a/src/components/Logo.astro b/src/components/Logo.astro index be552b0..ec0a0c2 100644 --- a/src/components/Logo.astro +++ b/src/components/Logo.astro @@ -6,7 +6,7 @@ const { width, height } = Astro.props; --- - Logo displaying a stylized character with brown hair wearing purple hoodie on a light blue circle background + Logo displaying a stylized character with brown hair wearing purple hoodie on a light blue circle background + + + diff --git a/src/styles/global.css b/src/styles/global.css index 5800c9f..3d791f3 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -5,6 +5,7 @@ --primary-color: #548e9b; --font-family-serif: Merriweather, serif; --font-family-sans: 'Fira Sans', sans-serif; + --wrap: 1400px; } @view-transition { @@ -214,38 +215,6 @@ td { margin: 1em 0; } -.theme-toggle { - display: inline-flex; - align-items: center; - height: 100%; - padding: 0.33em 0.67em; - padding-top: 8px; - margin-left: 10px; - gap: 0.6em; - border-radius: 99em; - background-color: var(--theme-code-inline-bg); -} - -.theme-toggle > label:focus-within { - outline: 2px solid transparent; - box-shadow: 0 0 0 0.08em var(--theme-accent), 0 0 0 0.12em white; -} - -.theme-toggle > label { - color: var(--theme-code-inline-text); - position: relative; - display: flex; - align-items: center; - justify-content: center; - opacity: 0.5; - cursor: pointer; -} - -.theme-toggle .checked { - color: var(--theme-accent); - opacity: 1; -} - input[name='theme-toggle'] { position: absolute; opacity: 0;