MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 386: Line 386:
.related-article {
.related-article {
     flex: 1 1 50%; /* Flex grow, flex shrink, and base width */
     flex: 1 1 50%; /* Flex grow, flex shrink, and base width */
box-sizing: border-box;
    box-sizing: border-box;
border: 1px solid black;
    border-top: 1px solid black;
padding: 7px;
    border-bottom: 1px solid black;
margin-bottom: 30px;
    border-right: 1px solid black; /* Right border on each article */
font-size: 12pt;
    padding: 7px;
line-height: 23.5px;
    margin-bottom: 30px;
letter-spacing: 0.4px;
    font-size: 12pt;
cursor: pointer;
    line-height: 23.5px;
height: fit-content;
    letter-spacing: 0.4px;
    cursor: pointer;
    height: fit-content;
}
}
.related-article:nth-child(odd) {
border-right: none; /* Remove the right border from the left column elements */
}
.related-article:nth-child(even) {
.related-article:nth-child(even) {
border-left: none; /* Remove the left border from the right column elements */
    border-right: none; /* Remove the right border from even elements (right column) */
}
}
.related-article-entry-number {
.related-article-entry-number {

Navigation menu