Deliverance and the OC

deliverance_and_the_oc.jpg

Not your daddy’s Deliverance.

Since our markup and CSS will need to be ported into other people’s sites via Deliverance, we’ll add an oc- namespace to all our classes and IDs (in addition to following our other naming rules). This will avoid any conflicts with styles in the parent site. For example:

<div class="oc-wiki">
  <div class="oc-headingBlock”>
    <h2>Project Home</h2>
  </div><!– end .oc-headingBlock –>
  <ul class=”oc-tabs”>
    <li>
      <a href=”” rel=”view”>view</a>
    </li>
    <li class=”oc-selected”>
      <a href=”” rel=”edit”>edit</a>
    </li>
    <li>
      <a href=”” rel=”history”>history</a>
    </li>
  </ul><!– end .oc-tabs –>

  <!–- more stuff here -–>
</div><!–- end .oc-wiki –->

Leave a Reply