Template:MainPage/Vector/Featured article/styles.css
Jump to navigation
Jump to search
#featured_article.card {
width: calc(100% / 6 * 5 - 0.4rem);
min-width: calc(860px / 6 * 5 - 0.4rem);
flex-direction: row;
}
#featured_article .card-image {
width: calc(860px * 6 / 3 - 2.4rem);
overflow: hidden;
background-color: #f8f9fa;
}
#featured_article .card-image img {
height: 100%;
width: auto;
position: relative;
/* Edit thumbnail offset here */
/* margin-left: 100%; */
}
@media (prefers-color-scheme: dark) {
#featured_article .card-image {
background: #2b2f36;
}
}