'************************************************************************
'
'	TopStyle CSS Level 1 Definition
'
'************************************************************************

[definition]
Version=4.0
Revision=0
Author=Nick Bradbury
Icon=w3c
NamedColors=0
SystemColors=0
RGBColors=1
ImportantValue=0
ShortName=CSS1
Default=1

[at-rules]
@font-face=0
@import=1
@media=0
@page=0

[known types]
<units>=(pt|in|pc|mm|cm|px|em|ex)
<generic-family>=(serif|sans\-serif|cursive|fantasy|monospace)
<absolute-size>=(xx\-small|x\-small|small|medium|large|x\-large|xx\-large)
<relative-size>=(larger|smaller)
<border-top-style>=(none|dotted|dashed|solid|double|groove|ridge|inset|outset)
<border-right-style>=(none|dotted|dashed|solid|double|groove|ridge|inset|outset)
<border-bottom-style>=(none|dotted|dashed|solid|double|groove|ridge|inset|outset)
<border-left-style>=(none|dotted|dashed|solid|double|groove|ridge|inset|outset)

[selectors]
Class=Y
ID=Y
Contextual=Y
Child=N
Descendant=N
Sibling=N
Attribute=N
Universal=N

[pseudo]
:link
:visited
:active
:first-line
:first-letter

[groups]
Color and Background
Box
Classification
Font
Text

[properties]
background
background-attachment
background-color
background-image
background-position
background-repeat
border
border-bottom
border-bottom-width
border-color
border-left
border-left-width
border-right
border-right-width
border-style
border-top
border-top-width
border-width
clear
color
display
float
font
font-family
font-size
font-style
font-variant
font-weight
height
letter-spacing
line-height
list-style
list-style-image
list-style-position
list-style-type
margin
margin-bottom
margin-left
margin-right
margin-top
padding
padding-bottom
padding-left
padding-right
padding-top
text-align
text-decoration
text-indent
text-transform
vertical-align
white-space
width
word-spacing

[background]
inherited=0
initial=
group=Color and Background
value1=<background-color>
value2=<background-image>
value3=<background-repeat>
value4=<background-attachment>
value5=<background-position>

[background-attachment]
inherited=0
initial=scroll
group=Color and Background
value1=scroll|fixed

[background-color]
inherited=0
initial=transparent
group=Color and Background
value1=transparent|<color>

[background-image]
inherited=0
initial=none
group=Color and Background
value1=<url>|none

[background-position]
inherited=0
initial=0% 0%
group=Color and Background
multiple=1
value1=(<percentage>|<length>)||(top|center|bottom)||(left|center|right)

[background-repeat]
inherited=0
initial=repeat
group=Color and Background
value1=repeat\-x|repeat\-y|no\-repeat|repeat

[border]
inherited=0
initial=
group=Box
value1=<border-width>
value2=<border-style>
value3=<color>

[border-bottom]
inherited=0
group=Box
value1=<border-bottom-width>
value2=<border-style>
value3=<color>

[border-bottom-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-color]
inherited=0
group=Box
value1=<color>
value2=<color>
value3=<color>
value4=<color>

[border-left]
inherited=0
group=Box
value1=<border-left-width>
value2=<border-style>
value3=<color>

[border-left-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-right]
inherited=0
group=Box
value1=<border-right-width>
value2=<border-style>
value3=<color>

[border-right-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-style]
inherited=0
initial=none
group=Box
value1=<border-top-style>
value2=<border-right-style>
value3=<border-bottom-style>
value4=<border-left-style>

[border-top]
inherited=0
initial=
group=Box
value1=<border-top-width>
value2=<border-style>
value3=<color>

[border-top-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-width]
inherited=0
initial=
group=Box
value1=<border-top-width>
value2=<border-right-width>
value3=<border-bottom-width>
value4=<border-left-width>

[clear]
inherited=0
initial=none
group=Box
value1=none|left|right|both

[color]
inherited=1
group=Color and Background
value1=<color>

[display]
inherited=0
initial=block
group=Classification
value1=block|inline|list\-item|none

[float]
inherited=0
initial=none
group=Box
value1=left|right|none

[font]
inherited=1
initial=
group=Font
value1=<font-style>
value2=<font-variant>
value3=<font-weight>
value4=<font-size>
value5=<line-height>
value6=<font-family>

[font-family]
inherited=1
initial=
group=Font
value1=((<generic-family>|<family-name>|<google-font-family>),)*(<generic-family>|<family-name>|<google-font-family>)

[font-size]
inherited=1
initial=medium
group=Font
value1=<relative-size>|<absolute-size>|<percentage>|<length>

[font-style]
inherited=1
initial=normal
group=Font
value1=normal|italic|oblique

[font-variant]
inherited=1
initial=normal
group=Font
value1=normal|small\-caps

[font-weight]
inherited=1
initial=normal
group=Font
value1=normal|bolder|bold|lighter|100|200|300|400|500|600|700|800|900

[height]
inherited=0
initial=auto
group=Box
value1=<length>|auto

[letter-spacing]
inherited=1
initial=normal
group=Text
value1=normal|<length>

[line-height]
inherited=1
initial=normal
group=Text
value1=normal|<percentage>|<length>|<number>

[list-style]
inherited=1
initial=
group=Classification
value1=<list-style-type>
value2=<list-style-position>
value3=<list-style-image>

[list-style-image]
inherited=1
initial=none
group=Classification
value1=<url>|none

[list-style-position]
inherited=1
initial=outside
group=Classification
value1=inside|outside

[list-style-type]
inherited=1
initial=disc
group=Classification
value1=disc|circle|square|decimal|lower\-roman|upper\-roman|lower\-alpha|upper\-alpha|none

[margin]
inherited=0
initial=
group=Box
value1=<margin-top>
value2=<margin-right>
value3=<margin-bottom>
value4=<margin-left>

[margin-bottom]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-left]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-right]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-top]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[padding]
inherited=0
initial=
group=Box
value1=<padding-top>
value2=<padding-right>
value3=<padding-bottom>
value4=<padding-left>

[padding-bottom]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-left]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-right]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-top]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[text-align]
inherited=1
initial=
group=Text
value1=left|right|center|justify

[text-decoration]
inherited=0
initial=none
group=Text
multiple=1
value1=none|(underline||overline||line\-through||blink)

[text-indent]
inherited=1
initial=0
group=Text
value1=<percentage>|<length>

[text-transform]
inherited=1
initial=none
group=Text
value1=capitalize|uppercase|lowercase|none

[vertical-align]
inherited=0
initial=baseline
group=Text
value1=baseline|sub|super|top|text\-top|middle|bottom|text\-bottom|<percentage>

[white-space]
inherited=1
initial=normal
group=Classification
value1=normal|pre|nowrap

[width]
inherited=0
initial=auto
group=Box
value1=<percentage>|<length>|auto

[word-spacing]
inherited=1
initial=normal
group=Text
value1=normal|<length>

