4,554
edits
No edit summary |
No edit summary |
||
Line 789: | Line 789: | ||
.community-card { | .community-card { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
border-bottom: 1px solid black; | border-bottom: 1px solid black; /* Only bottom border */ | ||
height: fit-content; | height: fit-content; | ||
padding: 5px 7px 2px 7px; | padding: 5px 7px 2px 7px; | ||
margin-bottom: 1px; /* Creates space for the top border of the card in the next row */ | |||
font-size: 12pt; | font-size: 12pt; | ||
line-height: 25px; | line-height: 25px; | ||
Line 800: | Line 800: | ||
#community-list .community-card:nth-child(-n+5) { | #community-list .community-card:nth-child(-n+5) { | ||
border-top: 1px solid black; | border-top: 1px solid black; /* Top border for the first row only */ | ||
/* | |||
} | } |