최정임 최정임 05-02
250502 최정임 메인 반응형 css
@f88a1e3b3a0545a638d84eac6bf3a66c0e570646
client/resources/css/user/layout.css
--- client/resources/css/user/layout.css
+++ client/resources/css/user/layout.css
@@ -5,14 +5,20 @@
     z-index: 20;
     background-color: #fff;
 }
-
+.wrapper{position: relative;}
 .container {
-    margin: 120px 0;
-    position: relative;
+    padding-top: 120px;
+    
 }
-
+@media screen and (max-width: 1220px) {
+    
+    .header-container {
+        &>.nav-wrap{display: none !important;}
+    }
+}
 .header-container {
     width: 1500px;
+    margin: 0 auto;
     display: flex;
     align-items: center;
     justify-content: space-between;
@@ -130,7 +136,7 @@
     }
 }
 @media screen and (max-width: 1500px) {
-    .header-container{width: auto; }
+    .header-container{width: auto;       }
   }
 footer {
     width: 100%;
@@ -170,7 +176,7 @@
 
 .scroll-up {
     position: fixed;
-    right: 210px;
+    right: 0px;
     bottom: 101px;
     z-index: 555;
 }
(파일 끝에 줄바꿈 문자 없음)
client/resources/css/user/main.css
--- client/resources/css/user/main.css
+++ client/resources/css/user/main.css
@@ -12,11 +12,51 @@
     z-index: 9999;
 }
 
+@media screen and (max-width: 1220px) {
+    .pagination_container {bottom: 30px !important;}
+    .all-menu {
+        height: 66rem !important;
+
+        .nav-wrap {}
+
+        nav {
+            left: 0 !important;
+
+            ul {
+                display: grid !important;
+                grid-template-columns: 1fr 1fr;
+                width: 67% !important;
+
+                li {
+                    width: 100% !important;
+                }
+            }
+        }
+    }
+
+    .current-status {
+        & .board {
+
+            & li {
+                .count {
+                    width: auto !important;
+                }
+            }
+        }
+    }
+    .new-update {
+        & .info {
+            p {
+                width: min-content !important;
+            }}}
+    /* .new-pic, .new-video, .new-update {flex-direction: column; gap: 10px;} */
+}
+
 .all-menu {
     position: absolute;
     top: 0;
     left: 0;
-    background-image: url(../../images/allmenu-bg.png);
+
     background-repeat: no-repeat;
     background-color: #fff;
     width: 100%;
@@ -26,32 +66,44 @@
         position: absolute;
         top: 40px;
         right: 38px;
+        z-index: 1;
 
     }
 
