Body classes

 

  • section-path
  • nodetype
  • page-path-path-title
  • front
  • no-sidebars
  • not-logged-in
Example

<body class=“not-front not-logged-in page-node node-type-page no-sidebars page-about-hand-crafted-solutions-your-business section-about .with-wireframes”>


.section-about h3{
font-size:1.1em;
margin-right:.3em;
padding-right:.6em;
border-right:1px solid #666;
}
.section-about p{
margin:.2em 0 1em;
}
 

menu example:

http://ecoamerica.org/…o/lee-bodner

.node-type-partner #primary .menu-1–4–2,
.node-type-program #primary .menu-1–5–2,
.node-type-bio #primary .menu-1–6–2,
.section-email #primary .menu-1–6–2
{background:#b1b579 !important;}

– why and how to cascade
 – http://www.w3.org/…cascade.html#…
 – http://www.w3.org/…cascade.html#…
 – http://css-tricks.com/…specificity/
 – http://www.stuffandnonsense.co.uk/…ars-05v2.jpg