PmWikiRu / WikiStyles

, !

()

WikiStyles . , %red% %bgcolor=blue%.

       ,   ,   .  PmWiki       :  %white%, %yellow% , %silver%, %gray%, %green%, %purple%, %red%, %blue%, %maroon%, %navy%  %black%.
   %red% , %blue% , %purple% , %green%  %%  .
    ,  ,  ,     .
      %color=...%. (:    WikiWord  RGB  (#rrggbb)     )
     %color=#ff7f00%%%!
     !
     %bgcolor=...%.
    %bgcolor=green yellow%     . 
         . 
 PmWiki:WikiStyleColors     .

     .     -           .         (%p ...%),   (%list ...%),   (%item ...%)    (%block ...%).
%p bgcolor=#ffeeee%         ,    %blue%    %%   .

, .

 >>style<<      .         >><<.
>>blue font-style=italic bgcolor=#ffffcc<<




* 
->   
>><<

    :

    ------------ CSS -------------          --HTML--
    color               bgcolor             class 
    background-color    margin              id
    text-align          padding             hspace
    text-decoration     border              vspace
    font-size           float               target
    font-family         list-style          rel
    font-weight         width*              accesskey
    font-style          height*             value

    : define, apply

        cascading style sheet (CSS).        :

* width height <img .../> . .. ( ), ('width=') ('height=') <img ... />. , ()'width:' ()'height:' CSS.

       ( ),   apply=     - .    apply= :
apply=img  
apply=p *
apply=pre  
apply=list *
apply=item *
apply=div(div) 
apply=block
(, , , (div))
*
       ,   %p color=blue% -     %apply=p color=blue%  %list ROMAN%    %apply=list list-style=upper-roman%.

     apply,  %right%    %text-align=right apply=block%.

     ,       .   ,          .


%apply=p color=blue% 
   , 

      .

   , 

      .
,  %p color=red% 
'''' ,    
     .

, ,

     .
*  
* %list red% ,     !
  • , !

           local/config.php.  ,     "line-height"      :

    $WikiStyleCSS[] = 'line-height';

 define=        .         .
%define=box block bgcolor=#ddddff border="2px dotted blue"%

%box% [@
$ echo " "

$ exit
@]

%box font-weight=bold color=green% [@
$ echo "  - !"
@]
$ echo " "

$ exit
$ echo "  - !"

: , . . ( ).

: C . , , warn(warning->) %define=warn green%, %green%. , , , %green%.

PmWiki :

.

<< | DocumentationIndex | >>

PmWiki.WikiStyles -

  PmWikiRu.WikiStyles -

Backlinks
PmWikiRu.WikiStyles: September 10, 2011, at 01:48 PM EST
PmWiki.WikiStyles: March 02, 2023, at 04:26 AM EST