4,554
edits
No edit summary |
No edit summary |
||
Line 280: | Line 280: | ||
} | } | ||
.card { | .card { | ||
position: relative; /* Ensure z-index works */ | |||
width: calc(20% - 2px); | |||
box-sizing: border-box; | |||
border: 1px solid black; | |||
height: fit-content; | |||
padding: 5px 7px 2px 7px; | |||
margin-bottom: 30px; | |||
font-size: 12pt; | |||
line-height: 25px; | |||
letter-spacing: 0.4px; | |||
cursor: pointer; | |||
} | } | ||
Line 884: | Line 885: | ||
} | } | ||
#community-featured { | #community-featured { | ||
width: calc(20% | position: relative; /* Ensure z-index works */ | ||
z-index: 2; /* Higher than .card elements */ | |||
width: calc(20% + 2px); /* Slightly wider */ | |||
box-sizing: border-box; | box-sizing: border-box; | ||
height: fit-content; | height: fit-content; | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
margin-left: -1px; /* Adjust for overlap */ | |||
margin-right: -1px; /* Adjust for overlap */ | |||
font-size: 12pt; | font-size: 12pt; | ||
line-height: 25px; | line-height: 25px; | ||
Line 893: | Line 898: | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
.community-home-card { | .community-home-card { | ||
background: black; | |||
color: white; | |||
padding: 10px; | |||
} | } |