Skip to content

Instantly share code, notes, and snippets.

@cliffordp cliffordp/style.css
Last active Nov 19, 2018

Embed
What would you like to do?
TEC Month View: blackout all July Fourths, since the library is closed. Screenshot: https://cl.ly/ad0626fcb03e
/**
* TEC Month View: blackout all July Fourths, since the library is closed.
* Screenshot: https://cl.ly/ad0626fcb03e
* From: https://gist.github.com/cliffordp/90757a9fccc5b19431be12fa49839b49
*/
#tribe-events .tribe-events-month td[data-day$="07-04"],
#tribe-events .tribe-events-month td[data-day$="07-04"]:hover,
#tribe-events .tribe-events-month td[data-day$="07-04"] a,
#tribe-events .tribe-events-month td[data-day$="07-04"] a:hover,
#tribe-events .tribe-events-month td[data-day$="07-04"] h3,
#tribe-events .tribe-events-month td[data-day$="07-04"] h3:hover {
background-color: darkred;
color: white;
}
#tribe-events .tribe-events-month td[data-day$="07-04"],
#tribe-events .tribe-events-month td[data-day$="07-04"]:hover,
#tribe-events .tribe-events-month td[data-day$="07-04"] > div:first-child,
#tribe-events .tribe-events-month td[data-day$="07-04"] > div:first-child:hover,
#tribe-events .tribe-events-month td[data-day$="07-04"] > div:first-child a {
background-color: black;
color: white;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.