Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 23 additions & 4 deletions webpack/sass/home-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,34 @@
}
}

// Card styling within the blog entries section
.card.entry-post.horizontal {
display: flex;
flex-direction: column;
align-items: center;
gap: 30px;
border-radius: 25px;
background-color: #FFFFFF;
padding: 20px; /* Adjust padding as needed */
margin-top: 2rem;

// Image styling inside the card
.blog-image {
width: auto;
height: 8rem;
margin-top: -3rem;
}
}

.blog-entries {
.column {
border-bottom: 0.1875rem solid $color-light-gray;
}
/* last row, irrespective of the number of elements */
.column:nth-last-child(-n + 3):nth-child(3n + 1), /* first element of the last row */
/* last row, irrespective of the number of elements */
.column:nth-last-child(-n + 3):nth-child(3n + 1), /* first element of the last row */
.column:nth-last-child(-n + 3):nth-child(3n + 1) ~ .column /* all its following elements */ {
border-bottom: none;
}
border-bottom: none;
}

.blog-entry {
@extend .padding-vertical-larger;
Expand Down
Loading