You are here

grid-2x2.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-2x2 > .atl__cw > .atl__lc,
.bp--at-core-simple-wide .atl--grid-2x2 > .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-2x2 > .atl__cw > .atl__lc:nth-child(2n + 1),
.bp--at-core-simple-wide .atl--grid-2x2 > .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-2x2 > .atl__cw > .atl__lc:nth-child(2n + 2),
.bp--at-core-simple-wide .atl--grid-2x2 > .atl__cw > .atl__lc:nth-child(2n + 2) {
  margin-left: 50%;
  margin-right: -100%;
  clear: none;
}

File

at_theme_generator/starterkits/starterkit/layout/plugin-layout-float/css/grid-2x2.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-2x2 > .atl__cw > .atl__lc,
  16. .bp--at-core-simple-wide .atl--grid-2x2 > .atl__cw > .atl__lc {
  17. -webkit-box-sizing: border-box;
  18. box-sizing: border-box;
  19. width: 50%;
  20. float: left;
  21. }
  22. .bp--at-core-simple-tablet-isolate .atl--grid-2x2 > .atl__cw > .atl__lc:nth-child(2n + 1),
  23. .bp--at-core-simple-wide .atl--grid-2x2 > .atl__cw > .atl__lc:nth-child(2n + 1) {
  24. margin-left: 0;
  25. margin-right: -100%;
  26. clear: both;
  27. margin-left: 0;
  28. }
  29. .bp--at-core-simple-tablet-isolate .atl--grid-2x2 > .atl__cw > .atl__lc:nth-child(2n + 2),
  30. .bp--at-core-simple-wide .atl--grid-2x2 > .atl__cw > .atl__lc:nth-child(2n + 2) {
  31. margin-left: 50%;
  32. margin-right: -100%;
  33. clear: none;
  34. }