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

Template page
(Created page with "#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 { w...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:


#featured_article .card-image img {
#featured_article .card-image img {
     height: 150%;
     height: 100%;
     width: auto;
     width: auto;
     position: relative;
     position: relative;

Latest revision as of 21: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%; */
}