Warning: Undefined array key "LinkedResourceExtras" in /usr/local/www/pmwiki/cookbook/sourceblock.php on line 335 Warning: Trying to access array offset on null in /usr/local/www/pmwiki/cookbook/sourceblock.php on line 335 Deprecated: Function strftime() is deprecated in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 195 Warning: Undefined array key "HTTP_REFERER" in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 394 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 394 Warning: Undefined array key 2 in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 395 Warning: Undefined array key 2 in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 397 Warning: Undefined variable $loc in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 424 Warning: Undefined variable $TotalCounterEnableGeoIP in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 437 Warning: Undefined array key "TotalCounterMaxItems" in /usr/local/www/pmwiki/cookbook/totalcounter.php on line 584
SWUSB.LBX Examples |
PmWiki /
CustomWikiStylesadministrators (intermediate) This page describes the predefined Wiki Styles and how a Wiki Administrator can define additional Wiki Styles as a local customization for all pages (in All predefined Wiki Styles are setup in the global array Predefined Wiki StylesThe following array-values are set by
Author-Defined Wiki Styles
Sample: If you want to define a (site-wide) style the same as the page style %define=projectentry color:red%
use $WikiStyle['projectentry']['color'] = 'red';
The $WikiStyle['top']['apply'] = 'item'; $WikiStyle['top']['class'] = 'top'; then a markup will output Printer-Friendly StylesIf your custom-styles (in if($action!="print") { // your custom-styles } FAQI tried this but background didn't work, though border and float worked? $WikiStyle['vMenu']['background']='#ffffcc' ; $WikiStyle['vMenu']['float']='left' ; $WikiStyle['vMenu']['border']='1px dotted red' ; Try using How would I set an image to the left of a paragraph in a WikiStyle? I'd like to provide an icon for paragraphs that are notes, important, warnings, etc. See WikiStylesPlus and Callout. How can I remove underlining from a link, but make it underlined blue when the mouse hovers? Put in .noul a {text-decoration: none;} .noul a:hover {text-decoration: underline; color: blue;} Then use this markup:
This page may have a more recent version on pmwiki.org: PmWiki:CustomWikiStyles, and a talk page: PmWiki:CustomWikiStyles-Talk. |