This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 016b97ae00a5a0b1b8ecfe4edbf6a3889d771e0c
tree de675c6c6f7262f43bbc52f99faf50a5cd4cb63b
parent f5af09954326ac7694f97764d3fe3ff67e104ec2
tree de675c6c6f7262f43bbc52f99faf50a5cd4cb63b
parent f5af09954326ac7694f97764d3fe3ff67e104ec2
| name | age | message | |
|---|---|---|---|
| |
Manifest | ||
| |
README.rdoc | ||
| |
Rakefile | ||
| |
cassandra.gemspec | ||
| |
lib/ | ||
| |
misc/ | Tue Sep 16 07:41:08 -0700 2008 | |
| |
site/ | Tue Sep 30 10:17:47 -0700 2008 | |
| |
test/ |
README.rdoc
Cassandra, a.k.a Cssy
Cassandra is a CSS companion to Markaby. You declare selectors using methods named after the type selectors (i.e. tags) or after the class and id selectors of your choice, which are handled by method_missing. As in Markaby, id selectors are distinguished from class selectors by the "!" at the end of the method name. You can chain class/id selectors onto type selectors and each other.
Because in CSS you don’t have to begin with a type selector, starting a selector chain with a class/id selector is currently allowed in Cassandra. This may go away in the future.
Usage
@css = Cssy.new
@css.process do
body { background_color "#F8F7F1"}
div.content! {
width "700px"; margin "25px auto"
a {
color "#212F54";
text_decoration :none
font_weight :bold
}
ul.links! { list_style "url(flower.png)" }
}
end
@css.data #=> array of arrays
@css.to_s








