media.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. .img--desc--section{
  24. .desc--wrap{
  25. padding-right: 0;
  26. padding-left: 20px;
  27. h3{
  28. font-size: 24px;
  29. }
  30. }
  31. }
  32. }
  33. }
  34. }
  35. @media(max-width: 1024px){
  36. main{
  37. .detail--container{
  38. .title--wrap{
  39. h2{
  40. font-size: 44px;
  41. }
  42. }
  43. .content--wrap{
  44. .tech--card--wrap{
  45. .tech--card{
  46. width: calc(50% - 8px);
  47. }
  48. }
  49. }
  50. .title--section{
  51. padding-left: 0;
  52. padding-right: 0;
  53. >h2{
  54. font-size: 36px;
  55. }
  56. >h3{
  57. font-size: 20px;
  58. }
  59. }
  60. .desc--section{
  61. padding-left: 0;
  62. padding-right: 0;
  63. >h3{
  64. font-size: 32px;
  65. }
  66. &.full--type{
  67. >ul{
  68. >li{
  69. font-size: 20px;
  70. }
  71. }
  72. }
  73. }
  74. .img--desc--section{
  75. flex-direction: column;
  76. gap: 20px;
  77. .img--wrap{
  78. width: 100%;
  79. }
  80. .desc--wrap{
  81. width: 100%;
  82. }
  83. }
  84. }
  85. }
  86. }
  87. @media(max-width: 768px){
  88. main{
  89. .detail--container{
  90. .title--wrap{
  91. h2{
  92. font-size: 24px;
  93. }
  94. }
  95. .content--wrap{
  96. .tech--card--wrap{
  97. .tech--card{
  98. width: 100%;
  99. }
  100. }
  101. }
  102. .title--section{
  103. >h2{
  104. font-size: 28px;
  105. }
  106. }
  107. .desc--section{
  108. >h3{
  109. font-size: 24px;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. @media(max-width: 500px){
  116. main{
  117. .detail--container{
  118. .img--section{
  119. &.type2{
  120. flex-direction: column;
  121. .img--box{
  122. width: 100%;
  123. }
  124. }
  125. }
  126. }
  127. }
  128. }