Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save selfthinker/cc4cea28bbcd8404d6afba2ae48debe1 to your computer and use it in GitHub Desktop.
Save selfthinker/cc4cea28bbcd8404d6afba2ae48debe1 to your computer and use it in GitHub Desktop.
/* ==UserStyle==
@name Visualise importance of table headers
@namespace github.com/openstyles/stylus
@version 1.0.0
@description This hides all table cells except table headers and when hovering over a table cell. That helps visualise the importance of table headers when table cells can only be viewed in the context of table headers but not other table cells.
@license MIT
@author Anika Henke
==/UserStyle== */
td {
background-color: #ccc !important;
color: #ccc !important;
}
td:hover {
background-color: #eee !important;
color: #333 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment