You are here

grid-4x4.css in AT Tools 8.3

.atl__lr {
  margin: 0 -0.625em;
}

.atl__lc {
  padding: 0 0.625em;
  width: 100%;
}

.atl:before, .atl:after {
  content: " ";
  display: table;
}

.atl:after {
  clear: both;
}

.bp--at-core-simple-tablet-isolate .atl--grid-4x4 > .atl__cw > .atl__lc {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 50%;
  float: left;
}

.bp--at-core-simple-tablet-isolate .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(2n + 1) {
  margin-left: 0;
  margin-right: -100%;
  clear: both;
  margin-left: 0;
}

.bp--at-core-simple-tablet-isolate .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(2n + 2) {
  margin-left: 50%;
  margin-right: -100%;
  clear: none;
}

.bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 25%;
  float: left;
}

.bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(4n + 1) {
  margin-left: 0;
  margin-right: -100%;
  clear: both;
  margin-left: 0;
}

.bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(4n + 2) {
  margin-left: 25%;
  margin-right: -100%;
  clear: none;
}

.bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(4n + 3) {
  margin-left: 50%;
  margin-right: -100%;
  clear: none;
}

.bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(4n + 4) {
  margin-left: 75%;
  margin-right: -100%;
  clear: none;
}

File

at_theme_generator/starterkits/starterkit/layout/plugin-layout-float/css/grid-4x4.css
View source
  1. .atl__lr {
  2. margin: 0 -0.625em;
  3. }
  4. .atl__lc {
  5. padding: 0 0.625em;
  6. width: 100%;
  7. }
  8. .atl:before, .atl:after {
  9. content: " ";
  10. display: table;
  11. }
  12. .atl:after {
  13. clear: both;
  14. }
  15. .bp--at-core-simple-tablet-isolate .atl--grid-4x4 > .atl__cw > .atl__lc {
  16. -webkit-box-sizing: border-box;
  17. box-sizing: border-box;
  18. width: 50%;
  19. float: left;
  20. }
  21. .bp--at-core-simple-tablet-isolate .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(2n + 1) {
  22. margin-left: 0;
  23. margin-right: -100%;
  24. clear: both;
  25. margin-left: 0;
  26. }
  27. .bp--at-core-simple-tablet-isolate .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(2n + 2) {
  28. margin-left: 50%;
  29. margin-right: -100%;
  30. clear: none;
  31. }
  32. .bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc {
  33. -webkit-box-sizing: border-box;
  34. box-sizing: border-box;
  35. width: 25%;
  36. float: left;
  37. }
  38. .bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(4n + 1) {
  39. margin-left: 0;
  40. margin-right: -100%;
  41. clear: both;
  42. margin-left: 0;
  43. }
  44. .bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(4n + 2) {
  45. margin-left: 25%;
  46. margin-right: -100%;
  47. clear: none;
  48. }
  49. .bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(4n + 3) {
  50. margin-left: 50%;
  51. margin-right: -100%;
  52. clear: none;
  53. }
  54. .bp--at-core-simple-wide .atl--grid-4x4 > .atl__cw > .atl__lc:nth-child(4n + 4) {
  55. margin-left: 75%;
  56. margin-right: -100%;
  57. clear: none;
  58. }