4,554
edits
| No edit summary | No edit summary | ||
| Line 780: | Line 780: | ||
| /* Styling for Community */ | /* Styling for Community */ | ||
| #community-list { | #community-list { | ||
|      -moz-column-count: 5; | |||
|      -webkit-column-count: 5; | |||
|     column-count: 5; | |||
|      -moz-column-gap: 10px; | |||
|     -webkit-column-gap: 10px; | |||
|     column-gap: 10px; | |||
|      position: absolute; |      position: absolute; | ||
|      top: 538px; |      top: 538px; | ||
|      width: 100%; /* Adjust the width as necessary */ | |||
|      width: 100%; /* Adjust  | |||
| } | } | ||
| Line 794: | Line 796: | ||
|      letter-spacing: 0.4px; |      letter-spacing: 0.4px; | ||
|      cursor: pointer; |      cursor: pointer; | ||
|     display: inline-block; | |||
|     width: 100%; /* Cards will take full width of the column */ | |||
|     box-sizing: border-box; | |||
|      padding: 5px 7px 2px 7px; |      padding: 5px 7px 2px 7px; | ||
|     margin-bottom: 10px; /* Space between cards */ | |||
|      border-top: 1px solid black; |      border-top: 1px solid black; | ||
|      border-bottom: 1px solid black; |      border-bottom: 1px solid black; | ||
|      break-inside: avoid-column; /* Prevents cards from being split across columns */ | |||
| } | } | ||
| /*  | /* Removes top border from all cards except the first in each column */ | ||
| #community-list .community-card: | #community-list .community-card:first-of-type { | ||
|      border-top: none; |      border-top: none; | ||
| } | } | ||