You are here

regions.css in Node displays 6

.nd-region-header {
  clear: both;
}

.nd-region-left {
  clear: left;
  float: left;
}

.nd-region-middle {
  clear: none;
}

.nd-region-right {
  float: right;
}

.nd-region-footer {
  clear: both;
}

/* default region dimensions */

.nd-region-left {
  width: 25%;
}

.nd-region-right {
  width: 25%;
}

/* middle region */

div.no-sidebars {
  clear: left;
}

div.sidebar-left {
  margin-left: 25%;
}

div.sidebar-right {
  margin-right: 25%;
  clear: left;
}

div.two-sidebars {
  margin-left: 25%;
  margin-right: 25%;
}

/* Region inner divs. Add borders, padding and margin here */

.nd-region-header .nd-region-inner {
}

.nd-region-left .nd-region-inner {
}

.nd-region-middle .nd-region-inner {
}

.nd-region-right .nd-region-inner {
}

.nd-region-footer .nd-region-inner {
}

File

css/regions.css
View source
  1. .nd-region-header {
  2. clear: both;
  3. }
  4. .nd-region-left {
  5. clear: left;
  6. float: left;
  7. }
  8. .nd-region-middle {
  9. clear: none;
  10. }
  11. .nd-region-right {
  12. float: right;
  13. }
  14. .nd-region-footer {
  15. clear: both;
  16. }
  17. /* default region dimensions */
  18. .nd-region-left {
  19. width: 25%;
  20. }
  21. .nd-region-right {
  22. width: 25%;
  23. }
  24. /* middle region */
  25. div.no-sidebars {
  26. clear: left;
  27. }
  28. div.sidebar-left {
  29. margin-left: 25%;
  30. }
  31. div.sidebar-right {
  32. margin-right: 25%;
  33. clear: left;
  34. }
  35. div.two-sidebars {
  36. margin-left: 25%;
  37. margin-right: 25%;
  38. }
  39. /* Region inner divs. Add borders, padding and margin here */
  40. .nd-region-header .nd-region-inner {
  41. }
  42. .nd-region-left .nd-region-inner {
  43. }
  44. .nd-region-middle .nd-region-inner {
  45. }
  46. .nd-region-right .nd-region-inner {
  47. }
  48. .nd-region-footer .nd-region-inner {
  49. }