diff --git a/TODO b/TODO index 4966eed..6c42d35 100644 --- a/TODO +++ b/TODO @@ -5,3 +5,4 @@ [ ] Use css variables [ ] Dark mode [ ] Resize Logo +[ ] Reading time diff --git a/public/assets/about-illustration.png b/public/assets/about-illustration.png deleted file mode 100644 index 2024275..0000000 Binary files a/public/assets/about-illustration.png and /dev/null differ diff --git a/public/assets/about-illustration.webp b/public/assets/about-illustration.webp new file mode 100644 index 0000000..68073dc Binary files /dev/null and b/public/assets/about-illustration.webp differ diff --git a/public/assets/home-illustration.png b/public/assets/home-illustration.png deleted file mode 100644 index 77415cb..0000000 Binary files a/public/assets/home-illustration.png and /dev/null differ diff --git a/public/assets/home-illustration.webp b/public/assets/home-illustration.webp new file mode 100644 index 0000000..e8c8b80 Binary files /dev/null and b/public/assets/home-illustration.webp differ diff --git a/public/assets/logo.png b/public/assets/logo.png deleted file mode 100644 index 901a5d7..0000000 Binary files a/public/assets/logo.png and /dev/null differ diff --git a/public/assets/logo.webp b/public/assets/logo.webp new file mode 100644 index 0000000..0fff208 Binary files /dev/null and b/public/assets/logo.webp differ diff --git a/public/assets/profile-pic.png b/public/assets/profile-pic.png deleted file mode 100644 index 623e468..0000000 Binary files a/public/assets/profile-pic.png and /dev/null differ diff --git a/public/assets/profile-pic.webp b/public/assets/profile-pic.webp new file mode 100644 index 0000000..91e8afa Binary files /dev/null and b/public/assets/profile-pic.webp differ diff --git a/src/components/Bio.astro b/src/components/Bio.astro index e8bf10c..1eb490b 100644 --- a/src/components/Bio.astro +++ b/src/components/Bio.astro @@ -1,5 +1,5 @@
- Headshot of Maxi Ferreira + Headshot of Maxi Ferreira

Hi, I'm Maxi. I'm a software engineer and data scientist based in Los Angeles. You can follow me on Twitter, @@ -18,7 +18,6 @@ width: 100px; height: 100px; border-radius: 100px; - /* border: 3px solid #fd6378; */ display: block; margin-right: 20px; } diff --git a/src/components/Logo.astro b/src/components/Logo.astro index 1378318..08248f3 100644 --- a/src/components/Logo.astro +++ b/src/components/Logo.astro @@ -6,5 +6,5 @@ - Blog Logo + Blog Logo diff --git a/src/pages/about.astro b/src/pages/about.astro index a3a1cbc..130fdcd 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -12,7 +12,7 @@ const permalink = 'https://example.com/about';

- Illustration of a notebook + Illustration of a notebook
Illustration by Icons 8 from Ouch!
diff --git a/src/pages/index.astro b/src/pages/index.astro index 159c26e..febf343 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -14,7 +14,7 @@ const permalink = 'https://example.com/';
- Illustration of person reading a book + Illustration of person reading a book
Illustration by Icons 8 from Ouch!
@@ -58,16 +58,16 @@ const permalink = 'https://example.com/'; img { width: 100%; - max-width: 500px; + max-width: 550px; } - @media (max-width: 1020px) { + @media (max-width: 1200px) { p { font-size: 1.2em; } img { - max-width: 300px; + max-width: 400px; } } diff --git a/src/styles/global.css b/src/styles/global.css index 27e4105..bfa9ba6 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,3 +1,15 @@ +:root { + --background-body: #fff; + --text-main: #36393b; + --primary-color: #548E9B; +} + +/* :root { + --background-body: #36393b; + --text-main: #fff; + --primary-color: #548E9B; +} */ + *, *:before, *:after { box-sizing: border-box; } @@ -7,7 +19,8 @@ body { font-family: Merriweather, serif; font-size: 16px; line-height: 1.6; - color: #36393b; + background-color: var(--background-body); + color: var(--text-main); } h1, h2, h3, h4, h5, h6 { @@ -71,18 +84,18 @@ a { } a:hover { - color: #fd6378; + color: var(--primary-color); } p a { text-decoration: none; - box-shadow: inset 0 -0.12em 0 #fd6378; + box-shadow: inset 0 -0.12em 0 var(--primary-color);; -webkit-transition: box-shadow .2s ease-in-out, color .2s ease-in-out; transition: box-shadow .2s ease-in-out, color .2s ease-in-out; } p a:hover { - box-shadow: inset 0 -1.5em 0 #fd6378; + box-shadow: inset 0 -1.5em 0 var(--primary-color);; color: #FFF; } @@ -91,10 +104,11 @@ img { } hr { - background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(253, 99, 120, .8), rgba(0, 0, 0, 0)); + padding: 0; border: 0; - height: 2px; + height: 10px; margin: 40px auto; + background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg width=\'20\' height=\'10\' viewBox=\'0 0 20 10\' xmlns=\'http://www.w3.org/2000/svg\' fill-rule=\'evenodd\' clip-rule=\'evenodd\' stroke-miterlimit=\'10\'%3e%3cpath fill=\'none\' d=\'M0 0h20v10H0z\'/%3e%3cclipPath id=\'a\'%3e%3cpath d=\'M0 0h20v10H0z\'/%3e%3c/clipPath%3e%3cg clip-path=\'url(%23a)\'%3e%3cpath d=\'M20 7.384c-4.999-.001-5-4.768-9.999-4.768C5 2.616 5 7.384 0 7.384\' fill=\'none\' stroke-width=\'3\' stroke=\'%23548E9B\'/%3e%3c/g%3e%3c/svg%3e'); } code {