GameHub/styly/galeria.css
2024-06-06 09:10:12 +02:00

40 lines
778 B
CSS

body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
background-image: url(https://cavegeekart.com/wp-content/uploads/2023/03/The-Witcher-3-World-Map-Giclee-Reproduction-scaled.jpg.webp);
}
.gallery {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
.gallery-item {
position: relative;
text-align: center;
}
.gallery-item img {
width: 100%;
height: auto;
display: block;
}
.gallery-item button {
margin-top: 5px;
padding: 5px 10px;
background-color: #007bff;
color: white;
border: none;
cursor: pointer;
}
.gallery-item button:hover {
background-color: #0056b3;
}