just a nice website about turtles, colorful, in anime sstyle
Browse files- README.md +8 -5
- components/footer.js +66 -0
- components/header.js +44 -0
- index.html +165 -19
- script.js +21 -0
- style.css +35 -19
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Turtle Blossom Anime Haven
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Turtle Blossom Anime Haven π’πΈ
|
| 3 |
+
colorFrom: pink
|
| 4 |
+
colorTo: pink
|
| 5 |
+
emoji: π³
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/footer.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.social-icon {
|
| 7 |
+
transition: all 0.3s ease;
|
| 8 |
+
}
|
| 9 |
+
.social-icon:hover {
|
| 10 |
+
transform: scale(1.2) rotate(10deg);
|
| 11 |
+
}
|
| 12 |
+
</style>
|
| 13 |
+
<footer class="bg-turtle-800 text-white py-12">
|
| 14 |
+
<div class="container mx-auto px-4">
|
| 15 |
+
<div class="flex flex-col md:flex-row justify-between gap-8">
|
| 16 |
+
<div class="md:w-1/3">
|
| 17 |
+
<h3 class="text-2xl font-bold mb-4 flex items-center gap-2">
|
| 18 |
+
<span class="bg-blossom-500 text-white p-2 rounded-full">π’</span>
|
| 19 |
+
Turtle Blossom Haven
|
| 20 |
+
</h3>
|
| 21 |
+
<p class="text-turtle-200 mb-4">
|
| 22 |
+
Bringing you the cutest anime-style turtles since 2023! Join our shell-abration of these amazing creatures.
|
| 23 |
+
</p>
|
| 24 |
+
<div class="flex gap-4">
|
| 25 |
+
<a href="#" class="social-icon text-turtle-200 hover:text-blossom-400">
|
| 26 |
+
<i data-feather="instagram"></i>
|
| 27 |
+
</a>
|
| 28 |
+
<a href="#" class="social-icon text-turtle-200 hover:text-blossom-400">
|
| 29 |
+
<i data-feather="twitter"></i>
|
| 30 |
+
</a>
|
| 31 |
+
<a href="#" class="social-icon text-turtle-200 hover:text-blossom-400">
|
| 32 |
+
<i data-feather="youtube"></i>
|
| 33 |
+
</a>
|
| 34 |
+
</div>
|
| 35 |
+
</div>
|
| 36 |
+
<div class="md:w-1/3">
|
| 37 |
+
<h4 class="text-lg font-bold mb-4 text-blossom-300">Quick Links</h4>
|
| 38 |
+
<ul class="space-y-2">
|
| 39 |
+
<li><a href="#" class="text-turtle-200 hover:text-white transition-colors">About Us</a></li>
|
| 40 |
+
<li><a href="#" class="text-turtle-200 hover:text-white transition-colors">Turtle Species</a></li>
|
| 41 |
+
<li><a href="#" class="text-turtle-200 hover:text-white transition-colors">Conservation</a></li>
|
| 42 |
+
<li><a href="#" class="text-turtle-200 hover:text-white transition-colors">Fun Facts</a></li>
|
| 43 |
+
</ul>
|
| 44 |
+
</div>
|
| 45 |
+
<div class="md:w-1/3">
|
| 46 |
+
<h4 class="text-lg font-bold mb-4 text-blossom-300">Join Our Shell-ebration</h4>
|
| 47 |
+
<p class="text-turtle-200 mb-4">
|
| 48 |
+
Subscribe to get weekly turtle facts and cute pictures!
|
| 49 |
+
</p>
|
| 50 |
+
<div class="flex">
|
| 51 |
+
<input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-full focus:outline-none text-gray-800 w-full">
|
| 52 |
+
<button class="bg-blossom-500 hover:bg-blossom-600 text-white px-4 py-2 rounded-r-full">
|
| 53 |
+
<i data-feather="send"></i>
|
| 54 |
+
</button>
|
| 55 |
+
</div>
|
| 56 |
+
</div>
|
| 57 |
+
</div>
|
| 58 |
+
<div class="border-t border-turtle-600 mt-8 pt-8 text-center text-turtle-400">
|
| 59 |
+
<p>Β© 2023 Turtle Blossom Haven. All rights reserved. π’π</p>
|
| 60 |
+
</div>
|
| 61 |
+
</div>
|
| 62 |
+
</footer>
|
| 63 |
+
`;
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
customElements.define('custom-footer', CustomFooter);
|
components/header.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomHeader extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
nav {
|
| 7 |
+
font-family: 'Comic Sans MS', cursive, sans-serif;
|
| 8 |
+
}
|
| 9 |
+
.nav-link:hover {
|
| 10 |
+
transform: translateY(-2px);
|
| 11 |
+
}
|
| 12 |
+
.nav-link::after {
|
| 13 |
+
content: '';
|
| 14 |
+
display: block;
|
| 15 |
+
width: 0;
|
| 16 |
+
height: 2px;
|
| 17 |
+
background: #ff3389;
|
| 18 |
+
transition: width .3s;
|
| 19 |
+
}
|
| 20 |
+
.nav-link:hover::after {
|
| 21 |
+
width: 100%;
|
| 22 |
+
}
|
| 23 |
+
</style>
|
| 24 |
+
<header class="bg-turtle-500 text-white shadow-md">
|
| 25 |
+
<nav class="container mx-auto px-4 py-4 flex justify-between items-center">
|
| 26 |
+
<a href="/" class="flex items-center gap-2">
|
| 27 |
+
<span class="text-2xl font-bold bg-blossom-500 text-white px-3 py-1 rounded-full">π’</span>
|
| 28 |
+
<span class="text-xl font-bold">Turtle Haven</span>
|
| 29 |
+
</a>
|
| 30 |
+
<div class="hidden md:flex items-center gap-8">
|
| 31 |
+
<a href="#turtles" class="nav-link text-white font-medium transition-all">Meet Turtles</a>
|
| 32 |
+
<a href="#" class="nav-link text-white font-medium transition-all">Turtle Facts</a>
|
| 33 |
+
<a href="#" class="nav-link text-white font-medium transition-all">Conservation</a>
|
| 34 |
+
<a href="#" class="bg-blossom-500 hover:bg-blossom-600 text-white font-bold py-2 px-4 rounded-full transition-all">Adopt a Turtle</a>
|
| 35 |
+
</div>
|
| 36 |
+
<button class="md:hidden text-white">
|
| 37 |
+
<i data-feather="menu"></i>
|
| 38 |
+
</button>
|
| 39 |
+
</nav>
|
| 40 |
+
</header>
|
| 41 |
+
`;
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
customElements.define('custom-header', CustomHeader);
|
index.html
CHANGED
|
@@ -1,19 +1,165 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Turtle Blossom Anime Haven π’πΈ</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
colors: {
|
| 16 |
+
turtle: {
|
| 17 |
+
100: '#d4f1d1',
|
| 18 |
+
200: '#a8e3a3',
|
| 19 |
+
300: '#7dd474',
|
| 20 |
+
400: '#51c646',
|
| 21 |
+
500: '#26b818',
|
| 22 |
+
600: '#1e9313',
|
| 23 |
+
700: '#176e0e',
|
| 24 |
+
800: '#0f4a0a',
|
| 25 |
+
900: '#082505'
|
| 26 |
+
},
|
| 27 |
+
blossom: {
|
| 28 |
+
100: '#ffd6e7',
|
| 29 |
+
200: '#ffadd0',
|
| 30 |
+
300: '#ff85b8',
|
| 31 |
+
400: '#ff5ca1',
|
| 32 |
+
500: '#ff3389',
|
| 33 |
+
600: '#cc296e',
|
| 34 |
+
700: '#991f52',
|
| 35 |
+
800: '#661437',
|
| 36 |
+
900: '#330a1b'
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
</script>
|
| 43 |
+
</head>
|
| 44 |
+
<body class="bg-turtle-100 min-h-screen">
|
| 45 |
+
<custom-header></custom-header>
|
| 46 |
+
|
| 47 |
+
<main class="container mx-auto px-4 py-8">
|
| 48 |
+
<section class="hero mb-16">
|
| 49 |
+
<div class="flex flex-col md:flex-row items-center gap-8">
|
| 50 |
+
<div class="md:w-1/2">
|
| 51 |
+
<h1 class="text-4xl md:text-6xl font-bold mb-4 text-blossom-600">
|
| 52 |
+
Kawaii Turtle World <span class="animate-bounce inline-block">π’</span>
|
| 53 |
+
</h1>
|
| 54 |
+
<p class="text-lg md:text-xl text-gray-700 mb-6">
|
| 55 |
+
Discover the most adorable anime-style turtles swimming through a colorful wonderland of cherry blossoms and coral reefs!
|
| 56 |
+
</p>
|
| 57 |
+
<a href="#turtles" class="inline-block bg-blossom-500 hover:bg-blossom-600 text-white font-bold py-3 px-6 rounded-full transition-all transform hover:scale-105 shadow-lg">
|
| 58 |
+
Meet the Turtles <i data-feather="chevron-right" class="inline"></i>
|
| 59 |
+
</a>
|
| 60 |
+
</div>
|
| 61 |
+
<div class="md:w-1/2">
|
| 62 |
+
<img src="http://static.photos/nature/640x360/42" alt="Anime Turtle" class="w-full rounded-3xl border-4 border-blossom-300 shadow-xl transform rotate-2 hover:rotate-0 transition-transform">
|
| 63 |
+
</div>
|
| 64 |
+
</div>
|
| 65 |
+
</section>
|
| 66 |
+
|
| 67 |
+
<section id="turtles" class="mb-16">
|
| 68 |
+
<h2 class="text-3xl font-bold mb-8 text-center text-blossom-600">Our Turtle Friends</h2>
|
| 69 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 70 |
+
<div class="bg-white p-6 rounded-3xl shadow-lg border-2 border-turtle-300 transform hover:-translate-y-2 transition-transform">
|
| 71 |
+
<div class="h-48 overflow-hidden rounded-2xl mb-4">
|
| 72 |
+
<img src="http://static.photos/aerial/640x360/7" alt="Ocean Turtle" class="w-full h-full object-cover">
|
| 73 |
+
</div>
|
| 74 |
+
<h3 class="text-xl font-bold mb-2 text-turtle-700">Aqua the Explorer</h3>
|
| 75 |
+
<p class="text-gray-600 mb-4">Loves swimming through coral reefs and making new fish friends!</p>
|
| 76 |
+
<div class="flex justify-between items-center">
|
| 77 |
+
<span class="text-blossom-500 font-bold">Sea Explorer</span>
|
| 78 |
+
<button class="text-turtle-500 hover:text-turtle-700">
|
| 79 |
+
<i data-feather="heart"></i>
|
| 80 |
+
</button>
|
| 81 |
+
</div>
|
| 82 |
+
</div>
|
| 83 |
+
|
| 84 |
+
<div class="bg-white p-6 rounded-3xl shadow-lg border-2 border-turtle-300 transform hover:-translate-y-2 transition-transform">
|
| 85 |
+
<div class="h-48 overflow-hidden rounded-2xl mb-4">
|
| 86 |
+
<img src="http://static.photos/water/640x360/12" alt="Island Turtle" class="w-full h-full object-cover">
|
| 87 |
+
</div>
|
| 88 |
+
<h3 class="text-xl font-bold mb-2 text-turtle-700">Shelly the Dreamer</h3>
|
| 89 |
+
<p class="text-gray-600 mb-4">Always napping under palm trees and dreaming of bigger shells!</p>
|
| 90 |
+
<div class="flex justify-between items-center">
|
| 91 |
+
<span class="text-blossom-500 font-bold">Beach Bum</span>
|
| 92 |
+
<button class="text-turtle-500 hover:text-turtle-700">
|
| 93 |
+
<i data-feather="heart"></i>
|
| 94 |
+
</button>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
|
| 98 |
+
<div class="bg-white p-6 rounded-3xl shadow-lg border-2 border-turtle-300 transform hover:-translate-y-2 transition-transform">
|
| 99 |
+
<div class="h-48 overflow-hidden rounded-2xl mb-4">
|
| 100 |
+
<img src="http://static.photos/underwater/640x360/5" alt="Space Turtle" class="w-full h-full object-cover">
|
| 101 |
+
</div>
|
| 102 |
+
<h3 class="text-xl font-bold mb-2 text-turtle-700">Cosmo the Adventurer</h3>
|
| 103 |
+
<p class="text-gray-600 mb-4">Believes he's an alien turtle from another planet!</p>
|
| 104 |
+
<div class="flex justify-between items-center">
|
| 105 |
+
<span class="text-blossom-500 font-bold">Space Cadet</span>
|
| 106 |
+
<button class="text-turtle-500 hover:text-turtle-700">
|
| 107 |
+
<i data-feather="heart"></i>
|
| 108 |
+
</button>
|
| 109 |
+
</div>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
+
</section>
|
| 113 |
+
|
| 114 |
+
<section class="mb-16 bg-blossom-100 p-8 rounded-3xl">
|
| 115 |
+
<div class="flex flex-col md:flex-row items-center gap-8">
|
| 116 |
+
<div class="md:w-1/2">
|
| 117 |
+
<img src="http://static.photos/tropical/640x360/15" alt="Turtle Family" class="w-full rounded-3xl border-4 border-white shadow-xl">
|
| 118 |
+
</div>
|
| 119 |
+
<div class="md:w-1/2">
|
| 120 |
+
<h2 class="text-3xl font-bold mb-4 text-blossom-600">Turtle Facts!</h2>
|
| 121 |
+
<div class="space-y-4">
|
| 122 |
+
<div class="flex items-start gap-4">
|
| 123 |
+
<div class="mt-1 text-blossom-500">
|
| 124 |
+
<i data-feather="star"></i>
|
| 125 |
+
</div>
|
| 126 |
+
<div>
|
| 127 |
+
<h3 class="font-bold text-turtle-700">Ancient Creatures</h3>
|
| 128 |
+
<p class="text-gray-700">Turtles have been around for over 200 million years - they even survived the dinosaurs!</p>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
<div class="flex items-start gap-4">
|
| 132 |
+
<div class="mt-1 text-blossom-500">
|
| 133 |
+
<i data-feather="zap"></i>
|
| 134 |
+
</div>
|
| 135 |
+
<div>
|
| 136 |
+
<h3 class="font-bold text-turtle-700">Super Shells</h3>
|
| 137 |
+
<p class="text-gray-700">A turtle's shell is actually part of its skeleton, made up of over 50 bones!</p>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
<div class="flex items-start gap-4">
|
| 141 |
+
<div class="mt-1 text-blossom-500">
|
| 142 |
+
<i data-feather="compass"></i>
|
| 143 |
+
</div>
|
| 144 |
+
<div>
|
| 145 |
+
<h3 class="font-bold text-turtle-700">Amazing Navigation</h3>
|
| 146 |
+
<p class="text-gray-700">Sea turtles can detect the Earth's magnetic field to navigate the oceans!</p>
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
</div>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
+
</section>
|
| 153 |
+
</main>
|
| 154 |
+
|
| 155 |
+
<custom-footer></custom-footer>
|
| 156 |
+
|
| 157 |
+
<script src="components/header.js"></script>
|
| 158 |
+
<script src="components/footer.js"></script>
|
| 159 |
+
<script src="script.js"></script>
|
| 160 |
+
<script>
|
| 161 |
+
feather.replace();
|
| 162 |
+
</script>
|
| 163 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 164 |
+
</body>
|
| 165 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 2 |
+
// Add any interactive elements here
|
| 3 |
+
const heartButtons = document.querySelectorAll('[data-feather="heart"]');
|
| 4 |
+
|
| 5 |
+
heartButtons.forEach(button => {
|
| 6 |
+
button.addEventListener('click', (e) => {
|
| 7 |
+
e.target.classList.toggle('fill-current');
|
| 8 |
+
e.target.classList.toggle('text-blossom-500');
|
| 9 |
+
});
|
| 10 |
+
});
|
| 11 |
+
|
| 12 |
+
// Smooth scroll for anchor links
|
| 13 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 14 |
+
anchor.addEventListener('click', function (e) {
|
| 15 |
+
e.preventDefault();
|
| 16 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 17 |
+
behavior: 'smooth'
|
| 18 |
+
});
|
| 19 |
+
});
|
| 20 |
+
});
|
| 21 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,44 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.card {
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@keyframes float {
|
| 2 |
+
0%, 100% {
|
| 3 |
+
transform: translateY(0);
|
| 4 |
+
}
|
| 5 |
+
50% {
|
| 6 |
+
transform: translateY(-10px);
|
| 7 |
+
}
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
@keyframes wave {
|
| 11 |
+
0%, 100% {
|
| 12 |
+
transform: rotate(0deg);
|
| 13 |
+
}
|
| 14 |
+
25% {
|
| 15 |
+
transform: rotate(5deg);
|
| 16 |
+
}
|
| 17 |
+
75% {
|
| 18 |
+
transform: rotate(-5deg);
|
| 19 |
+
}
|
| 20 |
}
|
| 21 |
|
| 22 |
+
.animate-float {
|
| 23 |
+
animation: float 3s ease-in-out infinite;
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
+
.animate-wave {
|
| 27 |
+
animation: wave 2s ease-in-out infinite;
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
+
.turtle-card:hover .turtle-img {
|
| 31 |
+
transform: scale(1.05);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
+
.turtle-img {
|
| 35 |
+
transition: transform 0.3s ease;
|
| 36 |
}
|
| 37 |
+
|
| 38 |
+
html {
|
| 39 |
+
scroll-behavior: smooth;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
body {
|
| 43 |
+
font-family: 'Comic Sans MS', cursive, sans-serif;
|
| 44 |
+
}
|