MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 379: Line 379:
}
}
#related-articles {
#related-articles {
    display: flex; /* Enable Flexbox */
    flex-wrap: wrap; /* Allow wrapping to next line */
     margin-top: 20px; /* Space above the related articles */
     margin-top: 20px; /* Space above the related articles */
    gap: 20px; /* Space between articles */
}
}
.related-article {
.related-article {
width: calc(50% - 2px);
    flex: 1 1 calc(50% - 10px); /* Flex grow, flex shrink, and base width */
box-sizing: border-box;
    box-sizing: border-box;
border: 1px solid black;
    border: 1px solid black;
height: fit-content;
    padding: 7px;
padding: 7px;
    margin-bottom: 30px;
margin-bottom: 30px;
    font-size: 12pt;
font-size: 12pt;
    line-height: 23.5px;
line-height: 23.5px;
    letter-spacing: 0.4px;
letter-spacing: 0.4px;
    cursor: pointer;
cursor: pointer;
    height: fit-content;
}
}
.related-article-entry-number {
.related-article-entry-number {

Navigation menu