Grayness < Skins > Green (talk | users | test page | RWD? | set as default | unset | validate: HTML, CSS)
About
This minimalistic skin is inspired from the Dive Into Greasemonkey (dead link <see talk>) online book. I found it visually so pleasant to read that I decided to give it to PmWiki (anyway, a wiki is somewhere also a kind of online book).
Installation
To use the Grease skin for your own Wiki, just download grease.zip, extract it into /path/to/pmwiki/pub/skins/
and add the following code to your local configuration file:
# Specifies the name of the template file # to be used to generate pages. $Skin = 'grease';
For PHP 5.5-7.2 or newer please use grease72.php instead of grease.php.
Features
The skin current features are:
- Full CSS driven (no tables),
- Zoom support (no fixed size fonts),
- Developed and tested under IE6/7 and Firefox.
- Easy page header customization (see below).
- Nota
- This skin implements external links decoration like Monobook skin does. Please refer to it for related hint.
Header customization
All "fixed" parts of the header (title, group/name subtitle, non-contextual actions) may be customized from the configuration file via the $SkinPartFmt
array variable, and with regular markup definitions. The skin defaults are:
$SkinPartFmt['wikititle'] = "$WikiTitle - {\$Titlespaced}"; $SkinPartFmt['title'] = '{$Titlespaced}'; $SkinPartFmt['subtitle'] = '[[{$Groupspaced}]] → [[{$Namespaced}]]'; $SkinPartFmt['actions'] = ...; $SkinPartFmt['sep'] = '·';
The skin layout prevent using PageActions
pages for defining something else than an action list.
As an interesting side effect, the (:title ...:)
directive will therefore handle regular markup (emphasis, links, ...).
Contributor
-- Dfaure
History
- 2007-01-25
- Fixed
handling.$EnableStopWatch
- 2006-11-17
- Added RecipeInfo data. Fixed header layout (IE7) and i18n issues.
- 2006-03-01
- Fixed
(:
noright:)
directive and attachment decoration behavior. - 2005-09-30
- Added header customization feature.
- 2005-09-07
- Added handling of Site.PageActions (introduced with PmWiki v2.0 default skin).
- 2005-09-05
- Fixed several visual bugs including latest SideBar styling.
- 2005-08-24
- Minor bug fix.
- 2005-08-23
- Initial release.
Comments
Is there a way to reduce the vertical space taken by the header block. When editing a page, it forces you to scroll down to hit the Save, Save and edit, etc. buttons.
Feel free to alter the skins files, or more easily, edit the Site.EditForm to have the buttons before the text area in the edit form. --Dfaure
User notes +1: If you use, used or reviewed "Grease", you can add your name. These statistics appear in the Skins listings and will help newcomers browsing through the wiki.