Difference between revisions of "Template:CardInfo"

From A3! Wiki
m
m (oh no orientation:landscape messed up desktop view too,, let's see)
Line 18: Line 18:
  
 
@media(max-width: 768px) {
 
@media(max-width: 768px) {
    table.cardinfobox {width: 100% !important; max-width: inherit; margin-left: 0;}
 
    .cardinfobox img {width: 100% !important;}
 
    table.cardinfobox th img {width: max-content !important;}
 
    table.stattable, table.adlibtable {width: 100% !important;}
 
}
 
@media(orientation: landscape) {
 
 
     table.cardinfobox {width: 40vw !important; margin-left: 1rem !important;}
 
     table.cardinfobox {width: 40vw !important; margin-left: 1rem !important;}
 
     .rootpage-Cards div.toc {width: 10vw !important;}
 
     .rootpage-Cards div.toc {width: 10vw !important;}

Revision as of 06:28, 27 September 2020