MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 780: Line 780:
/* Styling for Community */
/* Styling for Community */
#community-list {
#community-list {
  display: grid;
position: absolute;
  grid-template-columns: repeat(5, 1fr); /* Creates 5 equal columns */
top: 538px;
  grid-gap: 1px; /* Adjust gap between rows and columns */
margin: 0 auto;
  position: absolute;
-moz-column-count: 5;
  top: 538px;
-webkit-column-count: 5;
column-count: 5;
-moz-column-gap: 10px;
-webkit-column-gap: 10px;
column-gap: 10px;
}
}


.community-card {
.community-card {
  box-sizing: border-box;
font-size: 12pt;
  border-bottom: 1px solid black; /* Only bottom border */
line-height: 25px;
  height: 200px; /* Fixed height for each card */
letter-spacing: 0.4px;
  overflow: hidden; /* Hide overflow content */
cursor: pointer;
  padding: 5px 7px 2px 7px;
border: 1px solid black;
  margin-bottom: 1px; /* Space for top border of the card in the next row */
width: 100%;
  font-size: 12pt;
margin: 10px 0;
  line-height: 25px;
display: inline-block;
  letter-spacing: 0.4px;
box-sizing: border-box;
  cursor: pointer;
}
}


Navigation menu