MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 378: Line 378:
   display: inline-block;
   display: inline-block;
}
}
#related-articles {
#related-articles {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
     margin-top: 20px;
     margin-top: 20px;
    margin-right: 4.5%;
}
}
.related-articles-label {
.related-articles-label {
     text-transform: uppercase;
     margin-bottom: 15px; /* Space between the label and the articles */
margin-bottom: 0 !important;
}
text-indent: 50px;
.related-articles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0; /* No gap between articles */
}
}
.related-article {
.related-article {
     width: calc(50% - 1px); /* Adjust for two articles per row */
     width: calc(50% - 1px); /* Adjusted width */
     box-sizing: border-box;
     box-sizing: border-box;
     border: 1px solid black;
     border: 1px solid black;

Navigation menu