📄 css.def
字号:
; PSPad cli definition file PSPad for CSS
;
; Author: Karel Pavelka, webjob@seznam.cz
; last revision: 02.09.2003
; translation: Jan Fiala
[Macro definition]
%all%=@K all,"all,",
%attachment%=@C attachment,,,scroll;fixed,
%aural%=@K aural,"aural,",
%bgposition%=@C position,,,top;center;bottom;left;right;"left top";"center top";"right top";"left center";"center center";"right center";"left bottom";"center bottom";"right bottom";"50% 50%",
%borders%=@C border_style,,,none;dotted;dashed;solid;double;groove;ridge;inset;outset,
%bordersb%=@C bottom_style,,,none;dotted;dashed;solid;double;groove;ridge;inset;outset,
%borderst%=@C top_style,,,none;dotted;dashed;solid;double;groove;ridge;inset;outset,
%bordersl%=@C left_style,,,none;dotted;dashed;solid;double;groove;ridge;inset;outset,
%bordersr%=@C right_style,,,none;dotted;dashed;solid;double;groove;ridge;inset;outset,
%borderw%=@C border_width,,,thin;medium;thick;cm;em;en;ex;mm;in;pc;pt;px,
%borderwt%=@C top_width,,,thin;medium;thick;cm;em;en;ex;mm;in;pc;pt;px,
%borderwr%=@C right_width,,,thin;medium;thick;cm;em;en;ex;mm;in;pc;pt;px,
%borderwl%=@C left_width,,,thin;medium;thick;cm;em;en;ex;mm;in;pc;pt;px,
%borderwb%=@C bottom_width,,,thin;medium;thick;cm;em;en;ex;mm;in;pc;pt;px,
%bottom%=@C bottom,,,auto,
%braille%=@K braille,"braille,",
%captionside%=@C caption-side,,,top;bottom;left;right,
%clear%=@C clear,,,left;right;both;none,
%collapse%=@C collapse,,,collapse;separate,
%color%=@L color,,,
%content%=@C content,,,open-quote;close-quote;no-open-quote;no-close-quote;\A,
%css%=@O CSS file,,,CSS file (*.css)|*.css,
%cue%=@O cue,,,audio file (*.wav;*.mp3;*.aiff;*.au)|*.wav;*.mp3;*.aiff;*.au,
%cursor%=@C cursor,,,auto;default;crosshair;hand;pointer;move;e-resize;ne-resize;nw-resize;n-resize;se-resize;sw-resize;s-resize;w-resize;text;wait;help,
%direction%=@C direction,,,ltr;rtl,
%display%=@C display,,,inline;block;list-item;run-in;inline-block;table;inline-table;table-row-group;table-header-group;table-footer-group;table-row;table-column-group;table-column;table-cell;table-caption;none,
%emboss%=@K emboss,"emboss,",
%emptycells%=@C empty-cells,,,show;hide,
%family%=@F family,,,
%filtr%=@C filtr,,,blur;fliph;flipv;gray;invert;xray,
%float%=@C float,,,left;right;none,
%handheld%=@K handheld,"handheld,",
%left%=@C left,,,auto,
%marks%=@C marks,,,crop;cross;inherit;none,
%lsposition%=@C list-style-position,,,outside;inside,
%overflow%=@C overflow,,,visible;hidden;scroll;auto,
%pageba%=@C page-break-after,,,left;right,
%pagebb%=@C page-break-before,,,auto;always;avoid,
%pagebi%=@C page-break-inside,,,auto;aviod,
%pitch%=@C pitch,,,x-low;low;medium;high;x-high,
%position%=@C position,,,static;relative;absolute;fixed,
%print%=@K print,"print,",
%projection%=@K projection,"projection,",
%pseudo%=@C pseudo,,,link;active;hover;focus;visited;first;first-link;first-child;first-letter;before;after;left;right;lang(cs);lang(en);lang(sk);lang(fr);
%quotesa%=@E quotes a,,,
%quotesz%=@E quotes z,,,
%repeat%=@C repeat,,,repeat;no-repeat;repeat-x;repeat-y,
%right%=@C right,,,auto,
%screen%=@K screen,"screen,",
%size%=@C size,,,xx-small;x-small;small;medium;large;x-large;xx-large,
%sizep%=@C size,,,auto;portrait;landscape;inherit;cm;em;en;ex;mm;in;pc;pt;px,
%sizepy%=@C size_y,,,cm;em;en;ex;mm;in;pc;pt;px,
%speak%=@C speak,,,normal;none;spell-out,
%speakh%=@C speak-header,,,once;always,
%speakn%=@C speak-numeral,,,digits;continuous,
%speakp%=@C speak-punctuation,,,code;none,
%speakr%=@C speak-rate,,,x-slow;slow;medium;fast;x-fast;faster;slower,
%src%=@P picture,,,
%srcf%=@O font definition,,,
%stretch%=@C stretch,,,ultra-condensed;extra-condensed;condensed;semi-condensed;normal;semi-expanded;expanded;extra-expanded;ultra-expanded;wired;narrower;all;inherit,
%stylef%=@C style,,,normal;italic;oblique,
%tablelayout%=@C table-layout,,,auto;fixed,
%talign%=@C align,,,left;right;center;justify,
%top%=@C top,,,auto,
%tty%=@K tty,"tty,",
%tv%=@K tv,"tv,",
%typel%=@C type,,,disc;circle;square;decimal;lower-roman;lower-alpha;upper-alpha;none,
%units%=@C units,,,cm;em;en;ex;mm;in;pc;pt;px;%;0,
%valign%=@C align,,,baseline;sub;super;top;text-top;middle;bottom;text-bottom,
%variant%=@C variant,,,normal;small-caps,
%visibility%=@C visibility,,,visible;hidden;collapse,
%volume%=@C volume,,,silent;x-soft;soft;medium;loud;x-loud,
%weight%=@C weight,,,normal;bold;bolder;lighter;100;200;300;400;500;600;700;800;900,
%whitespace%=@C white-space,,,normal;pre;nowrap,
%width%=@E width,,,
%x%=@E x,,,
%y%=@E y,,,
%z%=@E z,,,
%zindex%=@C z-index,,,auto;1;2;3;4;5;6;7;8;9;10,
;
[@import | attach external CSS table]
@import url(%css%); {
}
;
[@media | medium specification]
@media %all% %screen% %print% %projection% %handheld% %tv% %tty% %aural% %braille% %emboss% {
}
;
[{...} | {} brackets]
{
}
;
[:pseudo | pseudo elements and classes]
:%pseudo% {
}
;
[azimuth | surround sound - azimuth of sound source]
azimuth: |;
;
[background | page background]
background: %color% url(%src%) %repeat% %attachment% %bgposition%|
[background_attachment | picture background attachement]
background-attachment: %attachment%;|
[background_color | bacgroung color]
background-color: %color%;|
[background_image | background picture]
background-image: url(%src%);|
[background_position | background picture position]
background-position: %bgposition%;|
[background_repeat | background picture repeat mode]
background-repeat: %repeat%;|
[border | border]
border: %borderw% %color% %borders%|
[border_bottom | border bottom part]
border-bottom: %color% %borders%|
[border_bottom_color | border bottom color]
border-bottom-color: %color%;|
[border_bottom_style | border bottom style]
border-bottom-style: %borders%;|
[border_bottom_width | border bottom width]
border-bottom-width: %borderw%;|
[border_collapse | border collapse]
border-collapse: %collapse%;|
[border_color | border color]
border-color: %color%;|
[border_left | left border]
border-left: %borderw% %color% %borders%|
[border_left_color | left border color]
border-left-color: %color%;|
[border_left_style | left border style]
border-left-style: %borders%;|
[border_left_width | left border width]
border-left-width: %borderw%;|
[border_right_width | right border width]
border-right-width: %borderw%;|
[border_right | right border]
border-right: |;
[border_right_color | right border color]
border-right-color: %color%;|
[border_right_style | right border style]
border-right-style: %borders%;|
[border_spacing | border spacing]
border-spacing: |;
[border_style | border style]
border-style: %borderst% %bordersr% %bordersb% %bordersl%|
[border_top_width | top border style]
border-top-width: |;
[border_top | top border]
border-top: |;
[border_top_color | top border color]
border-top-color: %color%;|
[border_top_style | top border style]
border-top-style: %borders%;|
[border_width | border width]
border-width: %borderwt% %borderwr% %borderwb% %borderwl%|
[bottom | bottom position]
bottom: %units%;|
;
[caption_side | caption side placing]
caption-side: %captionside%;|
[clear | cancel flow around]
clear: %clear%;|
[clip | visible part]
clip: rect(%top%,%right%,%bottom%,%left%)|
[clip_ | visible part with element border]
clip: auto;|
[color | color setting]
color: %color%;|
[content2 | double quotes work]
content: %content%;|
[content | content added to element]
content: "|";
[counter_increment | counter-increment ]
counter-increment: |;
[counter_reset | counter-reset ]
counter-reset: |;
[cue_after | sound icon behind element]
cue-after: url(%cue%);|
[cue_before | sound icon inside in front of element]
cue-before: url(%cue%);|
[cue | sound icon]
cue: url(%cue%);|
[cursor | cursor appearence]
cursor: %cursor%;|
;
[direction | direction ]
direction: %direction%;|
[display | display block]
display: %display%;|
;
[elevation | surround sound]
elevation: %x% %y% %z%|
[empty_cells | show empty cells]
empty-cells: %emptycells%;|
;
[filter | filter (IE) ]
filtr: %filtr%;|
[float | flow arround style]
float: %float%;|
[font_family | font type]
font-family: %family%;|
[font_size | font size]
font-size: %size%;|
[font_style | font style (italic)]
font-style: %stylef%;|
[font_variant | font look (capital)]
font-variant: %variant%;|
[font_weight | font weight (bold)]
font-weight: %weight%;|
[font | font]
font: %stylef% %variant% %weight% %size% %weight% %family%;|
[font_size_adjust | font-size-adjust ]
font-size-adjust: |;
[font_stretch | font profile - char width]
font-stretch: %stretch%;|
;
[height | element height]
height: %units%;|
;
[left | left position]
left: %units%;|
[letter_spacing | inside-chars space]
letter-spacing: |;
[line_height | line height]
line-height: |;
[list_style_image | picture as list style image]
list-style-image: url(%src%);|
[list_style_position | list style position]
list-style-position: %lsposition%;|
[list_style_type | list style type]
list-style-type: %typel%;|
[list_style | list appearence]
list-style: %typel% %lsposition% url(%src%)|
;
[margin_bottom | element bottom margin]
margin-bottom: |;
[margin_left | element left margin]
margin-left: |;
[margin_right | element rigth margin]
margin-right: |;
[margin_top | element top margin]
margin-top: |;
[margin | transparent element margin]
margin: %top% %right% %bottom% %left%|
[marker_offset | marker-offset ]
marker-offset: |;
[marks | special chars for page formating]
marks: %marks%;|
[max_height | maximal element height]
max-height: |;
[max_width | maximal element width]
max-width: |;
[min_height | minimal element height]
min-height: |;
[min_width | minimal element width]
min-width: |;
;
[orphans | orphans ]
orphans: |;
[outline_color | outline element color]
ooutline-color: %color%;|
[outline_style | outline element style]
outline-style: |;
[outline_width | outline element width]
outline-width: |;
[outline | outline element appearance]
outline: %borderw% %borders% %color%|
[overflow | content overflow]
overflow: %overflow%;|
;
[padding_bottom | bottom padding]
padding-bottom: %units%;|
[padding_left | left padding]
padding-left: %units%;|
[padding_right | right padding]
padding-right: %units%;|
[padding_top | top padding]
padding-top: %units%;|
[padding | padding]
padding: %top% %right% %bottom% %left%|
[page_break_after | page break after element]
page-break-after: %pageba%;|
[page_break_before | page break before element]
page-break-before: %pagebb%;|
[page_break_inside | page break inside element]
page-break-inside: %pagebi%;|
[page | page]
page: |;
[pause_after | pause after text]
pause-after: |;
[pause_before | pause before text]
pause-before: |;
[pause | pause during text reading]
pause: |;
[pitch_range | voice pitch range 0..100]
pitch-range: |;
[pitch | average voice pitch]
pitch: %pitch%;|
[play_during | background sound]
play-during: |;
[position | format element position scheme]
position: %position%;|
;
[quotes | quotes style]
quotes: '%quotesa%' '%quotesz%'|
;
[richness | voice fullness (0..100)]
richness: |;
[right | right position]
right: |;
;
[size | page size and font orientation]
size: %sizep% %sizepy%;|
[speak_header | read table header]
speak-header: %speakh%;|
[speak_numeral | number reading mode]
speak-numeral: %speakn%;|
[speak_punctuation | punctation reading mode]
speak-punctuation: %speakp%;|
[speak | text reading mode]
speak: %speak%;|
[speech_rate | speech rate]
speech-rate: %speakr%;|
[src | link to file with font definition]
src: url(%srcf%);|
[stress | voice stress (0..100)]
stress: |;
;
[table_layout | table formating]
table-layout: %tablelayout%;|
[text_shadow | text shadow]
text-shadow: %x% %y% %z% %color%|
[text_align | horizontal text align]
text-align: %talign%;|
[text_decoration | text decoration]
text-decoration: |;
[text_indent | first line indent]
text-indent: |;
[text_transform | upper and lower case transformation]
text-transform: |;
[top | top position]
top: %units%;|
;
[unicode_bidi | unicode-bidi ]
unicode-bidi: |;
[units_per_em | font length unit - number of units]
units-per-em: |;
;
[vertical_align | element vertical align]
vertical-align: %valign%;|
[visibility | element visibility]
visibility: %visibility%;|
[voice_family | voice style]
voice-family: |;
[volume | voice volume]
volume: %volume%;|
;
[widows | widows]
widows: |;
[white_space | line breaking]
white-space: %whitespace%;|
[width | 氻鴎a prvku ]
width: |;
[word_spacing | word spacing]
word-spacing: |;
[writing_mode | writing-mode ]
writing-mode: |;
;
[z_index | element overlap definition]
z-index: %zindex%;|
;
[family | insert next font-family value]
%family%,|
;
;
[Tree Content]
Font properties
ascent
cap_height
descent
family
font
font_family
font_size
font_stretch
font_style
font_variant
font_weight
slope
src
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -