You are here

sidebars-left-fixed.css in Zenophile 7

/* Fixed layout; both sidebars on left */

#page, #page-wrapper, .region-page-closure, body.no-sidebars #content {
  width: PAGEpx;
}

div.region-sidebar-first {
  width: LSB-SBpx;
  margin-right: -LSB-SBpx;
}

div.region-sidebar-second {
  width: RSB-SBpx;
}

body.two-sidebars div.region-sidebar-second {
  margin-left: RSB-SBpx;
  margin-right: -BOTHSB-SBpx;
}

body.sidebar-second div.region-sidebar-second {
  margin-left: 0px;
  margin-right: -RSB-SBpx;
}

div.region-sidebar-second div.section {
  margin-left: 0px;
  margin-right: 20px;
}

body.no-sidebars #content, body.one-sidebar #content, body.two-sidebars #content {
  margin-right: -PAGEpx;
}

body.sidebar-first #content {
  margin-left: LSB-SBpx;
}

body.sidebar-second #content {
  margin-left: RSB-SBpx;
}

body.two-sidebars #content {
  margin-left: BOTHSB-SBpx;
}

div.two-sidebars #content {
  margin-left: BOTHSB-CONTENTpx;
  width: BOTHSB-CONTENTpx;
}

File

zenophile_sidebars/css/sidebars-left-fixed.css
View source
  1. /* Fixed layout; both sidebars on left */
  2. #page, #page-wrapper, .region-page-closure, body.no-sidebars #content {
  3. width: PAGEpx;
  4. }
  5. div.region-sidebar-first {
  6. width: LSB-SBpx;
  7. margin-right: -LSB-SBpx;
  8. }
  9. div.region-sidebar-second {
  10. width: RSB-SBpx;
  11. }
  12. body.two-sidebars div.region-sidebar-second {
  13. margin-left: RSB-SBpx;
  14. margin-right: -BOTHSB-SBpx;
  15. }
  16. body.sidebar-second div.region-sidebar-second {
  17. margin-left: 0px;
  18. margin-right: -RSB-SBpx;
  19. }
  20. div.region-sidebar-second div.section {
  21. margin-left: 0px;
  22. margin-right: 20px;
  23. }
  24. body.no-sidebars #content, body.one-sidebar #content, body.two-sidebars #content {
  25. margin-right: -PAGEpx;
  26. }
  27. body.sidebar-first #content {
  28. margin-left: LSB-SBpx;
  29. }
  30. body.sidebar-second #content {
  31. margin-left: RSB-SBpx;
  32. }
  33. body.two-sidebars #content {
  34. margin-left: BOTHSB-SBpx;
  35. }
  36. div.two-sidebars #content {
  37. margin-left: BOTHSB-CONTENTpx;
  38. width: BOTHSB-CONTENTpx;
  39. }