No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
table.sf6-combotable td:not(:nth-of-type(7)) { | @media | ||
not screen and (max-width: 760px), | |||
(min-device-width: 768px) and (max-device-width: 1024px) | |||
{ | |||
table.sf6-combotable td:not(:nth-of-type(7)) { | |||
width: 1%; | |||
white-space: nowrap; | |||
} | |||
} | } | ||
@media | @media | ||
only screen and (max-width: 760px), | |||
(min-device-width: 768px) and (max-device-width: 1024px) | |||
{ | |||
table.sf6-combotable, table.sf6-combotable td, table.sf6-combotable tbody, table.sf6-combotable th, table.sf6-combotable td, table.sf6-combotable tr { | table.sf6-combotable, table.sf6-combotable td, table.sf6-combotable tbody, table.sf6-combotable th, table.sf6-combotable td, table.sf6-combotable tr { | ||
Line 29: | Line 34: | ||
table.sf6-combotable td { | table.sf6-combotable td { | ||
border: none; | border: none; | ||
border-bottom: 1px solid #eee; | border-bottom: 1px solid #eee; |
Latest revision as of 07:02, 23 August 2023
@media not screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { table.sf6-combotable td:not(:nth-of-type(7)) { width: 1%; white-space: nowrap; } } @media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { table.sf6-combotable, table.sf6-combotable td, table.sf6-combotable tbody, table.sf6-combotable th, table.sf6-combotable td, table.sf6-combotable tr { display: block; } .sf6-combotable-header { position: absolute; top: -9999px; left: -9999px; } table.sf6-combotable tr { margin: 0; } table.sf6-combotable tr:nth-child(even) { background: #00008B !important; } table.sf6-combotable td { border: none; border-bottom: 1px solid #eee; position: relative; padding: 0.2rem 6.4rem !important; } table.sf6-combotable td:before { position: absolute; top: 0; left: 6px; width: 45%; padding-right: 20px; white-space: nowrap; } table.sf6-combotable td:empty::after{content:'\00a0';visibility:hidden} table.sf6-combotable td:nth-of-type(1):before { content: "Combo"; } table.sf6-combotable td:nth-of-type(2):before { content: "Position"; } table.sf6-combotable td:nth-of-type(3):before { content: "Damage"; } table.sf6-combotable td:nth-of-type(4):before { content: "Drive Gauge"; } table.sf6-combotable td:nth-of-type(5):before { content: "Super Gauge"; } table.sf6-combotable td:nth-of-type(6):before { content: "Difficulty"; } table.sf6-combotable td:nth-of-type(7):before { content: "Notes"; } table.sf6-combotable td:nth-of-type(8):before { content: "Video"; } }