Difference between revisions of "Template:CardInfo"

From A3! Wiki
m (added @media for mobile in landscape)
m (div.toc to split toc in mobile landscape mode)
Line 24: Line 24:
 
}
 
}
 
@media(orientation: landscape) {
 
@media(orientation: landscape) {
     table.cardinfobox {width: 25em !important; margin-left: 0;}
+
     table.cardinfobox {width: 40vw !important; margin-left: 1rem!important;}
 +
    .rootpage-Cards div.toc {width: 10vw !important;}
 
     .cardinfobox img {width: 100% !important;}
 
     .cardinfobox img {width: 100% !important;}
     table.cardinfobox th img {width: max-content!important;}
+
     table.cardinfobox th img {width: max-content !important;}
 
}
 
}
  

Revision as of 04:53, 27 September 2020