#company-filter { margin: 0 16px; padding: 8px; font-family: "Source Sans Pro", sans-serif; font-size: 15px; font-weight: normal; vertical-align: middle; } #filters-explanation { font-style: italic; font-size: 15px; } @media screen and (min-width: 50em) { #filters-explanation { font-size: 16px; } } table#companies-table.has-filter th { padding: 0; } table#companies-table button.sort { width: 100%; border-width: 0; border-radius: 0; padding: 7px 3px 4px; text-align: left; font-weight: 700; color: #666; outline: none; } table#companies-table button.sort:hover, table#companies-table button.sort:focus { color: #c61610; } table#companies-table button.sort:hover { background: #f4f4f4; } /* Sort indicators adapted from http://listjs.com/examples/table/ */ table#companies-table .sort.asc:after, table#companies-table .sort.desc:after { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; content:""; display: inline-block; position: relative; left: 3px; top: -2px; } table#companies-table .sort.asc:after { border-bottom: 6px solid; } table#companies-table .sort.desc:after { border-top: 6px solid; } /* Keep table columns the same width after filtering */ table#companies-table td.company-name { width: 40%; } table#companies-table td.company-website { width: 35%; } table#companies-table td.company-region { width: 25%; }