media.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. @media(max-width: 1920px){
  2. main{
  3. .detail--container{
  4. padding: 0 20px;
  5. .title--wrap{
  6. padding-left: 0;
  7. padding-right: 0;
  8. h2{
  9. font-size: 60px;
  10. }
  11. }
  12. .content--wrap{
  13. padding-left: 0;
  14. padding-right: 0;
  15. .tech--card--wrap{
  16. .tech--card{
  17. h3{
  18. font-size: 18px;
  19. }
  20. }
  21. }
  22. }
  23. .more--section{
  24. >h2{
  25. font-size: 36px;
  26. }
  27. .tech--card--wrap{
  28. .tech--card{
  29. h3{
  30. font-size: 18px;
  31. }
  32. }
  33. }
  34. }
  35. .img--desc--section{
  36. .desc--wrap{
  37. padding-right: 0;
  38. padding-left: 20px;
  39. h3{
  40. font-size: 24px;
  41. }
  42. }
  43. }
  44. }
  45. }
  46. }
  47. @media(max-width: 1024px){
  48. main{
  49. .detail--container{
  50. .title--wrap{
  51. h2{
  52. font-size: 44px;
  53. }
  54. }
  55. .content--wrap{
  56. .tech--card--wrap{
  57. .tech--card{
  58. width: calc(50% - 8px);
  59. }
  60. }
  61. .ls--card--wrap{
  62. .ls--card{
  63. gap: 36px;
  64. flex-wrap: wrap;
  65. .ls--img--wrap{
  66. width: 100%;
  67. }
  68. .ls--txt--wrap{
  69. width: 100%;
  70. }
  71. &.reverse{
  72. flex-direction: column-reverse;
  73. }
  74. }
  75. }
  76. }
  77. .title--section{
  78. padding-left: 0;
  79. padding-right: 0;
  80. >h2{
  81. font-size: 36px;
  82. &.big--title{
  83. font-size: 40px;
  84. }
  85. }
  86. >h3{
  87. font-size: 20px;
  88. }
  89. }
  90. .desc--section{
  91. padding-left: 0;
  92. padding-right: 0;
  93. >h2{
  94. font-size: 36px;
  95. }
  96. >h3{
  97. font-size: 32px;
  98. }
  99. &.full--type{
  100. >ul{
  101. >li{
  102. font-size: 20px;
  103. }
  104. }
  105. }
  106. }
  107. .img--desc--section{
  108. flex-direction: column;
  109. gap: 20px;
  110. &.reverse{
  111. flex-direction: column;
  112. }
  113. .img--wrap{
  114. width: 100%;
  115. }
  116. .desc--wrap{
  117. width: 100%;
  118. }
  119. }
  120. .more--section{
  121. >h2{
  122. font-size: 28px;
  123. }
  124. .tech--card--wrap{
  125. flex-wrap: wrap;
  126. row-gap: 16px;
  127. .tech--card{
  128. width: calc(50% - 8px);
  129. }
  130. }
  131. }
  132. }
  133. }
  134. }
  135. @media(max-width: 768px){
  136. main{
  137. .detail--container{
  138. .title--wrap{
  139. h2{
  140. font-size: 24px;
  141. }
  142. }
  143. .content--wrap{
  144. .tech--card--wrap{
  145. .tech--card{
  146. width: 100%;
  147. }
  148. }
  149. .ls--card--wrap{
  150. .ls--card{
  151. .ls--txt--wrap{
  152. >h2{
  153. font-size: 24px;
  154. }
  155. >h3{
  156. font-size: 18px;
  157. }
  158. }
  159. }
  160. }
  161. }
  162. .more--section{
  163. .tech--card--wrap{
  164. .tech--card{
  165. width: 100%;
  166. }
  167. }
  168. }
  169. .title--section{
  170. >h2{
  171. font-size: 28px;
  172. &.big--title{
  173. font-size: 32px;
  174. }
  175. }
  176. }
  177. .desc--section{
  178. >h2{
  179. font-size: 28px;
  180. }
  181. >h3{
  182. font-size: 24px;
  183. &.big--title{
  184. font-size: 28px;
  185. }
  186. }
  187. }
  188. .img--section{
  189. &.type3{
  190. flex-wrap: wrap;
  191. .img--box{
  192. &:first-child{
  193. width: 100%;
  194. }
  195. &:last-child{
  196. width: 100%;
  197. }
  198. }
  199. }
  200. }
  201. }
  202. }
  203. }
  204. @media(max-width: 500px){
  205. main{
  206. .detail--container{
  207. .img--section{
  208. &.type2{
  209. flex-direction: column;
  210. .img--box{
  211. width: 100%;
  212. }
  213. }
  214. }
  215. }
  216. }
  217. }