[Pmwiki-users] CSS

Patrick R. Michaud pmichaud
Mon Sep 20 17:16:12 CDT 2004


On Mon, Sep 20, 2004 at 03:41:49PM -0700, Shel Holtz wrote:
> [...] I can't seem to create a class that works. I want to change the font, 
> hover and other attributes of the "Edit Page" and other links at the top. 
> Any advice? 

If you're using the PmWiki default template, you can just use #wikicmds
rather than defining your own div.  The style sheet would look something
like:

#wikicmds {
  font-size:10pt;
  font-family:ms sans serif, arial, helvetica;
  text-decoration:none
}
#wikicmds a:hover {
  font-size:10pt;
  font-family:ms sans serif, arial, helvetica;
  text-decoration: underline
}
#wikicmds a:active {
  font-size:10pt;
  font-family:ms sans serif, arial, helvetica;
  text-decoration:underline
}
#wikicmds a:visited {
  font-size:10pt;
  font-family:ms sans serif, arial, helvetica;
  text-decoration:underline
}

(Also note that in the original message this last font-size property was
incorrectly listed as "font-size:10pt." instead of "font-size:10pt;")

You can also just place the above in pub/css/local.css and it
would take effect on the default skin (i.e., I don't think you
need to be setting the $PageSkin variable).

Pm




More information about the pmwiki-users mailing list