usagi / cinnamonroll

This is the tool for the CSS that decompiling/compiling to the ".cinnamonroll"/".css" type, wrinte in the haskell use with the Parsec library.
MIT License
2 stars 0 forks source link

define the .cinnamonroll spec version 1.0.0 #1

Open usagi opened 12 years ago

usagi commented 12 years ago

define the first spec.

usagi commented 12 years ago

syntax:

usagi commented 12 years ago

syntax(add):

sample:

@charset "UTF-8"
@import url(the-other.css)
@page
  size: 10cm
# tag settings
body
  color: hsla(30, 0%, 95%, 0.95)
  background-color: Black
# trial definitions with CSS3
*
  border: 1px solid #CCC
  border-radius: 3px
  font-family: "schoolbell", cursive
a:hover
  border: 2px solid #AAA
  h1, h2, h3,div
    color: AliceBlue
  h4,h5,p
    color: Beige
    span.hoge
      font-weight: bold
usagi commented 12 years ago

syntax(add):