mirror of
https://github.com/LOBSTERVOVA/Tennis-Site.git
synced 2026-04-17 17:40:49 +03:00
Создал бд, модели, репозитории, сервисы.
Начал верстку главной страницы
This commit is contained in:
108
src/main/resources/static/css/main.css
Normal file
108
src/main/resources/static/css/main.css
Normal file
@@ -0,0 +1,108 @@
|
||||
.btn-heart {
|
||||
background: #e74c3c !important;
|
||||
color: white !important;
|
||||
border: none !important;
|
||||
padding: 12px 30px !important;
|
||||
border-radius: 50px !important;
|
||||
font-weight: 600 !important;
|
||||
transition: all 0.3s !important;
|
||||
}
|
||||
|
||||
.btn-heart:hover {
|
||||
background: #c0392b !important;
|
||||
transform: translateY(-3px) !important;
|
||||
box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3) !important;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.love-gradient {
|
||||
background: linear-gradient(135deg, #e74c3c 0%, #fd79a8 100%);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.heart-animation {
|
||||
position: absolute;
|
||||
font-size: 30px;
|
||||
color: rgba(255, 255, 255, 0.3);
|
||||
animation: float 6s infinite ease-in-out;
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0%, 100% { transform: translateY(0) rotate(0deg); }
|
||||
50% { transform: translateY(-100px) rotate(180deg); }
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 800;
|
||||
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.color-grey {
|
||||
color: #737373;
|
||||
}
|
||||
|
||||
.category-romantic { border-color: #fd79a8; color: #fd79a8; }
|
||||
.category-active { border-color: #2ecc71; color: #2ecc71; }
|
||||
.category-intellectual { border-color: #3498db; color: #3498db; }
|
||||
.category-horror { border-color: #2c3e50; color: #2c3e50; }
|
||||
.category-cozy { border-color: #e67e22; color: #e67e22; }
|
||||
.category-mystery { border-color: #9b59b6; color: #9b59b6; }
|
||||
.category-luxury { border-color: #f1c40f; color: #f1c40f; }
|
||||
.category-budget { border-color: #27ae60; color: #27ae60; }
|
||||
|
||||
.filter-card {
|
||||
background: white;
|
||||
border-radius: 20px;
|
||||
padding: 25px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.filter-btn {
|
||||
border: 2px solid transparent;
|
||||
padding: 10px 20px;
|
||||
border-radius: 50px;
|
||||
margin: 5px;
|
||||
transition: all 0.3s;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.filter-btn:hover, .filter-btn.active {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.filter-btn.active {
|
||||
border-color: #e74c3c;
|
||||
color: #e74c3c;
|
||||
background: rgba(231, 76, 60, 0.1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
footer {
|
||||
background: #2d3436;
|
||||
color: white;
|
||||
padding: 60px 0 30px;
|
||||
margin-top: 80px;
|
||||
}
|
||||
|
||||
.social-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background: rgba(255,255,255,0.1);
|
||||
border-radius: 50%;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 10px;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.social-icon:hover {
|
||||
background: var(--love-red);
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
Reference in New Issue
Block a user