Skip to content

Commit

Permalink
Update Galeria.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Meninas-Digitais authored Nov 26, 2023
1 parent 20c63f4 commit 1e6abb1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Galeria.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/* Add this style to override any existing styles for the row */
/* No changes in the .cards and .card styles, just adjustments for the row and media query */

#eventos-container.row {
display: flex;
flex-wrap: wrap;
margin-right: -15px; /* Negative margin to counteract column margins */
margin-left: -15px; /* Negative margin to counteract column margins */
}

.card {
Expand All @@ -13,13 +16,14 @@
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.3s; /* Add a smooth transition effect on hover */
width: calc(33.3333% - 20px); /* Three cards in a row with some margin between them */
margin-right: 20px;
width: calc(33.3333% - 30px); /* Three cards in a row with some margin between them */
margin-right: 30px; /* Adjusted margin for better spacing */
margin-left: 15px; /* Adjusted margin for better spacing */
box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.card:last-child {
margin-right: 0; /* Remove margin for the last card in the row */
margin-right: 15px; /* Adjusted margin for the last card in the row */
}

.card:hover {
Expand Down Expand Up @@ -57,7 +61,6 @@




.u-section-1 {
background-image: none;
}
Expand Down

0 comments on commit 1e6abb1

Please sign in to comment.