MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 776: Line 776:
.smw-column a {
.smw-column a {
   color: black;
   color: black;
}
/* Styling for Community */
#community-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  position: absolute;
  top: 538px;
}
.community-card {
  width: calc(20% - 2px);
  box-sizing: border-box;
  border-top: 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;
}
.community-card:not(:first-child) {
  margin-left: -1px;
 
}
.community-card:nth-child(5n + 1) {
  margin-left: 0;
  transform: none;
}
}

Navigation menu