4,554
edits
No edit summary |
No edit summary |
||
Line 383: | Line 383: | ||
margin-top: 20px; /* Space above the related articles */ | margin-top: 20px; /* Space above the related articles */ | ||
margin-right: 5%; | margin-right: 5%; | ||
} | } | ||
.related-article { | .related-article { | ||
flex: 1 1 | flex: 1 1 50%; /* Flex grow, flex shrink, and base width */ | ||
box-sizing: border-box; | box-sizing: border-box; | ||
border: 1px solid black; | border: 1px solid black; | ||
border-right: none; /* Remove right border by default */ | |||
padding: 7px; | padding: 7px; | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
Line 396: | Line 396: | ||
cursor: pointer; | cursor: pointer; | ||
height: fit-content; | height: fit-content; | ||
} | |||
.related-article:nth-child(odd) { | |||
border-right: 1px solid black; /* Add right border to the left column elements */ | |||
} | } | ||
.related-article-entry-number { | .related-article-entry-number { |