Skip to content

Instantly share code, notes, and snippets.

@EricKotato
Last active March 25, 2017 18:52
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 EricKotato/b910ede60164ab8d32da731cf853e0e9 to your computer and use it in GitHub Desktop.
Save EricKotato/b910ede60164ab8d32da731cf853e0e9 to your computer and use it in GitHub Desktop.
An attempt to solve problem with labels that hard to read.
.color_table td
{
color: rgba(255,255,255,1);
padding: 0px;
}
.color_table td>p
{
background-color: rgba(0, 0, 0, 0.3); /* opacity can be adjusted, but you get it */
padding: 3px 5px; /* much clearer */
margin: 16px 0 0 0; /* otherwise in situations where screen height is low, colors won't be seen clearly */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment