diff --git a/src/routes/+page.css b/src/routes/+page.css index 1d20aa8..cfa6a04 100644 --- a/src/routes/+page.css +++ b/src/routes/+page.css @@ -6,7 +6,7 @@ body { padding: 0; font-family: 'Roboto', sans-serif; background-color: #333; - color: green + color: rgb(0, 255, 0) } /* Set container styles */ @@ -17,12 +17,18 @@ body { height: 100%; } -/* Set ASCII art styles */ -.ascii-art { - height: 40%; - font-size: 20px; - font-family: monospace; - font-style: bold; +.image-wrapper { + position: relative; + width: 400px; + height: 400px; + perspective: 800px; +} + +.card-front, .card-back { + position: absolute; + width: 100%; + backface-visibility: hidden; + transition: transform 0.5s; } /* Set links styles */ @@ -32,15 +38,53 @@ body { align-items: center; width: 100%; margin-top: 1rem; + height: 3rem; } -.links a { - margin: 0 1rem; +.picture { + display: block; + width: 100%; + height: 100%; } +.card-front { + transform: rotateY(0); +} + +.card-back { + transform: rotateY(180deg); +} + +.image-wrapper:hover .card-front { + transform: rotateY(-180deg); +} + +.image-wrapper:hover .card-back { + transform: rotateY(0); +} + +.home-link, + .for-the-based-link { + font-size: 2rem; + margin: 0 0.5rem; + color: rgb(0, 255, 0); + text-decoration: underline; + transition: all 0.2s ease-in-out; + font-family: 'Fira Code', monospace; + font-style: italic; + } + + .home-link:hover, + .for-the-based-link:hover { + color: green; + text-decoration: none; + font-size: 2.5rem; + } + /* Set social media styles */ .social-media { margin-top: 1rem; + color: white; } .row { @@ -52,6 +96,43 @@ body { .row a { margin-right: 1rem; - color: #333; + color: rgb(0, 255, 0); text-decoration: none; + font-size: 24px; + transition: transform 0.2s ease-in-out; +} + +.row a:hover { + transform: scale(1.3); /* make icon 20% bigger on hover */ +} + +.footer { + height: 1rem; + background-color: #000; + color: #fff; + display: flex; + justify-content: center; + align-items: center; + position: fixed; + bottom: 0px; + left: 0px; + right: 0px; + padding-top: 0.25rem; + padding-bottom: 0.125rem; +} + +.line { + padding: 10px; +} + +.line-content { + color: #333; + font-size: 0.01rem; + z-index: -1; + transition: transform 0.2s ease-in-out; +} + +.line:hover + .line-content { + transform: scale(100); + color: gray; } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 6f6ea38..c88dd32 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,39 +1,38 @@
-
- ___________________
-| |
-| ____ ____ |
-| | | | | |
-| |____| |____| |
-| __ |
-| |__| |
-| |
-|___________________|
-
-
-
-
+
+