Posted by energee on February 11, 2013 at 5:49pm
I prefer to use the ruby, indented style sass when writing stylesheets, its cleaner and faster.
Zen assumes .scss style SASS, so this project includes .sass files. This is a drop-in replacement for the a "STARTERKIT" subtheme.
This:
.block { /* Block wrapper */
margin-bottom: 1.5em;
&.first { /* The first block in the region */
}
&.last { /* The last block in the region */
}
&.odd { /* Zebra striping for each block in the region */
}
&.even { /* Zebra striping for each block in the region */
}
h2.block-title { /* Block title */
}
}Becomes:
.block
// Block wrapper
margin-bottom: 1.5em
&.first
// The first block in the region
&.last
// The last block in the region
&.odd
// Zebra striping for each block in the region
&.even
// Zebra striping for each block in the region
h2.block-title
// Block title