Template:METATRON Wiki/Featured article/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 6: Line 6:


#featured_article .card-image {
#featured_article .card-image {
     width: calc(1060px * 6 / 3 - 2.4rem);
     width: calc(860px * 6 / 3 - 2.4rem);
     overflow: hidden;
     overflow: hidden;
     background-color: #72777d;
     background-color: #72777d;

Latest revision as of 20:00, 16 October 2020

#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: #72777d;
}

#featured_article .card-image img {
    height: 100%;
    width: auto;
    position: relative;
    /* Edit thumbnail offset here */
    /* margin-left: 100%; */
}