Forked from anonymous/sample-calendar-widget-custom.css
Last active
August 29, 2015 14:22
-
-
Save theeventscalendar/4a35cf9fe373a5ae2291 to your computer and use it in GitHub Desktop.
Sample CSS tweaks for Events Calendar PRO's Calendar widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Place a border around the entire widget */ | |
.tribe_mini_calendar_widget { | |
border: 2px solid black; | |
} | |
/** Change the widget title colour and size */ | |
.tribe_mini_calendar_widget h2.widget-title { | |
color: purple; | |
font-size: 30px; | |
} | |
/** Set of rules that change the colour of the date markers from dark grey to red */ | |
.tribe_mini_calendar_widget .list-date { | |
background: red; | |
} | |
/** This rule works with the previous one, but specifically targets the day of the week */ | |
.tribe_mini_calendar_widget .list-date .list-dayname { | |
color: red; | |
} | |
/** This rule underlines and changes other event title properties */ | |
.tribe_mini_calendar_widget h2.entry-title a { | |
display: inline-block; | |
text-decoration: underline; | |
transform: rotate( -2deg ); | |
} | |
/** This rule changes the colour of the event date/time information */ | |
.tribe_mini_calendar_widget div.duration { | |
color: saddlebrown; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment