tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1911243-tsu-results.rf.gd-fix-table-headers.css (866B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 /**
      6 * tsu-results.rf.gd - Table headers are not angled and don't align properly.
      7 *
      8 * Bug #1911243 - https://bugzilla.mozilla.org/show_bug.cgi?id=1911243
      9 * WebCompat issue #139668 - https://webcompat.com/issues/139668
     10 *
     11 * The site itself is intentionally "breaking" things by changing their CSS on Firefox,
     12 * presumably because older versions of Firefox didn't support something they relied on.
     13 * Here we undo that change.
     14 */
     15 @-moz-document url-prefix() {
     16  .sortable th {
     17    text-align: unset;
     18    transform: skew(-45deg) rotate(-180deg) matrix(1.3, 0.6, 0.2, 1, -69, 10);
     19    vertical-align: unset;
     20  }
     21  .sortable td {
     22    text-align: unset;
     23  }
     24 }