--- WikiCalendar.py 2010-02-02 11:55:45.881645294 -0500 +++ WikiCalendar_original.py 2010-02-02 11:55:33.990534986 -0500 @@ -138,8 +138,12 @@ class WikiCalendarMacro(WikiMacroBase): table.wiki-calendar { margin: 0; border: none; padding: 0; border-collapse: collapse; } table.wiki-calendar caption { font-size: 120%; white-space: nowrap; } table.wiki-calendar caption a { display: inline; margin: 0; border: 0; padding: 0; background-color: transparent; color: #b00; text-decoration: none;} -table.wiki-calendar caption a.prev { padding-right: 5px; } -table.wiki-calendar caption a.next { padding-left: 5px; } +table.wiki-calendar caption a.prev { padding-right: 12px; font-size:9pt; } +table.wiki-calendar caption a.prevm {padding-right: 0px;font-size:9pt;} +table.wiki-calendar caption a.next { padding-left: 12px;font-size:9pt; } +table.wiki-calendar caption a.nextm {padding-left: 0px;font-size:9pt} +table.wiki-calendar td.x {} +table.wiki-calendar td.y {text-align:center; width:120%;font-size: 10pt;font-weight:bold;} table.wiki-calendar caption a:hover { background-color: #eee; } table.wiki-calendar th { border: none; border-bottom: 2px solid #000; text-align: center; font-weight: bold; } table.wiki-calendar td { padding: 0; border: none; text-align: right; } @@ -157,13 +161,13 @@ table.wiki-calendar a.page { color: #b00 if showbuttons: # prev year link date[0:2] = [year-1, month] - buff.write('<<' % { + buff.write('
<< | ' % { 'url': thispageURL(month=month, year=year-1), 'title': time.strftime('%B %Y', tuple(date)) }) # prev month link date[0:2] = [prevYear, prevMonth] - buff.write('<' % { + buff.write('< | ' % { 'url': thispageURL(month=prevMonth, year=prevYear), 'title': time.strftime('%B %Y', tuple(date)) }) @@ -190,18 +194,18 @@ table.wiki-calendar a.page { color: #b00 # the caption date[0:2] = [year, month] - buff.write(time.strftime('%B %Y', tuple(date))) + buff.write('%(title)s | ' %{'title': time.strftime('%B %Y', tuple(date))}) if showbuttons: - # next month link + # next month link date[0:2] = [nextYear, nextMonth] - buff.write('>' % { + buff.write('> | ' % { 'url': thispageURL(month=nextMonth, year=nextYear), 'title': time.strftime('%B %Y', tuple(date)) }) # next year link date[0:2] = [year+1, month] - buff.write('>>' % { + buff.write('>> |