Nishinoya/static/css/common.css

30 lines
420 B
CSS
Raw Permalink Normal View History

2023-06-15 23:40:46 +09:00
.product {
display: grid;
grid-template-columns: 1fr 2fr;
grid-gap: 20px;
margin-bottom: 20px;
}
.product img {
width: 100%;
max-width: 400px;
border-radius: 5px;
}
.product h3 {
margin: 0;
font-size: 24px;
color: #333;
}
.photo-gallery {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20px;
margin-top: 20px;
}
.photo-gallery img {
width: 100%;
border-radius: 5px;
}