php-universal-mcp-server
Version:
Servidor MCP universal para desenvolvimento PHP e criação de sites em qualquer provedor de hospedagem
175 lines (144 loc) • 2.66 kB
CSS
/* Estilos para o template de E-commerce */
/* Reset básico */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f8f9fa;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
/* Header */
header {
background-color: #343a40;
color: #fff;
padding: 1rem 0;
}
header h1 {
margin-bottom: 1rem;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-right: 1.5rem;
}
nav ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
}
nav ul li a:hover {
color: #17a2b8;
}
/* Main content */
main {
padding: 2rem 0;
}
.hero {
text-align: center;
padding: 3rem 0;
background-color: #e9ecef;
margin-bottom: 2rem;
border-radius: 5px;
}
.hero h2 {
margin-bottom: 1rem;
font-size: 2.2rem;
}
/* Products */
.featured-products {
margin-bottom: 3rem;
}
.featured-products h2 {
text-align: center;
margin-bottom: 2rem;
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 2rem;
}
.product-card {
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.product-image {
height: 200px;
overflow: hidden;
}
.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.product-info {
padding: 1.5rem;
}
.product-info h3 {
margin-bottom: 0.5rem;
}
.price {
font-weight: bold;
color: #28a745;
margin-bottom: 1rem;
}
.btn {
display: inline-block;
background-color: #007bff;
color: #fff;
border: none;
padding: 0.5rem 1rem;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
transition: background-color 0.3s;
margin-right: 0.5rem;
margin-bottom: 0.5rem;
}
.btn:hover {
background-color: #0069d9;
}
.add-to-cart {
background-color: #28a745;
}
.add-to-cart:hover {
background-color: #218838;
}
/* Footer */
footer {
background-color: #343a40;
color: #fff;
padding: 2rem 0;
text-align: center;
}
/* Responsive */
@media (max-width: 768px) {
nav ul {
flex-direction: column;
}
nav ul li {
margin-right: 0;
margin-bottom: 0.5rem;
}
.products-grid {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
}