[Pmwiki-users] Calendar formatting. (colors)

John Rankin john.rankin
Wed Sep 8 15:22:25 CDT 2004


On Wednesday, 8 September 2004 7:07 PM, Richard Geoffrion <richard at rain4us.net> wrote:
>>From whence does the calendar color formatting come?  How did
>http://bacctexas.org/pmwiki.php/Calendar/Calendar
>get their current date to be red, the days with scheduled appts.
>to be green with all other days marked in yellow.
>
>I've been all over ./pub/skins/wikilog.css, and even
>./local/wikilog/wikilog.php and nothing is affecting anything
>that I see.
>
>FWIW, I'm currently using the BARE skin.
>
>--
>Richard
>
>
If you look in wikilog.css (which wikilog looks for in
pub/css/wikilog.css, not pub/skins/wikilog.css) you will see:

td.calendar-today-entry {
	background-color: #ffff00;
}
td.calendar-today-noentry { 
	background-color: #ffc3c3;
}
td.calendar-entry {
	background-color: #c3ffc3;
}
td.calendar-noentry {
	background-color: #ffeedd;
}
a.nonexistent-date  { 
	background: transparent;
	text-decoration: none;
}
a.nonexistent-date:link  { 
	color: #FF2222;
}
a.nonexistent-date:visited  { 
	color: #FF2222;
}
a.nonexistent-date:hover {
	text-decoration: underline;
	color: #444444;
}

These control the colour of the cells and the colour of the links.
You can of course edit these to be something else if you prefer.

Hope this helps. Let me know how you get on.

-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list