|
| 1 | +@media screen and (min-width:768px) { |
| 2 | + |
| 3 | + .main-wrapper .main-banner-box{ |
| 4 | + position: relative; |
| 5 | + width: 100%; |
| 6 | + min-height: 90vh; |
| 7 | + } |
| 8 | + |
| 9 | + .main-wrapper .main-banner{ |
| 10 | + position: absolute; |
| 11 | + top: 0; |
| 12 | + right: 0%; |
| 13 | + width: 60%; |
| 14 | + } |
| 15 | + .main-wrapper .IntroduceBox{ |
| 16 | + height: 90vh; |
| 17 | + } |
| 18 | + |
| 19 | + |
| 20 | + /* swiper 페이지네이션 */ |
| 21 | + .main-banner .swiper-pagination { |
| 22 | + position: absolute; |
| 23 | + left: 44%; |
| 24 | + } |
| 25 | + |
| 26 | + .main-banner .swiper-pagination-bullet { |
| 27 | + width: 14px; |
| 28 | + height: 14px; |
| 29 | + /* border-radius: 50%; */ |
| 30 | + background-color: rgba(255, 255, 255, 0.9); |
| 31 | + } |
| 32 | + .main-banner .swiper-pagination-bullet-active{ |
| 33 | + width: 50px; |
| 34 | + border-radius: 50px; |
| 35 | + transition: all .4s linear; |
| 36 | + } |
| 37 | + |
| 38 | + /* 배너 */ |
| 39 | + .main-frame{ |
| 40 | + position: absolute; |
| 41 | + top: 0; |
| 42 | + right: 0; |
| 43 | + bottom: 0; |
| 44 | + left: 0; |
| 45 | + display: flex; |
| 46 | + justify-content: space-between; |
| 47 | + align-items: center; |
| 48 | + width: 700px; |
| 49 | + max-width: 98rem; |
| 50 | + margin-right: auto; |
| 51 | + margin-left: auto; |
| 52 | + text-align: left; |
| 53 | + } |
| 54 | + .main-banner .swiper-slide::before{ |
| 55 | + content: ''; |
| 56 | + display: block; |
| 57 | + width: 100%; |
| 58 | + height: 90vh; |
| 59 | + } |
| 60 | + |
| 61 | + .main-banner .swiper-slide-active .panel-img{ |
| 62 | + transition: all 2.5s linear; |
| 63 | + transform: scale(1.2); |
| 64 | + } |
| 65 | + .main-frame .panel-title{ |
| 66 | + font-size: 30px; |
| 67 | + color: #fff; |
| 68 | + font-weight: bold; |
| 69 | + margin-bottom: 20px; |
| 70 | + } |
| 71 | + .main-frame .panel2-title{ |
| 72 | + font-size: 25px; |
| 73 | + color: #fff; |
| 74 | + font-weight: bold; |
| 75 | + margin-bottom: 30px; |
| 76 | + } |
| 77 | + |
| 78 | + .main-frame .panel-desc{ |
| 79 | + font-size: 20px; |
| 80 | + } |
| 81 | + .main-frame .panel2-desc{ |
| 82 | + font-size: 20px; |
| 83 | + color: #fff; |
| 84 | + } |
| 85 | + .main-frame .panel-top-title{ |
| 86 | + font-size: 50px; |
| 87 | + font-weight: bold; |
| 88 | + color: #2b2d36; |
| 89 | + } |
| 90 | + .main-frame .panel2-top-title{ |
| 91 | + font-size: 45px; |
| 92 | + font-weight: bold; |
| 93 | + color: #fff; |
| 94 | + } |
| 95 | + .panel-img{ |
| 96 | + width: 240px; |
| 97 | + height:240px; |
| 98 | + |
| 99 | + } |
| 100 | + |
| 101 | + .main-banner .swiper-slide .banner-img{ |
| 102 | + width: 100%; |
| 103 | + height: 100%; |
| 104 | + border-radius: 0; |
| 105 | + } |
| 106 | + .main-banner .swiper::before{ |
| 107 | + content: ''; |
| 108 | + display: block; |
| 109 | + position:absolute; |
| 110 | + width: 50px; |
| 111 | + height: 23px; |
| 112 | + background-color: rgba(49,51,56,.6); |
| 113 | + padding: 5px 14px; |
| 114 | + border-radius: 18px; |
| 115 | + top: 23px; |
| 116 | + right: 18px; |
| 117 | + z-index: 2; |
| 118 | + box-sizing: content-box; |
| 119 | + } |
| 120 | + |
| 121 | + .main-banner .swiper-button-prev::after,.swiper-button-next::after{ |
| 122 | + /* position: relative; */ |
| 123 | + display: none; |
| 124 | + } |
| 125 | + |
| 126 | + .main-banner .swiper-button-prev{ |
| 127 | + position: absolute; |
| 128 | + top: 40px; |
| 129 | + left: unset; |
| 130 | + right: 66px; |
| 131 | + background: url('/public/images/main/left-chevron.png') no-repeat center ; |
| 132 | + background-size: 24px 14px; |
| 133 | + } |
| 134 | + .main-banner .swiper-button-next{ |
| 135 | + position: absolute; |
| 136 | + top: 40px; |
| 137 | + right: 20px; |
| 138 | + background: url('/public/images/main/right-chevron.png') no-repeat center ; |
| 139 | + background-size: 24px 14px; |
| 140 | + } |
| 141 | + .main-banner .swiper-pause { |
| 142 | + position: absolute; |
| 143 | + top: 26px; |
| 144 | + right: 49px; |
| 145 | + z-index: 10; |
| 146 | + cursor: pointer; |
| 147 | + } |
| 148 | + .main-banner .swiper-pause img{ |
| 149 | + width: 14px; |
| 150 | + height: 15px; |
| 151 | + |
| 152 | + } |
| 153 | + |
| 154 | +} |
| 155 | + |
| 156 | + |
| 157 | +/* 반응형 웹 - Mobile */ |
| 158 | +@media screen and (max-width:767px){ |
| 159 | + |
| 160 | +} |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | +.main-banner .swiper-slide:first-child::before{ |
| 168 | + /* background: url('/public/images/green.png') no-repeat; */ |
| 169 | + background-color: #C8E5B0; |
| 170 | +} |
| 171 | +.main-banner .swiper-slide:last-child:before{ |
| 172 | + /* background: url('/public/images/main/blue-banner.jpg') no-repeat; */ |
| 173 | + background-color: #18222B; |
| 174 | +} |
0 commit comments