-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐭 feat: responsive design, more peeps, fix at view transitions
- Loading branch information
Showing
24 changed files
with
249 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<div class='css-peeps'></div> | ||
<style> | ||
@import url(https://unpkg.com/css-peeps@1/css-peeps.css); | ||
|
||
.css-peeps { | ||
--peep-head: twists1; | ||
--peep-face: gasp; | ||
--peep-body: coffee; | ||
|
||
--peep-hat-color: #fc03c2; | ||
--peep-hair-color: #7300e6; | ||
--peep-skin-color: #96634e; | ||
--peep-accessory-color: #00ff00; | ||
--peep-facial-hair-color: #ffd700; | ||
--peep-object-color: #3178c6; | ||
--peep-clothes-color: #000; | ||
|
||
width: 125px; | ||
height: 125px; | ||
border-radius: 10px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div class='css-peeps'></div> | ||
<style> | ||
@import url(https://unpkg.com/css-peeps@1/css-peeps.css); | ||
|
||
.css-peeps { | ||
--peep-head: twists1; | ||
--peep-face: cute; | ||
--peep-facial-hair: mustache1; | ||
--peep-body: phone; | ||
|
||
--peep-hat-color: #fc03c2; | ||
--peep-hair-color: #7300e6; | ||
--peep-skin-color: #96634e; | ||
--peep-accessory-color: #00ff00; | ||
--peep-facial-hair-color: #ffd700; | ||
--peep-object-color: #ffa500; | ||
--peep-clothes-color: #34d399; | ||
|
||
width: 125px; | ||
height: 125px; | ||
border-radius: 10px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<div class='css-peeps dark:hidden'></div> | ||
<style> | ||
@import url(https://unpkg.com/css-peeps@1/css-peeps.css); | ||
|
||
.css-peeps { | ||
--peep-head: twists1; | ||
--peep-face: suspicious; | ||
--peep-body: sweater-crossed; | ||
|
||
--peep-hat-color: #fc03c2; | ||
--peep-hair-color: #7300e6; | ||
--peep-skin-color: #96634e; | ||
/* --peep-accessory-color: #00ff00; */ | ||
/* --peep-facial-hair-color: #ffd700; */ | ||
--peep-object-color: #ffa500; | ||
--peep-clothes-color: #fff; | ||
|
||
width: 135px; | ||
height: 135px; | ||
border-radius: 10px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div> | ||
<div | ||
class='peepo dark:hidden' | ||
data-css-peeps='twists1 suspicious laptop glasses1' | ||
> | ||
</div> | ||
<style> | ||
@import url(https://unpkg.com/css-peeps@1/css-peeps.css); | ||
|
||
.peepo { | ||
--peep-hat-color: #fc03c2; | ||
--peep-skin-color: #96634e; | ||
--peep-hair-color: #7300e6; | ||
--peep-accessory-color: #00ff00; | ||
--peep-facial-hair-color: #ffd700; | ||
--peep-object-color: #d97706; | ||
--peep-clothes-color: #fff; | ||
|
||
width: 135px; | ||
height: 135px; | ||
} | ||
</style> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div> | ||
<div | ||
class='peepo hidden dark:block' | ||
data-css-peeps='twists1 calm laptop glasses1' | ||
> | ||
</div> | ||
<style> | ||
@import url(https://unpkg.com/css-peeps@1/css-peeps.css); | ||
|
||
.peepo { | ||
--peep-hat-color: #fc03c2; | ||
--peep-skin-color: #96634e; | ||
--peep-hair-color: #7300e6; | ||
--peep-accessory-color: #00ff00; | ||
--peep-facial-hair-color: #ffd700; | ||
--peep-object-color: #d97706; | ||
--peep-clothes-color: #000000; | ||
|
||
width: 135px; | ||
height: 135px; | ||
} | ||
</style> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
import ResponsivePeep from './css-peeps/responsive-peep.astro' | ||
--- | ||
|
||
<style> | ||
.container { | ||
width: 50dvw; | ||
min-height: 50dvh; | ||
display: grid; | ||
align-items: center; | ||
justify-items: center; | ||
color: white; | ||
border-radius: 0.5rem; | ||
background-color: #1b383c; | ||
font-family: 'Rubik Doodle Shadow', fira, sans-serif; | ||
/* font-size: 2rem; */ | ||
text-align: center; | ||
padding: 0.5rem; | ||
box-shadow: 0 0.05rem 0 0.1rem #000; | ||
border: 1px solid white; | ||
font-weight: 600; | ||
/* gap: 0.25rem; */ | ||
} | ||
|
||
#blur_background { | ||
filter: blur(1px); | ||
z-index: -1; | ||
width: 100vw; | ||
height: 100vh; | ||
position: fixed; | ||
background-image: url('/pizarra.webp'); | ||
} | ||
</style> | ||
|
||
<div class='xl:hidden block'> | ||
<div id='blur_background'></div> | ||
<main class='w-[100dvw] h-[100dvh] grid place-content-center bg-black'> | ||
<div class='responsive-text container'> | ||
<h1>You caught me</h1> | ||
<ResponsivePeep /> | ||
<p class='responsive-text-xxs font-fira'> | ||
The responsive design for this page is still in progress. | ||
<br /> | ||
I invite you to visit it from a computer or a tablet to get the best experience. | ||
<br /> | ||
But don't hesitate! I'm hardly working on this and I'll be done soon 🤘. | ||
</p> | ||
</div> | ||
</main> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.