table.viewer { border-collapse: collapse; height: 1px; /* css hack to make percentage based cell heights work */ } table.viewer > thead > tr > th { border: solid 1px #ccc; border-top: none; font-family: "Funnel Sans"; background: #0001; height: 100%; /* css hack to make percentage based cell heights work */ padding: 0 0.5rem; text-align: left; &:first-child { border-left: none; } &.column-adder { border: none; background: none; padding: 0; } } table.viewer .padded-cell { padding: 0.5rem; } table.viewer .clickable-header-cell { appearance: none; border: none; width: 100%; height: 100%; font-weight: inherit; font-size: inherit; font-family: inherit; } table.viewer > tbody > tr > td { border: solid 1px #ccc; &:first-child { border-left: none; } }