This commit is contained in:
User
2025-01-03 21:26:43 +03:00
parent 55afc6215f
commit 387fcae36b
34 changed files with 23138 additions and 2 deletions

47
frontend/css/main.css Normal file
View File

@@ -0,0 +1,47 @@
/* Сброс стандартных стилей */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Основной фон страницы */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
}
/* Заголовок страницы */
header {
background-color: #007bff;
color: white;
padding: 20px;
text-align: center;
}
h1 {
margin: 0;
}
/* Контейнер для всех элементов */
.container {
display: flex;
justify-content: center;
margin-top: 20px;
}
/* Стиль для кнопок */
button {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}

38
frontend/css/product.css Normal file
View File

@@ -0,0 +1,38 @@
/* Карточка товара */
.product-card {
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 250px;
padding: 15px;
text-align: center;
margin: 0 20px;
transition: transform 0.3s ease;
}
/* Эффект при наведении */
.product-card:hover {
transform: scale(1.05);
}
/* Изображение товара */
.product-card img {
width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 15px;
}
/* Название товара */
.name {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
}
/* Цена товара */
.price {
font-size: 16px;
color: #007bff;
margin-bottom: 15px;
}