diff --git a/src/main/webapp/WEB-INF/jsp/nav.jsp b/src/main/webapp/WEB-INF/jsp/nav.jsp index ee796bd..e4e5b0c 100644 --- a/src/main/webapp/WEB-INF/jsp/nav.jsp +++ b/src/main/webapp/WEB-INF/jsp/nav.jsp @@ -17,6 +17,21 @@
  • CI 변환
  • + +
  • + + +
    +

    Menu

    + +
    +
  • diff --git a/src/main/webapp/resource/css/images/m_logo.png b/src/main/webapp/resource/css/images/m_logo.png new file mode 100644 index 0000000..e488026 Binary files /dev/null and b/src/main/webapp/resource/css/images/m_logo.png differ diff --git a/src/main/webapp/resource/css/style.css b/src/main/webapp/resource/css/style.css index 9396e4a..631a3ea 100644 --- a/src/main/webapp/resource/css/style.css +++ b/src/main/webapp/resource/css/style.css @@ -65,6 +65,7 @@ details ul span{color:#686868;} list-style: none; } .nav .logo{ + width: 214px; height: 30px; background-image: url(./images/logo.png); background-size: 128px; @@ -79,6 +80,8 @@ details ul span{color:#686868;} font-size: 18px; padding-left: 15px; } +.m-dp1{display: none;} + .box_group{ background: #fff; border-radius: 10px; @@ -144,4 +147,89 @@ button span{ button:hover{ transition: all 0.3s; background:#4367a6; -} \ No newline at end of file +} + +/* 미디어쿼리 */ +@media only screen and (max-width : 500px){ + div.app-item.nav{ + width: 100%; + } + .nav{ + display: flex; + } + .nav .logo{ + border: none; + margin: 0px; + background-image: url(./images/m_logo.png); + background-size: 52px; + background-position: 7px 3px; + } + .dp1 a{ + display: none; + } + .m-dp1{ + display: block; + } + /*인풋에 체크되기 전*/ + #menuicon {display: none;} + #menuicon + label { + display: block; + /*margin: 30px;*/ + width: 33px; + height: 28px; + /*z-index: 9999;*/ + position: relative; + cursor: pointer; + right: -180px; + top: 3px; + } + #menuicon + label span{ + display: block; + position: absolute; + width: 100%; + height: 4px; + border-radius: 30px; + background: #fff; + transition: all .35s; + } + #menuicon + label span:nth-child(1){top:0;} + #menuicon + label span:nth-child(2){top:50%; transform: translateY(-50%);} + #menuicon + label span:nth-child(3){bottom: 0;} + + /*인풋에 체크 후*/ + #menuicon:checked + label{z-index: 17;} + #menuicon:checked + label span{background: #fff;} + #menuicon:checked + label span:nth-child(1){top:50%; transform: translateY(-50%) rotate(45deg);} + #menuicon:checked + label span:nth-child(2){opacity:0;} + #menuicon:checked + label span:nth-child(3){bottom:50%; transform: translateY(50%) rotate(-45deg);} + + .m-sidebar{ + width: 200px; + height: 100%; + background: #182e49; + position: fixed; + top: 0; + right: -300px; + z-index: 16; + transition: all .35s; + margin-top: 8px; + } + .m-sidebar ul{list-style: none;} + .m-sidebar h3{ + color:#fff; + padding-top: 50px; + padding-left: 23px; + font-family: 'Noto Sans KR', sans-serif; + font-weight: 500; + } + .m-sidebar a{ + color: #fff; + display:inline-block; + border: 0px solid red; + list-style: none; + font-family: 'Noto Sans KR', sans-serif; + font-weight: 400; + } + #menuicon:checked + label +div {right:0;} + +}/*삭제조심*/ \ No newline at end of file