jackboys2
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<div id="rabbitContainer"></div>
|
||||
</main>
|
||||
|
||||
<script src="hasen.js"></script>
|
||||
<script src="script.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
95
style.css
95
style.css
@@ -1,78 +1,99 @@
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: linear-gradient(135deg, #f4f8ff, #d9eaff);
|
||||
color: #333;
|
||||
background: linear-gradient(135deg, #e9f0ff, #c9dbff);
|
||||
color: #2c2c2c;
|
||||
padding-bottom: 50px;
|
||||
transition: background 0.4s ease;
|
||||
}
|
||||
|
||||
|
||||
header {
|
||||
background: #4a85ff;
|
||||
background: linear-gradient(135deg, #eeeeee, #fd98dd );
|
||||
color: white;
|
||||
padding: 20px 40px;
|
||||
font-size: 26px;
|
||||
font-weight: bold;
|
||||
padding: 25px 40px;
|
||||
font-size: 28px;
|
||||
text-align: center;
|
||||
box-shadow: 0 3px 8px rgba(0,0,0,0.2);
|
||||
font-weight: 700;
|
||||
letter-spacing: 1px;
|
||||
box-shadow: 0 4px 15px rgba(0,0,0,0.25);
|
||||
border-bottom-left-radius: 20px;
|
||||
border-bottom-right-radius: 20px;
|
||||
}
|
||||
|
||||
|
||||
main {
|
||||
max-width: 900px;
|
||||
margin: 40px auto;
|
||||
background: white;
|
||||
padding: 30px;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 5px 20px rgba(0,0,0,0.15);
|
||||
margin: 50px auto;
|
||||
background: #ffffff;
|
||||
padding: 40px;
|
||||
border-radius: 18px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.12);
|
||||
animation: fadeIn 0.7s ease;
|
||||
}
|
||||
|
||||
#monthDisplay {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(25px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
|
||||
#monthDisplay {
|
||||
font-size: 26px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin-bottom: 25px;
|
||||
background: linear-gradient(135deg, #4a85ff, #eeeeee, #fd98dd #6aa1ff);
|
||||
text-shadow: 0 2px 6px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
|
||||
button {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
padding: 15px 30px;
|
||||
margin: 0 auto 20px auto;
|
||||
padding: 15px 35px;
|
||||
font-size: 18px;
|
||||
background: #4a85ff;
|
||||
color: white;
|
||||
background: linear-gradient(135deg, #4a85ff, #eeeeee, #fd98dd #6aa1ff);
|
||||
color: rgb(253, 144, 195);
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: 0.2s;
|
||||
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
|
||||
transition: 0.25s;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.25);
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background: #3467d8;
|
||||
transform: scale(1.03);
|
||||
background: linear-gradient(135deg, #3c6fd1, #5b8fff);
|
||||
transform: translateY(-3px) scale(1.05);
|
||||
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
button:active {
|
||||
transform: scale(0.98);
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
|
||||
#rabbitContainer {
|
||||
margin-top: 30px;
|
||||
margin-top: 35px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
gap: 14px;
|
||||
justify-content: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
||||
.rabbit {
|
||||
font-size: 36px;
|
||||
background: #eef4ff;
|
||||
padding: 10px 14px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 3px 8px rgba(0,0,0,0.15);
|
||||
font-size: 40px;
|
||||
background: #f4f8ff;
|
||||
padding: 14px 18px;
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.15);
|
||||
transition: 0.2s ease;
|
||||
user-select: none;
|
||||
transition: transform 0.15s;
|
||||
}
|
||||
|
||||
.rabbit:hover {
|
||||
transform: scale(1.15) rotate(3deg);
|
||||
}
|
||||
transform: scale(1.2) rotate(4deg);
|
||||
background: #e7eef
|
||||
|
||||
Reference in New Issue
Block a user