+    .nav-wrap {
+        .title {
+            width: 174px;
+        }
+    }
+
     nav {
-        margin: 80px 210px;
+        position: absolute;
+        left: 12%;
+        width: 100%;
+        justify-content: center;
+        padding-top: 90px;
+
         &>ul {
             margin-left: 60px;
             display: flex;
             gap: 40px;
+            width: 100%;
         }
 
         &>ul>li {
-
+            width: 18%;
             z-index: 2;
-            width: 270px;
             height: 237px;
             padding: 0;
             border-radius: 30px;
             background-color: #fbf3f4;
             position: relative;
+            min-width: 17rem;
 
             h6 {
                 font-size: 24px;
                 text-align: center;
                 line-height: 70px;
-                width: 270px;
                 height: 70px;
                 background-image: linear-gradient(#fff, #fff),
                     linear-gradient(-45deg, #ca3e49, #3d355d);
@@ -60,12 +112,20 @@
                 border: 3px solid transparent;
                 border-radius: 15px;
                 font-family: "Pretendard-SB";
+                white-space: nowrap;
+                /* 줄바꿈 금지 */
+                overflow: hidden;
+                /* 넘치는 텍스트 숨김 */
+                text-overflow: ellipsis;
+
+
             }
 
         }
     }
 
     .submenu {
+        /* padding-top: 40px; */
         padding: 40px 30px;
 
 
@@ -102,6 +162,17 @@
 
 
 
+}
+
+.all-menu::before {
+    content: '';
+    display: block;
+    position: absolute;
+    bottom: 0;
+    background-image: url(../../images/allmenu-bg.png);
+    height: 420px;
+    width: 100%;
+    background-repeat: no-repeat;
 }
 
 .visual {
@@ -176,7 +247,7 @@
 
         .search-btn {
             position: absolute;
-            right: 0;
+            right: -1px;
             top: 0;
         }
     }
@@ -211,20 +282,25 @@
 }
 
 .current-status {
-    background-color: #f6f6f6;
+    background: linear-gradient(45deg, rgba(50, 52, 94, 0.05), rgba(223, 63, 70, 0.05));
+    border-top-right-radius: 80px;
+    border-bottom-left-radius: 80px;
     padding: 30px 0;
 
     .board {
         position: relative;
-        padding: 49px 0px;
+
         background-color: #fff;
         border-radius: 50px;
+        display: flex;
+        justify-content: space-between;
 
         ul {
+            padding: 49px 0px;
             display: flex;
-            gap: 37px;
-            margin-right: 37px;
-            justify-content: end;
+            margin: 0 37px;
+            width: -webkit-fill-available;
+            justify-content: space-between;
         }
 
         li {
@@ -273,12 +349,9 @@
     }
 
     .current-banner {
-        background-image: url(../../images/direct-btn-bg.png);
-        background-repeat: no-repeat;
-        position: absolute;
         width: 375px;
-        height: 247px;
-        top: 0;
+        background: linear-gradient(45deg, #32345e, #df3f46);
+        border-radius: 50px;
 
         div {
             position: absolute;
@@ -294,7 +367,17 @@
                 color: #fff;
             }
         }
+    }
 
+    .current-banner::before {
+        content: '';
+        background-image: url(../../images/direct-btn-bg.png);
+        background-repeat: no-repeat;
+        position: absolute;
+        width: 246px;
+        height: 152px;
+        top: 101px;
+        left: 67px;
     }
 }
 
@@ -347,7 +430,7 @@
             }
 
             .box-wrap {
-                width: 454px;
+                width: 30%;
                 height: 370px;
 
                 .box {
@@ -455,7 +538,7 @@
     }
 
     .media-box {
-        width: 420px;
+        width: 50%;
         border: 1px solid #eeeeee;
         border-radius: 22px;
         cursor: pointer;
@@ -503,15 +586,23 @@
 /* swiper */
 
 .swiper {
-    width: 1600px;
+    width: inherit;
     height: 100%;
 }
-@media screen and (max-width: 1500px) {
-    .swiper{width: auto; }
-    .swiper-wrapper{width: auto !important;}
-  }
+
+@media screen and (max-width: 1500px) {}
+
+@media screen and (max-width: 1220px) {
+    .search-wrap {
+        bottom: 80px !important;
+        .search-area {
+            width: auto;
+        }
+    }
+}
+
 .swiper-wrapper {
-    width: 1500px !important;
+    width: inherit !important;
     margin: 0 auto;
 }
 
@@ -528,6 +619,7 @@
 
 .swiper-slide img {
     display: block;
+    width: inherit;
     height: 100%;
     object-fit: cover;
 }
@@ -593,6 +685,7 @@
     color: #fff !important;
     font-family: "Pretendard-B";
     margin-right: 10px;
+
     span {
         font-size: 20px;
         color: #fff;
@@ -600,4 +693,13 @@
     }
 }
 
-.pagination_container{display: flex; align-items: center; gap: 25px; position: absolute; bottom: 107px; left: 50%; transform: translateX(-67%); z-index: 50;}
(파일 끝에 줄바꿈 문자 없음)
+.pagination_container {
+    display: flex;
+    align-items: center;
+    gap: 25px;
+    position: absolute;
+    bottom: 107px;
+    left: 50%;
+    transform: translateX(-67%);
+    z-index: 50;
+}
(파일 끝에 줄바꿈 문자 없음)
client/resources/images/direct-btn-bg.png (Binary)
--- client/resources/images/direct-btn-bg.png
+++ client/resources/images/direct-btn-bg.png
Binary file is not shown
client/views/App.vue
--- client/views/App.vue
+++ client/views/App.vue
@@ -1,12 +1,14 @@
 <template>
- <div class="wrapper">
+ <div class="wrapper ">
     <Header />
-    <div class="container "><router-view /></div>
-    <Footer />
-    <button class="scroll-up"  @click="scrollToTop">
+    <div class="container "><router-view /> 
+      <button class="scroll-up"  @click="scrollToTop">
       <img src="../resources/images/icon/top.png" alt="">
     </button>
+    </div>
+  
   </div>
+  <Footer />
 </template>
 <script>
 import Header from './layout/Header.vue';
client/views/index.html
--- client/views/index.html
+++ client/views/index.html
@@ -18,6 +18,7 @@
 </head>
 <body>
   <div id="root"></div>
+
   <script src="../client/build/bundle.js"></script>
 </body>
 </html>
(파일 끝에 줄바꿈 문자 없음)
client/views/layout/Header.vue
--- client/views/layout/Header.vue
+++ client/views/layout/Header.vue
@@ -1,6 +1,6 @@
 <template>
   <header>
-    <div class="header-container w1500">
+    <div class="header-container">
       <div class="logo-wrap">
         <router-link :to="{ path: '/' }" class="logo"><img :src="logo" alt=""></router-link>
       </div>
@@ -54,7 +54,7 @@
         <button @click="closeMenu" class="closebtn">✕</button>
         <div class="nav-wrap">
           <nav class="flex">
-            <div><img :src="title" alt=""></div>
+            <div class="title"><img :src="title" alt=""></div>
             <ul>
               <li>
                 <h6>기록물</h6>
client/views/pages/main/Main.vue
--- client/views/pages/main/Main.vue
+++ client/views/pages/main/Main.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="visual mb-50">
+  <div class="visual mb-50 w1500">
     <div class="swiper mySwiper swiper-container" ref="swiperContainer">
       <div class="swiper-wrapper">
         <div class="swiper-slide" v-for="(item, index) in slides" :key="index">
@@ -46,8 +46,12 @@
     </div>
   </div>
   <div class="current-status mb-60">
-    <div class="board w1500">
+    <div class="board  w1500">
+      <div class="current-banner">
+        <div><span>기록물 현황</span></div>
+      </div>
       <ul>
+        
         <template v-for="(item, idx) of icons" :key="idx">
           <li @click="fnMoveTo(item.routeName)">
             <div class="labeling"><img :src="item.url" :alt="item.name + '아이콘'"><span>{{ item.name }}</span></div>
@@ -56,9 +60,7 @@
           <li class="line" v-if="idx < icons.length - 1"></li>
         </template>
       </ul>
-      <div class="current-banner">
-        <div><span>기록물 현황</span></div>
-      </div>
+      
     </div>
   </div>
   <div class="new-update w1500 mb-50">
Add a comment
List