You are here

shortcodes--position.css in AT Tools 8.3

/**
 * Shortcodes (Positioning)
 ============================================================================ */
.horizontal-center,
.center-element {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.vertical-center {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

@media screen and (max-width: 60em) {
  .pull-right,
  [dir="rtl"] .pull-left,
  .pull-left,
  [dir="rtl"] .pull-right {
    float: none;
    right: auto;
    left: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media screen and (min-width: 60.0625em) {
  .pull-right,
  [dir="rtl"] .pull-left {
    float: right;
    right: 0;
    left: auto;
  }
  .pull-left,
  [dir="rtl"] .pull-right {
    float: left;
    right: auto;
    left: 0;
  }
}

.position-relative {
  position: relative;
}

.position-static {
  position: static;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.position-top {
  top: 0;
  bottom: auto;
}

.position-right {
  right: 0;
  left: auto;
}

.position-bottom {
  bottom: 0;
  top: auto;
}

.position-left {
  left: 0;
  right: auto;
}

.z-index-1 {
  z-index: 1;
}

.z-index-2 {
  z-index: 2;
}

.z-index-3 {
  z-index: 3;
}

.z-index-4 {
  z-index: 4;
}

.z-index-5 {
  z-index: 5;
}

.z-index-6 {
  z-index: 6;
}

.z-index-7 {
  z-index: 7;
}

.z-index-8 {
  z-index: 8;
}

.z-index-9 {
  z-index: 9;
}

.z-index-10 {
  z-index: 10;
}
/*# sourceMappingURL=shortcodes--position.css.map */

File

at_theme_generator/starterkits/starterkit/styles/css/components/shortcodes--position.css
View source
  1. /**
  2. * Shortcodes (Positioning)
  3. ============================================================================ */
  4. .horizontal-center,
  5. .center-element {
  6. margin-left: auto;
  7. margin-right: auto;
  8. text-align: center;
  9. }
  10. .vertical-center {
  11. position: absolute;
  12. top: 50%;
  13. -webkit-transform: translateY(-50%);
  14. -ms-transform: translateY(-50%);
  15. transform: translateY(-50%);
  16. }
  17. @media screen and (max-width: 60em) {
  18. .pull-right,
  19. [dir="rtl"] .pull-left,
  20. .pull-left,
  21. [dir="rtl"] .pull-right {
  22. float: none;
  23. right: auto;
  24. left: auto;
  25. margin-left: auto;
  26. margin-right: auto;
  27. text-align: center;
  28. }
  29. }
  30. @media screen and (min-width: 60.0625em) {
  31. .pull-right,
  32. [dir="rtl"] .pull-left {
  33. float: right;
  34. right: 0;
  35. left: auto;
  36. }
  37. .pull-left,
  38. [dir="rtl"] .pull-right {
  39. float: left;
  40. right: auto;
  41. left: 0;
  42. }
  43. }
  44. .position-relative {
  45. position: relative;
  46. }
  47. .position-static {
  48. position: static;
  49. }
  50. .position-absolute {
  51. position: absolute;
  52. }
  53. .position-fixed {
  54. position: fixed;
  55. }
  56. .position-top {
  57. top: 0;
  58. bottom: auto;
  59. }
  60. .position-right {
  61. right: 0;
  62. left: auto;
  63. }
  64. .position-bottom {
  65. bottom: 0;
  66. top: auto;
  67. }
  68. .position-left {
  69. left: 0;
  70. right: auto;
  71. }
  72. .z-index-1 {
  73. z-index: 1;
  74. }
  75. .z-index-2 {
  76. z-index: 2;
  77. }
  78. .z-index-3 {
  79. z-index: 3;
  80. }
  81. .z-index-4 {
  82. z-index: 4;
  83. }
  84. .z-index-5 {
  85. z-index: 5;
  86. }
  87. .z-index-6 {
  88. z-index: 6;
  89. }
  90. .z-index-7 {
  91. z-index: 7;
  92. }
  93. .z-index-8 {
  94. z-index: 8;
  95. }
  96. .z-index-9 {
  97. z-index: 9;
  98. }
  99. .z-index-10 {
  100. z-index: 10;
  101. }
  102. /*# sourceMappingURL=shortcodes--position.css.map */