Sha256: 6e117ec99c60b55e1632a0cafc0cb8219534cb80507480ca1d635ddf8975e6c1

Contents?: true

Size: 716 Bytes

Versions: 3

Compression:

Stored size: 716 Bytes

Contents

require 'iowa/CSS'

a = Iowa::CSS.new
b = <<ECSS
Media.screen {
  h1 {
    color 'blue'
  }

  head_2 = h2 {
    color 'green'
    font_weight 'italic'
  }

  Id.content {
    Class.foo {
      border 3.px
      color head_2.color
    }
    font_face 'verdana'
    table {
      width 100
      Class.special {
        background_color 'grey'
      }
    }
  }

  p {
	quote {
	  font_style 'italic'
	  color 'green'
	}
  }

  p {
    universal {
      quote {
        z = font {
          style 'italic'
          weight 'bold'
        }
        color 'green'
      }
    }
  }

  universal {
    Class.smaller {font_size 85.pct}
  }

	p { p {
		font {
			size 10.pt + 2
		}}
	}
}
ECSS
a.parse b
puts a
puts "done"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
IOWA-1.0.3 tcss.rb
IOWA-1.0.2 tcss.rb
IOWA-1.0.0 tcss.rb