I've been playing around with various bits of serendipity blog in an effort to smarten up my themes, primarily because I'm expecting the competition to be quite fierce in the s9y theme contest. I'm not expecting to win that because I don't have any graphic design skills and I'm running out of time to start development of the theme, however I am having fun playing with some of the elements within s9y as I reach a
nearly complete checklist for future themes.
The calendar sidebar is my latest little experiment, as seen in my sidebar, and uses the '
plugin_calendar.tpl' smarty template file. The calendar sits within a table, and it is possible to style some of the elements. Keep reading to see the list of styles and my explanation of them.
Calendar Plugin Styles
The following styles can be aplied to modify your calendar;
.serendipity_calendar, style for entire calendar table
table.serendipity_calendar td, styles for calendar rows
table.serendipity_calendar a, style for all links within a calendar row
table.serendipity_calendar a:hover, style for all hovered over links within a calendar row
td.serendipity_weekDayName, style for the dayname (mon, tue,etc)
td.serendipity_calendarHeader a:link, style for the month name link
td.serendipity_calendarHeader a:visited, style for visited months
td.serendipity_calendarHeader a:hover, style for hovered over months
.serendipity_calendarDay, style for the dates
td.Today, style for today's date
td.FirstInRow, style for the first box on a row, if your week starts on a Sunday you could style this separately
td.LastInRow, style for the last box on a row, if your week ends on a Sunday you could style this separately
Dave Cummins said,
Thursday, January 26. 2006 at 08:17 (Reply)
great work on the calendar - it looks really good (no graphic design skills eh?)
If you like though, I'm happy to offer my design skills, such as they are, to help improve your theme for the competition. In the mean time you can have a look at what I've been doing to your themes (and Jude's) at http://themes.daves.me.uk - and please add them to your themes tester so I can have a look at how they perform under duress.
Dave