Difference between revisions of "Template:CardInfo"
From A3! Wiki
m |
m (more fixess) |
||
Line 17: | Line 17: | ||
} | } | ||
− | @media(max-width: | + | @media(max-width: 641px) { |
table.cardinfobox {width: 100% !important; max-width: inherit; margin-left: 0;} | table.cardinfobox {width: 100% !important; max-width: inherit; margin-left: 0;} | ||
.cardinfobox img {width: 100% !important;} | .cardinfobox img {width: 100% !important;} | ||
Line 23: | Line 23: | ||
table.stattable, table.adlibtable {width: 100% !important;} | table.stattable, table.adlibtable {width: 100% !important;} | ||
} | } | ||
− | @media (max-width: | + | @media (max-width:641px) and (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;} | ||
.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;} | ||
+ | } | ||
+ | @media (max-width:850px) { | ||
+ | .rootpage-Cards div.toc {width: 10vw!important;} | ||
} | } | ||