2025-07-09 05:22:28 +08:00

94 lines
1.6 KiB
CSS

/* 首页样式 */
.product-card {
transition: transform 0.2s;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.category-card {
transition: all 0.2s;
}
.category-card:hover {
transform: translateY(-3px);
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* 欢迎横幅样式 */
/* 欢迎横幅样式 */
.jumbotron {
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
color: white !important;
border-radius: 0.5rem !important;
}
.jumbotron h1 {
color: white !important;
font-weight: bold !important;
}
.jumbotron p {
color: white !important;
opacity: 0.9;
}
.jumbotron .btn-light {
background-color: white !important;
color: #007bff !important;
border: none !important;
font-weight: bold !important;
}
.jumbotron .btn-light:hover {
background-color: #f8f9fa !important;
color: #0056b3 !important;
}
/* 商品图片样式 */
.product-image {
height: 200px;
object-fit: cover;
}
.product-image-placeholder {
height: 200px;
background-color: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
}
/* 价格样式 */
.price-current {
color: #dc3545;
font-weight: bold;
}
.price-original {
color: #6c757d;
text-decoration: line-through;
font-size: 0.875rem;
}
/* 服务特色卡片 */
.feature-card {
transition: transform 0.2s;
}
.feature-card:hover {
transform: translateY(-3px);
}
/* 用户专区卡片 */
.user-zone-card {
transition: all 0.2s;
}
.user-zone-card:hover {
transform: translateY(-2px);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}