| PmWiki | Cookbook »
Plain Skin |
|
<< PhpNet | Skins | PlainBlog >> (test page) OverviewThis skin for PmWiki 2.1 is designed to emphasize a site's content with a big easy-to-read default font size, no graphical frills, and other similar features. The skin has been carefully tested for compatibility with a wide variety of browsers. Filesgzipped tarball: PlainSkinForPmWiki-0.05.0.tar.gz (13K) (The version installed on this page is PlainSkin 0.05.0.) InstallationPlace the plain/ directory in your skins directory (pub/skins/) and add the following to your local configuration file: ## Use the CIS-Dept. Plain Skin and its printable-view skin. $Skin = 'plain'; ChangelogVer. 0.01.0
Ver. 0.02.0
Ver. 0.03.0
Ver. 0.04.0
Ver. 0.05.0
Local CustomizationsThis can be used to make the current version look like previous versions:
## Adjust layout of the Plain skin.
if ($Skin == 'plain') {
$PlainMidAlign = 'left';
$HTMLStylesFmt['plainskin'] = "
#wikihead, #wikifoot { width:100% } ";
}
This can be used to widen everything to 100% of the viewport:
## Adjust layout of the Plain skin (wide layout).
if ($Skin == 'plain') {
$HTMLStylesFmt['plainskin'] = "
#wikihead, #wikimid, #wikitext, #wikifoot { width:100% } ";
}
This can be used to widen the layout when editing (for a bigger text area):
## Adjust layout of the Plain skin (wide when editing).
if ($Skin == 'plain' && $action == 'edit') {
$HTMLStylesFmt['plainskin'] = "
#wikihead, #wikimid, #wikitext, #wikifoot { width:98% } ";
}
NotesThe skin is designed for PmWiki v2.1.27 or newer. This skin uses tables for layout because doing so causes the pages render as consistently as possible in a wide variety of browsers. No transition to a CSS-only layout is planned. Comments / FeedbackSee also: PlainSkin-OldComments for comments about previous releases. AuthorCategory: Skins
SandboxSee also the test page. H1 heading (not recommended)Section headingSubheadingSub-subheadingSmall text. Normal text. Large text.
|
| Page last modified on July 17, 2007 |