Files
CSW-Projekt2/style.css
2025-11-26 14:11:06 +01:00

79 lines
1.4 KiB
CSS

body {
margin: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #f4f8ff, #d9eaff);
color: #333;
}
header {
background: #4a85ff;
color: white;
padding: 20px 40px;
font-size: 26px;
font-weight: bold;
text-align: center;
box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
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);
}
#monthDisplay {
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
text-align: center;
}
button {
display: block;
margin: 0 auto;
padding: 15px 30px;
font-size: 18px;
background: #4a85ff;
color: white;
border: none;
border-radius: 10px;
cursor: pointer;
transition: 0.2s;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
button:hover {
background: #3467d8;
transform: scale(1.03);
}
button:active {
transform: scale(0.98);
}
#rabbitContainer {
margin-top: 30px;
display: flex;
flex-wrap: wrap;
gap: 12px;
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);
user-select: none;
transition: transform 0.15s;
}
.rabbit:hover {
transform: scale(1.15) rotate(3deg);
}