, !
()
WikiStyles . , %red% %bgcolor=blue%.
, , . PmWiki : %white%, %yellow% , %silver%, %gray%, %green%, %purple%, %red%, %blue%, %maroon%, %navy% %black%.
%red% , %blue% , %purple% , %green% %% .
|
, , , .
|
%color=...%. (: WikiWord RGB (#rrggbb) )
%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). :
class= id= HTML CSS
target=name "name"
rel=name
accesskey=x 'x'
value=9
* 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%
'''' ,
. |
,
,
.
|
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 :
- : black, white, red, yellow, blue, gray, silver, maroon, green, navy, purple (
%color=...%)
- :
%center%() %right%()
-
- :
%rfloat%() %lfloat%()
- :
%frame%, %rframe%() %lframe%()
- :
%thumb%
- :
%newwin% ( %target=_blank%)
- :
%comment% ( %display=none%)
- :
%decimal%(), %roman%( ), %ROMAN%( ), %alpha%( ), %ALPHA%( ) ( Cookbook:OutlineLists)
.
- (:
%block width=50% %) "pct" "%".
<< | DocumentationIndex | >>
PmWiki.WikiStyles -
PmWikiRu.WikiStyles -
Backlinks
PmWikiRu.WikiStyles: September 10, 2011, at 06:48 PM
PmWiki.WikiStyles: February 24, 2024, at 07:41 PM