responsive.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. @mixin width-large {
  2. @media (width >= 1920px) {
  3. @content;
  4. }
  5. }
  6. @mixin width-medium {
  7. @media (width >= 1707px) {
  8. @content;
  9. }
  10. }
  11. @mixin width-small {
  12. @media (width >= 1494px) {
  13. @content;
  14. }
  15. }
  16. @mixin width-xsmall {
  17. @media (width < 1445px) {
  18. @content;
  19. }
  20. }
  21. @mixin height-large {
  22. @media (height >= 1080px) {
  23. @content;
  24. }
  25. }
  26. @mixin height-medium {
  27. @media (height >= 1001px) {
  28. @content;
  29. }
  30. }
  31. @mixin height-small {
  32. @media (height >= 934px) {
  33. @content;
  34. }
  35. }
  36. @mixin height-xsmall {
  37. @media (height < 934px) {
  38. @content;
  39. }
  40. }
  41. .h840 {
  42. position: absolute;
  43. border-top: 2px solid green;
  44. top: 840px;
  45. width: 100%;
  46. z-index: 9999999;
  47. }
  48. .h864 {
  49. position: absolute;
  50. border-top: 2px solid black;
  51. top: 864px;
  52. width: 100%;
  53. z-index: 9999999;
  54. &:before {
  55. content: "864";
  56. }
  57. }
  58. .h910 {
  59. position: absolute;
  60. border-top: 2px solid green;
  61. z-index: 9999999;
  62. top: 910px;
  63. width: 100%;
  64. }
  65. .h934 {
  66. position: absolute;
  67. border-top: 2px solid black;
  68. top: 934px;
  69. width: 100%;
  70. z-index: 9999999;
  71. &:before {
  72. content: "934";
  73. }
  74. }
  75. .h977 {
  76. position: absolute;
  77. border-top: 2px solid green;
  78. top: 977px;
  79. width: 100%;
  80. z-index: 9999999;
  81. }
  82. .h1001 {
  83. position: absolute;
  84. border-top: 2px solid black;
  85. top: 1001px;
  86. z-index: 9999999;
  87. width: 100%;
  88. &:before {
  89. content: "1001";
  90. }
  91. }
  92. .h1056 {
  93. position: absolute;
  94. border-top: 2px solid green;
  95. top: 1056px;
  96. z-index: 9999999;
  97. width: 100%;
  98. }
  99. .h1080 {
  100. position: absolute;
  101. border-top: 2px solid black;
  102. top: 1080px;
  103. width: 100%;
  104. z-index: 9999999;
  105. &:before {
  106. content: "1080";
  107. }
  108. }
  109. .w1470 {
  110. position: absolute;
  111. border-left: 2px solid green;
  112. left: 1470px;
  113. height: 100%;
  114. top: 0;
  115. z-index: 9999999;
  116. }
  117. .w1494 {
  118. position: absolute;
  119. border-left: 2px solid black;
  120. left: 1494px;
  121. top: 0;
  122. z-index: 9999999;
  123. height: 100%;
  124. &:before {
  125. content: "1494";
  126. }
  127. }
  128. .w1683 {
  129. position: absolute;
  130. border-left: 2px solid green;
  131. left: 1683px;
  132. height: 100%;
  133. z-index: 9999999;
  134. top: 0;
  135. }
  136. .w1707 {
  137. position: absolute;
  138. border-left: 2px solid black;
  139. left: 1707px;
  140. height: 100%;
  141. top: 0;
  142. z-index: 9999999;
  143. &:before {
  144. content: "1705";
  145. }
  146. }
  147. .w1896 {
  148. position: absolute;
  149. border-left: 2px solid green;
  150. left: 1896px;
  151. height: 100%;
  152. z-index: 9999999;
  153. top: 0;
  154. }
  155. .w1920 {
  156. position: absolute;
  157. border-left: 2px solid black;
  158. left: 1920px;
  159. height: 100%;
  160. z-index: 9999999;
  161. top: 0;
  162. &:before {
  163. content: "1920";
  164. }
  165. }