Template:L1Compare/styles.css

From Bose Portable PA Encyclopedia
Revision as of 19:23, 26 December 2025 by ST (talk | contribs) (ST moved page Template:Styles.css to Template:L1Compare/styles.css)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

// l1 comparison table


.l1-compare-wrap {

 display: block;
 overflow-x: auto;
 overflow-y: visible;
 width: 100%;
 max-width: 100%;
 -webkit-overflow-scrolling: touch;
 background: #ffffff;

}

/* Defeat Vector / Minerva table width clamp */ .l1-compare-wrap table.l1-compare {

 white-space: nowrap;
 width: max-content;
 min-width: 1400px;
 max-width: none;
 border-collapse: separate;
 border-spacing: 0;

}

/* Sticky header row */ .l1-compare-wrap table.l1-compare th {

 position: sticky;
 top: 0;
 background: #f8f9fa;
 color: #202122;
 z-index: 10;

}

/* Sticky first column */ .l1-compare-wrap table.l1-compare th:first-child, .l1-compare-wrap table.l1-compare td:first-child {

 position: sticky;
 left: 0;
 background: #ffffff;
 z-index: 9;
 border-right: 1px solid #a2a9b1;

}

/* Top-left corner cell */ .l1-compare-wrap table.l1-compare th:first-child {

 z-index: 11;
 background: #f8f9fa;

}