index: release v1.18 with only altgr index linked
[sheet.git] / sc.css
diff --git a/sc.css b/sc.css
index d670cf8b57cf0b82f48fe68d81cba3c098e2d452..0c0a829c1b670bf950ed237363c626fef4c48264 100644 (file)
--- a/sc.css
+++ b/sc.css
@@ -9,7 +9,6 @@
        padding: 0 0.2em;
        background: transparent;
        text-align: left;
-       vertical-align: top;
 }
 tr.alt td {
        font-size: 70%;
@@ -107,26 +106,29 @@ td.hurtrel {
 }
 
 @media (max-width: 52em) {
+       .units thead th:first-child,
+       .units tbody .cat {
+               position: absolute;
+               visibility: hidden;
+       }
+}
+@media (max-width: 48em) {
        .units {
                width: auto;
        }
-       .units th {
+       .units th, .units td {
+               vertical-align: top;
        }
        .units td {
                height: 2em;
        }
 
-       .units tbody .cat {
-               position: absolute;
-               visibility: hidden;
-       }
        .units td:nth-child(2) {
-               max-width: 6.5em;
                white-space: normal;
-               overflow: hidden;
+               padding: 0;
        }
 
-       .units thead th:first-child,
+       .units tr.sub td:nth-child(2),
        .units .cat,
        .units .unit-speed,
        .units .hurtrel,