Browse Source

메인페이지 완성

master
kmj1996 4 years ago
parent
commit
6c2b0a5a85
  1. 637
      dist/assets/css/style.css
  2. 2
      dist/assets/css/style.min.css
  3. 2
      dist/assets/css/style.min.css.map
  4. 92
      dist/index.html
  5. 4
      src/html/include/footer.html
  6. 2
      src/html/include/header.html
  7. 1
      src/html/include/meta.html
  8. 85
      src/html/index.html
  9. 187
      src/scss/common/_layout.scss
  10. 479
      src/scss/pages/main.scss

637
dist/assets/css/style.css

@ -9890,6 +9890,196 @@ readers do not read off random characters that represent icons */
/***************************************************************************************
* 레이아웃
****************************************************************************************/
.clearfix::after {
content: "";
clear: both;
display: block;
}
.section .container {
width: 1230px;
margin: 0 auto;
box-sizing: border-box;
}
header .container {
display: flex;
justify-content: space-between;
align-items: center;
}
header .logo {
background-image: url("../images/logo.png");
background-repeat: no-repeat;
display: inline-block;
width: 220px;
height: 60px;
text-indent: -9999px;
}
header .main-menu.depth-1 {
display: flex;
align-items: center;
height: 100%;
}
header .main-menu.depth-1 .depth-1-item {
position: relative;
white-space: nowrap;
letter-spacing: -0.04em;
}
header .main-menu.depth-1 .depth-1-item a {
display: inline-block;
font-size: 18px;
padding: 25px;
height: 100%;
}
header .main-menu.depth-1 .depth-1-item:hover .first-target {
color: #8b7004;
}
header .main-menu.depth-1 .depth-1-item:hover .depth-2 {
display: block;
z-index: 2;
}
header .main-menu.depth-1 .depth-1-item.item-list:hover {
background-image: url("../images/header_menudown.png");
background-repeat: no-repeat;
background-position: 100% 50%;
}
header .main-menu.depth-1 .depth-1-item .depth-2 {
display: none;
position: absolute;
top: 100%;
left: -20px;
background-color: #ffdb49;
white-space: nowrap;
width: 178px;
}
header .main-menu.depth-1 .depth-1-item .depth-2 li {
background-image: url("../images/header_hover_right.png");
background-repeat: no-repeat;
background-position: 90% 50%;
}
header .main-menu.depth-1 .depth-1-item .depth-2 li:hover {
background-color: #ffd116;
}
header .main-menu.depth-1 .depth-1-item .depth-2 li a {
display: block;
padding: 15px 0 15px 17px;
font-size: 15px;
}
header .btn {
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #a7a7a7;
border-radius: 20px;
font-size: 13px;
color: #808080;
padding: 5px 14px;
display: block;
opacity: .8;
}
header .btn .sign-in {
padding-right: 11px;
border-right: 1px solid #d6d6d6;
}
header .btn .sign-up {
padding-left: 10px;
}
.footer_nav .container {
background-color: #2b2b2b;
}
.footer_nav .container .footer_list {
text-align: center;
width: 1230px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-around;
}
.footer_nav .container .footer_list li {
padding: 25px;
border-right: 1px solid #141414;
}
.footer_nav .container .footer_list li:first-child {
border-left: 1px solid #141414;
}
.footer_nav .container .footer_list li a {
color: #fff;
}
.footer_nav .footer_info {
background-color: #141414;
}
.footer_nav .footer_info .footer_container {
width: 1230px;
margin: 0 auto;
font-size: 14px;
color: #858585;
padding: 40px 0 50px 0;
position: relative;
}
.footer_nav .footer_info .footer_container .company_address {
display: flex;
padding-bottom: 14px;
}
.footer_nav .footer_info .footer_container .company_address li {
padding: 0 13px;
border-right: 1px solid #343434;
}
.footer_nav .footer_info .footer_container .company_address li:first-child {
padding-left: 0;
}
.footer_nav .footer_info .footer_container .company_address li:last-child {
border: none;
}
.footer_nav .footer_info .footer_container .business_num {
display: flex;
padding-bottom: 25px;
}
.footer_nav .footer_info .footer_container .business_num li {
padding: 0 13px;
border-right: 1px solid #343434;
}
.footer_nav .footer_info .footer_container .business_num li:first-child {
padding-left: 0;
}
.footer_nav .footer_info .footer_container .business_num li:last-child {
border: none;
}
.footer_nav img {
position: absolute;
bottom: 20%;
right: 0;
}
/***************************************************************************************
* 유틸리티
****************************************************************************************/
@ -11673,29 +11863,448 @@ readers do not read off random characters that represent icons */
/**********************************************************************************************************************
* 메인페이지
***********************************************************************************************************************/
.clearfix::after {
.section--visual {
position: relative;
}
.section--visual .swiper-container .swiper-wrapper .swiper-slide a h2 {
position: absolute;
left: 40%;
top: 43%;
font-weight: 400;
transform: translate(-40% -43%);
font-size: 46px;
color: #fff;
}
.section--visual .swiper-container .swiper-wrapper .swiper-slide a h2 span {
color: #ffdb49;
}
.section--visual .swiper-container .swiper-wrapper .swiper-slide a p {
padding-top: 28px;
color: #babcc0;
font-size: 22px;
letter-spacing: -0.04em;
position: absolute;
left: 38%;
top: 50%;
transform: translate(-38% -50%);
}
.section--visual .swiper-container .swiper-wrapper .swiper-slide img {
width: auto;
height: 675px;
position: center;
left: 0;
top: 0;
}
.section--visual .swiper-pagination-fraction .swiper-pagination-bullets, .section--visual .swiper-pagination-custom .swiper-pagination-bullets, .section--visual .swiper-container-horizontal .swiper-pagination-bullets {
bottom: 130px;
left: 0;
width: 100%;
}
.section--visual .swiper-pagination .swiper-pagination-bullet {
width: 8px;
height: 8px;
display: inline-block;
border-radius: 50%;
background: #636568;
opacity: 0.2;
}
.section--visual .swiper-pagination .swiper-pagination-bullet-active {
opacity: 1;
width: 23px;
border-radius: 20px;
background: #fff;
}
.section--visual .container {
position: relative;
}
.section--visual .container .tails {
color: #221d0a;
width: 100%;
height: 183px;
background: #ffdb49;
position: absolute;
bottom: -76px;
z-index: 2;
box-shadow: 0 10px 29px rgba(0, 0, 0, 0.18);
display: grid;
grid-template-columns: repeat(5, 1fr);
}
.section--visual .container .tails li {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-right: 1px solid #e9c01c;
}
.section--visual .container .tails li:hover {
background-color: #e9c01c;
}
.section--visual .container .tails li img {
padding: 30px 30px 18px;
}
.section--visual .container .tails li p {
padding: 0 30px 30px;
font-size: 18px;
font-weight: 600;
}
.section--news {
background-color: #f4f4f9;
position: relative;
}
.section--news::before {
content: "";
clear: both;
position: absolute;
height: 100%;
display: block;
margin-left: 600px;
left: 50%;
right: 0;
background-color: #f9fafa;
}
.section .container {
width: 1230px;
margin: 0 auto;
box-sizing: border-box;
.section--news .notice {
display: flex;
height: 100%;
width: 100%;
}
header .container {
.section--news .notice .title {
padding-top: 130px;
}
.section--news .notice .title h1 {
margin-bottom: 29px;
display: inline-block;
padding-top: 9px;
border-top: 1px solid #404040;
}
.section--news .notice .title h2 {
margin-bottom: 21px;
font-size: 24px;
font-weight: 700;
}
.section--news .notice .title p {
width: 200px;
margin-bottom: 30px;
font-size: 14px;
line-height: 1.5em;
opacity: 0.5;
}
.section--news .notice .title a {
border: 1px solid #d2d2d6;
padding: 7px;
background: #f4f4f9;
font-size: 13px;
}
.section--news .notice .title a:hover {
background-color: #d2d2d6;
}
.section--news .notice .content {
border-right: 1px solid #eaeaef;
z-index: 1;
padding-top: 130px;
height: 100%;
padding-bottom: 55px;
}
.section--news .notice .content .news-btn .tab-btn, .section--news .notice .content .news-btn .active {
width: 102px;
font-size: 15px;
position: relative;
margin-bottom: 18px;
border-bottom: 1px solid #eaeaef;
}
.section--news .notice .content .news-btn .tab-btn a, .section--news .notice .content .news-btn .active a {
display: block;
padding: 20px 0 20px 13px;
white-space: nowrap;
}
.section--news .notice .content .news-btn .tab-btn::before, .section--news .notice .content .news-btn .active::before {
content: "";
z-index: -1;
width: 0;
height: 100%;
position: absolute;
top: 0;
background: #41478f;
}
.section--news .notice .content .news-btn .tab-btn:last-child, .section--news .notice .content .news-btn .active:last-child {
margin: 0;
}
.section--news .notice .content .news-btn .tab-btn:active a, .section--news .notice .content .news-btn .active:active a {
color: #fff;
text-indent: 10px;
}
.section--news .notice .content .news-btn .tab-btn:active::before, .section--news .notice .content .news-btn .active:active::before {
content: "";
width: 130px;
box-shadow: 0 7px 18px 0 rgba(0, 0, 0, 0.32);
}
.section--news .notice .news-list-container {
padding: 130px 0 0 30px;
background-color: #f9fafa;
}
.section--news .notice .news-list-container .news-list {
display: flex;
justify-content: space-between;
}
.section--news .notice .news-list-container .news-list .content-news {
color: #000;
padding: 0 30px;
flex: 1;
border-right: 1px solid #eaeaef;
}
.section--news .notice .news-list-container .news-list .content-news:last-child {
border: none;
}
.section--news .notice .news-list-container .news-list .content-news h3 {
height: 32px;
font-size: 18px;
line-height: 1.6em;
letter-spacing: -0.04em;
color: #202020;
}
.section--news .notice .news-list-container .news-list .content-news .date {
margin-top: 44px;
font-size: 15px;
color: #a8a8a8;
}
.section--news .notice .news-list-container .news-list .content-text {
margin-top: 27px;
color: #7e7e7e;
font-size: 15px;
line-height: 1.6em;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: -0.04em;
}
.section--gallery {
background-color: #eaeaef;
}
.section--gallery .container {
height: 485px;
position: relative;
}
.section--gallery .container .gallery-container h2 {
font-size: 26px;
font-weight: 700;
padding-top: 67px;
margin-bottom: 24px;
text-align: center;
}
.section--gallery .container .gallery-container .swiper-wrapper .swiper-slide {
margin-right: 17px;
border: 7px solid #fff;
background: #fff;
width: 295px;
}
.section--gallery .container .gallery-container .swiper-wrapper .swiper-slide:hover {
box-shadow: 0 7px 9px rgba(0, 0, 0, 0.19);
}
.section--gallery .container .gallery-container .swiper-wrapper .swiper-slide .text-container {
padding-left: 17px;
height: 93px;
}
.section--gallery .container .gallery-container .swiper-wrapper .swiper-slide .text-container .gallery-title {
padding-top: 23px;
padding-bottom: 17px;
font-weight: 400;
letter-spacing: -0.04em;
}
.section--gallery .container .gallery-container .swiper-wrapper .swiper-slide .text-container p {
font-size: 14px;
}
.section--gallery .container .gallery-container .btn-box {
display: flex;
justify-content: center;
height: 74px;
}
.section--gallery .container .gallery-container .btn-box a {
margin-top: 16px;
padding: 4px 20px;
background: #fff;
border-right: 1px solid #b5b5b4;
}
.section--gallery .container .gallery-container .btn-box a:hover {
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.35);
}
.section--gallery .container .gallery-container .btn-box a:last-child {
border: none;
}
.section--gallery .container .gallery-container .btn-box .swiper-button-next:after, .section--gallery .container .gallery-container .btn-box .swiper-button-prev:after {
content: "";
}
.section--gallery .container .gallery-container .btn-box .swiper-button-prev.swiper-button-disabled, .section--gallery .container .gallery-container .btn-box .swiper-button-next.swiper-button-disabled {
opacity: 1;
cursor: auto;
pointer-events: none;
}
.section--gallery .container .gallery-container .btn-box .swiper-button-prev, .section--gallery .container .gallery-container .btn-box .swiper-button-next {
position: inherit;
}
.section--cashinfo .cash-question {
display: flex;
margin-bottom: 73px;
letter-spacing: -0.04em;
}
.section--cashinfo .container {
padding: 71px 0 0;
position: relative;
}
.section--cashinfo .container .cash-question strong {
font-size: 22px;
font-weight: 700;
padding-bottom: 40px;
display: block;
}
.section--cashinfo .container .cash-question .always-question, .section--cashinfo .container .cash-question .information {
margin-left: 50px;
}
.section--cashinfo .container .cash-question .always-question p {
font-size: 15px;
}
.section--cashinfo .container .cash-question .always-question p a:hover {
color: #e9c01c;
}
.section--cashinfo .container .cash-question .always-question .question2, .section--cashinfo .container .cash-question .always-question .question3 {
padding-top: 16px;
}
.section--cashinfo .container .cash-question .always-question .question3 {
padding-bottom: 20px;
}
.section--cashinfo .container .cash-question li {
width: 410px;
border-right: 1px solid #e9e9e9;
position: relative;
}
.section--cashinfo .container .cash-question li:last-child {
border: none;
}
.section--cashinfo .container .cash-question .cash-account .bank-name {
color: #7c7366;
}
.section--cashinfo .container .cash-question .cash-account .bankbook-num {
padding-top: 16px;
font-size: 27px;
font-weight: 600;
padding-bottom: 20px;
}
.section--cashinfo .container .cash-question .cash-account .account-name {
font-size: 15px;
padding-bottom: 20px;
color: #6a6a6a;
}
.section--cashinfo .container .information .title-num {
padding-bottom: 14px;
}
.section--cashinfo .container .information .company-number {
font-size: 30px;
color: #1da78b;
padding-bottom: 22px;
display: block;
font-weight: 700;
}
.section--cashinfo .container .information .open-time {
font-size: 15px;
padding-bottom: 12px;
}
.section--cashinfo .container .btn-cash {
padding: 8px 8px;
font-size: 13px;
border: 1px solid #dbdbdb;
}
.section--cashinfo .container .btn-cash:hover {
background: #eaeaef;
}
.section--cashinfo .container .question_img {
width: 65px;
height: 57px;
position: absolute;
bottom: 0;
right: 20px;
}
.section--cashinfo .container .bottom_img {
display: flex;
justify-content: center;
align-items: center;
border-top: 1px solid #eaeaef;
height: 93px;
}
header .logo {
background-image: url("../images/logo.png");
background-repeat: no-repeat;
display: inline-block;
width: 220px;
height: 60px;
text-indent: -9999px;
.section--cashinfo .container .bottom_img li a {
padding: 15px;
}
.section--cashinfo .container .bottom_img li a img {
height: 40px;
}

2
dist/assets/css/style.min.css
File diff suppressed because it is too large
View File

2
dist/assets/css/style.min.css.map
File diff suppressed because it is too large
View File

92
dist/index.html

@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<title>메인 페이지</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/earlyaccess/notosanskr.css">
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.css" />
<link rel="stylesheet" href="./assets/css/style.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="./assets/js/common.min.js"></script>
@ -52,7 +53,7 @@
<ul class="depth-2">
<li><a href="#">정탐사자격시험 안내</a></li>
<li><a href="#">정탐사 운영규정</a></li>
<li><a href="#">민간자격 등록요건<br>및 이행조건</a></li>
<li><a href="#">민간자격 등록요건 <br>및 이행조건</a></li>
</ul>
</li>
@ -111,13 +112,13 @@
<!--S: 컨텐츠 영역-->
<section id="contents">
<div class="body--container">
<!-- VISUAL-->
<section class="section section--visual">
<div class="full-slide swiper-container">
<ul class="swiper-wrapper">
<li class="swiper-slide">
<img src="images/main_bg.png" alt="">
<img src="assets/images/main_bg.png" alt="">
<a href="">
<h2>탐정 <span>[</span>최고위 과정<span>]</span></h2>
<p>여기에 들어갈 세부 내용이 있었으면 좋겠습니다.</p>
@ -125,7 +126,7 @@
</li>
<li class="swiper-slide">
<img src="images/main_bg.png" alt="">
<img src="assets/images/main_bg.png" alt="">
<a href="">
<h2>탐정 <span>[</span>최고위 과정<span>]</span></h2>
<p>여기에 들어갈 세부 내용이 있었으면 좋겠습니다.</p>
@ -133,7 +134,7 @@
</li>
<li class="swiper-slide">
<img src="images/main_bg.png" alt="">
<img src="assets/images/main_bg.png" alt="">
<a href="">
<h2>탐정 <span>[</span>최고위 과정<span>]</span></h2>
<p>여기에 들어갈 세부 내용이 있었으면 좋겠습니다.</p>
@ -148,31 +149,31 @@
<ul class="tails">
<li>
<a href="#">
<img src="./images/apply.png" alt="">
<img src="assets/images/apply.png" alt="">
<p>원서접수</p>
</a>
</li>
<li>
<a href="#">
<img src="./images/pass_notify.png" alt="">
<img src="assets/images/pass_notify.png" alt="">
<p>합격자발표</p>
</a>
</li>
<li>
<a href="#">
<img src="./images/test_sc.png" alt="">
<img src="assets/images/test_sc.png" alt="">
<p>시험공고</p>
</a>
</li>
<li>
<a href="#">
<img src="./images/top_test.png" alt="">
<img src="assets/images/top_test.png" alt="">
<p>최고위과정</p>
</a>
</li>
<li>
<a href="#">
<img src="images/location_info.png" alt="">
<img src="assets/images/location_info.png" alt="">
<p>고사장안내</p>
</a>
</li>
@ -193,9 +194,9 @@
<div class="content">
<ul class="news-btn">
<li class="tab-btn1 border_bottom"><a href="">공지사항</a></li>
<li class="tab-btn2 border_bottom"><a href="">탐정관련기고</a></li>
<li class="tab-btn3 border_bottom"><a href="">보도자료</a></li>
<li class="tab-btn border_bottom active"><a href="javascript:;">공지사항</a></li>
<li class="tab-btn border_bottom"><a href="javascript:;">탐정관련기고</a></li>
<li class="tab-btn border_bottom"><a href="javascript:;">보도자료</a></li>
</ul>
</div>
@ -232,7 +233,7 @@
<ul class="gallery-items swiper-wrapper">
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_1.png" alt="사진1">
<img src="assets/images/gallery_1.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">2018년 11월 10일 탐정협회 행사</h3>
<p class="">2019.08.03</p>
@ -242,7 +243,7 @@
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_2.png" alt="사진1">
<img src="assets/images/gallery_2.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">대한공인탐정연합회,창립 기념 행사</h3>
<p>2002.03.03</p>
@ -252,7 +253,7 @@
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_3.png" alt="사진1">
<img src="assets/images/gallery_3.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">11월10일 탐정협회 행사</h3>
<p>2019.08.11</p>
@ -262,7 +263,7 @@
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_4.png" alt="사진1">
<img src="assets/images/gallery_4.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">10월 139일 탐정협회 행사</h3>
<p>2019.08.30</p>
@ -272,7 +273,7 @@
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_1.png" alt="사진1">
<img src="assets/images/gallery_1.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">gdgd</h3>
<p>2019.08.30</p>
@ -282,8 +283,8 @@
</ul>
<div class="btn-box ">
<a href="#" class="swiper-button-prev"><img src="images/gallery_btn-left.png" alt=""></a>
<a href="" class="swiper-button-next"><img src="images/gallery_btn-right.png" alt=""></a>
<a href="#" class="swiper-button-prev"><img src="assets/images/gallery_btn-left.png" alt=""></a>
<a href="" class="swiper-button-next"><img src="assets/images/gallery_btn-right.png" alt=""></a>
</div>
</div>
</div>
@ -296,11 +297,11 @@
<li class="cash-account">
<strong>입금계좌 안내</strong>
<!-- span <img src="images/kb_bank.png" alt="kb은행">-->
<p class="bank-name"><img src="images/kb_logo.png" alt="">KB국민은행</p>
<p class="bank-name"><img src="assets/images/kb_logo.png" alt="">KB국민은행</p>
<p class="bankbook-num">1002-345-302828</p>
<p class="account-name">예금주:홍길동</p>
<a href="#" class="btn-cash">실시간계좌이체</a>
<img src="images/bankbook.png" alt="" class="question_img">
<img src="assets/images/bankbook.png" alt="" class="question_img">
</li>
<li class="always-question">
@ -309,7 +310,7 @@
<p class="question2"><a href="">회원가입했는데 로그인이 되지 않습니다</a></p>
<p class="question3"><a href="">탐정이 되려면 어떻게 해야하나요</a></p>
<a href="#" class="btn-cash">시험관련문의</a>
<img src="images/question.png" alt="" class="question_img">
<img src="assets/images/question.png" alt="" class="question_img">
</li>
<li class="information">
@ -318,42 +319,68 @@
<span class="company-number">1588-2020</span>
<p class="open-time">월-토:9:00~18:00,일/공휴일 휴무</p>
<p class="lunch">점심시간:12:00~13:00</p>
<img src="images/call.png" alt="" class="question_img">
<img src="assets/images/call.png" alt="" class="question_img">
</li>
</ul>
<div class="img-container">
<ul class="bottom_img">
<li>
<a href="#"><img src="images/police.png" alt=""></a>
<a href="#"><img src="assets/images/police.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/krivet.png" alt=""></a>
<a href="#"><img src="assets/images/krivet.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/work1.png" alt=""></a>
<a href="#"><img src="assets/images/work1.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/work2.png" alt=""></a>
<a href="#"><img src="assets/images/work2.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/seogank_uni.png" alt=""></a>
<a href="#"><img src="assets/images/seogank_uni.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/seowongak.png" alt=""></a>
<a href="#"><img src="assets/images/seowongak.png" alt=""></a>
</li>
</ul>
</div>
</div>
</section>
</div>
<script src="https://unpkg.com/swiper/swiper-bundle.js"></script>
<script>
const slide = new Swiper('#test-slide', {
// 다양한 옵션 설정,
// 아래에서 설명하는 옵션들은 해당 위치에 들어갑니다!!
slidesPerView : 'auto',
loopAdditionalSlides : 1,
navigation: { // 버튼 사용자 지정
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
freeMode : false
})
</script>
<script>
const main_slide = new Swiper('.full-slide', {
// 다양한 옵션 설정,
// 아래에서 설명하는 옵션들은 해당 위치에 들어갑니다!!
slidesPerView : 'auto',
spaceBetween: 30,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
})
</script>
</section>
@ -389,10 +416,11 @@
<li>전자우편</li>
</ul>
<p>Copyright@2019대한텀정연합회.All Right Reserved</p>
<img src="images/footer_logo.png" alt="">
<img src="../images/footer_logo.png" alt="">
</div>
</div>
</footer>
<!--E: 푸터 영역-->
</body>
</html>

4
src/html/include/footer.html

@ -1,3 +1,4 @@
</section>
<!--E: 컨텐츠 영역-->
@ -31,8 +32,9 @@
<li>전자우편</li>
</ul>
<p>Copyright@2019대한텀정연합회.All Right Reserved</p>
<img src="images/footer_logo.png" alt="">
<img src="../images/footer_logo.png" alt="">
</div>
</div>
</footer>
<!--E: 푸터 영역-->

2
src/html/include/header.html

@ -40,7 +40,7 @@
<ul class="depth-2">
<li><a href="#">정탐사자격시험 안내</a></li>
<li><a href="#">정탐사 운영규정</a></li>
<li><a href="#">민간자격 등록요건<br>및 이행조건</a></li>
<li><a href="#">민간자격 등록요건 <br>및 이행조건</a></li>
</ul>
</li>

1
src/html/include/meta.html

@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<title>@@pageTitle</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/earlyaccess/notosanskr.css">
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.css" />
<link rel="stylesheet" href="@@ROOT/assets/css/style.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="@@ROOT/assets/js/common.min.js"></script>

85
src/html/index.html

@ -1,12 +1,12 @@
@@include("./include/meta.html", {"pageTitle" : "메인 페이지"})
@@include("./include/header.html")
<div class="body--container">
<!-- VISUAL-->
<section class="section section--visual">
<div class="full-slide swiper-container">
<ul class="swiper-wrapper">
<li class="swiper-slide">
<img src="images/main_bg.png" alt="">
<img src="assets/images/main_bg.png" alt="">
<a href="">
<h2>탐정 <span>[</span>최고위 과정<span>]</span></h2>
<p>여기에 들어갈 세부 내용이 있었으면 좋겠습니다.</p>
@ -14,7 +14,7 @@
</li>
<li class="swiper-slide">
<img src="images/main_bg.png" alt="">
<img src="assets/images/main_bg.png" alt="">
<a href="">
<h2>탐정 <span>[</span>최고위 과정<span>]</span></h2>
<p>여기에 들어갈 세부 내용이 있었으면 좋겠습니다.</p>
@ -22,7 +22,7 @@
</li>
<li class="swiper-slide">
<img src="images/main_bg.png" alt="">
<img src="assets/images/main_bg.png" alt="">
<a href="">
<h2>탐정 <span>[</span>최고위 과정<span>]</span></h2>
<p>여기에 들어갈 세부 내용이 있었으면 좋겠습니다.</p>
@ -37,31 +37,31 @@
<ul class="tails">
<li>
<a href="#">
<img src="./images/apply.png" alt="">
<img src="assets/images/apply.png" alt="">
<p>원서접수</p>
</a>
</li>
<li>
<a href="#">
<img src="./images/pass_notify.png" alt="">
<img src="assets/images/pass_notify.png" alt="">
<p>합격자발표</p>
</a>
</li>
<li>
<a href="#">
<img src="./images/test_sc.png" alt="">
<img src="assets/images/test_sc.png" alt="">
<p>시험공고</p>
</a>
</li>
<li>
<a href="#">
<img src="./images/top_test.png" alt="">
<img src="assets/images/top_test.png" alt="">
<p>최고위과정</p>
</a>
</li>
<li>
<a href="#">
<img src="images/location_info.png" alt="">
<img src="assets/images/location_info.png" alt="">
<p>고사장안내</p>
</a>
</li>
@ -82,9 +82,9 @@
<div class="content">
<ul class="news-btn">
<li class="tab-btn1 border_bottom"><a href="">공지사항</a></li>
<li class="tab-btn2 border_bottom"><a href="">탐정관련기고</a></li>
<li class="tab-btn3 border_bottom"><a href="">보도자료</a></li>
<li class="tab-btn border_bottom active"><a href="javascript:;">공지사항</a></li>
<li class="tab-btn border_bottom"><a href="javascript:;">탐정관련기고</a></li>
<li class="tab-btn border_bottom"><a href="javascript:;">보도자료</a></li>
</ul>
</div>
@ -121,7 +121,7 @@
<ul class="gallery-items swiper-wrapper">
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_1.png" alt="사진1">
<img src="assets/images/gallery_1.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">2018년 11월 10일 탐정협회 행사</h3>
<p class="">2019.08.03</p>
@ -131,7 +131,7 @@
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_2.png" alt="사진1">
<img src="assets/images/gallery_2.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">대한공인탐정연합회,창립 기념 행사</h3>
<p>2002.03.03</p>
@ -141,7 +141,7 @@
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_3.png" alt="사진1">
<img src="assets/images/gallery_3.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">11월10일 탐정협회 행사</h3>
<p>2019.08.11</p>
@ -151,7 +151,7 @@
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_4.png" alt="사진1">
<img src="assets/images/gallery_4.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">10월 139일 탐정협회 행사</h3>
<p>2019.08.30</p>
@ -161,7 +161,7 @@
<li class="swiper-slide">
<a href="#">
<img src="./images/gallery_1.png" alt="사진1">
<img src="assets/images/gallery_1.png" alt="사진1">
<div class="text-container">
<h3 class="gallery-title">gdgd</h3>
<p>2019.08.30</p>
@ -171,8 +171,8 @@
</ul>
<div class="btn-box ">
<a href="#" class="swiper-button-prev"><img src="images/gallery_btn-left.png" alt=""></a>
<a href="" class="swiper-button-next"><img src="images/gallery_btn-right.png" alt=""></a>
<a href="#" class="swiper-button-prev"><img src="assets/images/gallery_btn-left.png" alt=""></a>
<a href="" class="swiper-button-next"><img src="assets/images/gallery_btn-right.png" alt=""></a>
</div>
</div>
</div>
@ -185,11 +185,11 @@
<li class="cash-account">
<strong>입금계좌 안내</strong>
<!-- span <img src="images/kb_bank.png" alt="kb은행">-->
<p class="bank-name"><img src="images/kb_logo.png" alt="">KB국민은행</p>
<p class="bank-name"><img src="assets/images/kb_logo.png" alt="">KB국민은행</p>
<p class="bankbook-num">1002-345-302828</p>
<p class="account-name">예금주:홍길동</p>
<a href="#" class="btn-cash">실시간계좌이체</a>
<img src="images/bankbook.png" alt="" class="question_img">
<img src="assets/images/bankbook.png" alt="" class="question_img">
</li>
<li class="always-question">
@ -198,7 +198,7 @@
<p class="question2"><a href="">회원가입했는데 로그인이 되지 않습니다</a></p>
<p class="question3"><a href="">탐정이 되려면 어떻게 해야하나요</a></p>
<a href="#" class="btn-cash">시험관련문의</a>
<img src="images/question.png" alt="" class="question_img">
<img src="assets/images/question.png" alt="" class="question_img">
</li>
<li class="information">
@ -207,43 +207,68 @@
<span class="company-number">1588-2020</span>
<p class="open-time">월-토:9:00~18:00,일/공휴일 휴무</p>
<p class="lunch">점심시간:12:00~13:00</p>
<img src="images/call.png" alt="" class="question_img">
<img src="assets/images/call.png" alt="" class="question_img">
</li>
</ul>
<div class="img-container">
<ul class="bottom_img">
<li>
<a href="#"><img src="images/police.png" alt=""></a>
<a href="#"><img src="assets/images/police.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/krivet.png" alt=""></a>
<a href="#"><img src="assets/images/krivet.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/work1.png" alt=""></a>
<a href="#"><img src="assets/images/work1.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/work2.png" alt=""></a>
<a href="#"><img src="assets/images/work2.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/seogank_uni.png" alt=""></a>
<a href="#"><img src="assets/images/seogank_uni.png" alt=""></a>
</li>
<li>
<a href="#"><img src="images/seowongak.png" alt=""></a>
<a href="#"><img src="assets/images/seowongak.png" alt=""></a>
</li>
</ul>
</div>
</div>
</section>
</div>
<script src="https://unpkg.com/swiper/swiper-bundle.js"></script>
<script>
const slide = new Swiper('#test-slide', {
// 다양한 옵션 설정,
// 아래에서 설명하는 옵션들은 해당 위치에 들어갑니다!!
slidesPerView : 'auto',
loopAdditionalSlides : 1,
navigation: { // 버튼 사용자 지정
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
freeMode : false
})
</script>
<script>
const main_slide = new Swiper('.full-slide', {
// 다양한 옵션 설정,
// 아래에서 설명하는 옵션들은 해당 위치에 들어갑니다!!
slidesPerView : 'auto',
spaceBetween: 30,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
})
</script>
@@include("./include/footer.html")
@@include("./include/tail.html")

187
src/scss/common/_layout.scss

@ -1,3 +1,190 @@
/***************************************************************************************
* 레이아웃
****************************************************************************************/
.clearfix::after {
content: "";
clear: both;
display: block;
}
//section container 중앙정렬 가운데모음
.section {
.container {
width: 1230px;
margin: 0 auto;
box-sizing: border-box;
}
}
//헤더 영역 시작
header {
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
background-image: url("../images/logo.png");
background-repeat: no-repeat;
display: inline-block;
width: 220px;
height: 60px;
text-indent: -9999px;
}
.main-menu.depth-1 {
display: flex;
align-items: center;
height: 100%;
.depth-1-item {
position: relative;
white-space: nowrap;
letter-spacing: -0.04em;
a {
display: inline-block;
font-size: 18px;
padding: 25px;
height: 100%;
}
&:hover {
.first-target {
color: #8b7004;
}
.depth-2 {
display: block;
z-index: 2;
}
}
&.item-list:hover {
background-image: url("../images/header_menudown.png");
background-repeat: no-repeat;
background-position: 100% 50%
}
.depth-2 {
display: none;
position: absolute;
top: 100%;
left: -20px;
background-color: #ffdb49;
white-space: nowrap;
width: 178px;
li {
background-image: url("../images/header_hover_right.png");
background-repeat: no-repeat;
background-position: 90% 50%;
&:hover {background-color: #ffd116;}
a {
display: block;
padding: 15px 0 15px 17px;
font-size: 15px;
}
}
}
}
}
.btn {
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #a7a7a7;
border-radius: 20px;
font-size: 13px;
color: #808080;
padding: 5px 14px;
display: block;
opacity: .8;
.sign-in{padding-right: 11px; border-right: 1px solid #d6d6d6;}
.sign-up{padding-left: 10px}
}
}
//헤더영역
//푸터영역 시작
.footer_nav {
.container {
background-color: #2b2b2b;
.footer_list {
text-align: center;
width: 1230px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-around;
li {
padding: 25px;
border-right: 1px solid #141414;
&:first-child {
border-left: 1px solid #141414;
}
a {
color: #fff
}
}
}
}
.footer_info {
background-color: #141414;
.footer_container {
width: 1230px;
margin: 0 auto;
font-size: 14px;
color: #858585;
padding: 40px 0 50px 0;
position: relative;
.company_address {
display: flex;
padding-bottom: 14px;
li {
padding: 0 13px;
border-right: 1px solid #343434;
&:first-child {
padding-left: 0;
}
&:last-child {
border: none;
}
}
}
.business_num {
display: flex;
padding-bottom: 25px;
li {
padding: 0 13px;
border-right: 1px solid #343434;
&:first-child {
padding-left: 0;
}
&:last-child {
border: none;
}
}
}
}
}
img {
position: absolute;
bottom: 20%;
right: 0;
}
}
//푸터영역

479
src/scss/pages/main.scss

@ -1,37 +1,468 @@
/**********************************************************************************************************************
* 메인페이지
***********************************************************************************************************************/
.clearfix::after {
content: "";
clear: both;
display: block;
}
//section container 중앙정렬 가운데모음
.section {
//비주얼단
.section--visual {
position: relative;
.swiper-container {
.swiper-wrapper {
.swiper-slide {
a {
h2 {
position: absolute;
left: 40%;
top: 43%;
font-weight: 400;
transform: translate(-40% -43%);
font-size: 46px;
color: #fff;
span {
color: #ffdb49;
}
}
p {
padding-top: 28px;
color: #babcc0;
font-size: 22px;
letter-spacing: -0.04em;
position: absolute;
left: 38%;
top: 50%;
transform: translate(-38% -50%);
}
}
img {
width: auto;
height: 675px;
position: center;
left: 0;
top: 0;
}
}
}
}
.swiper-pagination-fraction, .swiper-pagination-custom, .swiper-container-horizontal {
.swiper-pagination-bullets {
bottom: 130px;
left: 0;
width: 100%;
}
}
.swiper-pagination {
.swiper-pagination-bullet {
width: 8px;
height: 8px;
display: inline-block;
border-radius: 50%;
background: #636568;
opacity: 0.2;
}
.swiper-pagination-bullet-active{
opacity: 1;
width: 23px;
border-radius: 20px;
background: #fff;
}
}
.container {
width: 1230px;
margin: 0 auto;
box-sizing: border-box;
position: relative;
.tails {
color: #221d0a;
width: 100%;
height: 183px;
background: #ffdb49;
position: absolute;
bottom: -76px;
z-index: 2;
box-shadow: 0 10px 29px rgba(0,0,0, .18);
display: grid;
grid-template-columns: repeat(5,1fr);
li {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-right: 1px solid #e9c01c;
&:hover {background-color: #e9c01c;}
img {padding: 30px 30px 18px}
p {
padding: 0 30px 30px;
font-size: 18px;
font-weight: 600;
}
}
}
}
}
//section news
.section--news {
background-color: #f4f4f9;
position: relative;
&::before {
content: "";
position: absolute;
height: 100%;
display: block;
margin-left: 600px;
left: 50%;
right: 0;
background-color: #f9fafa;
}
.notice {
display: flex;
height: 100%;
width: 100%;
.title {
padding-top: 130px;
h1 {
margin-bottom: 29px;
display: inline-block;
padding-top: 9px;
border-top: 1px solid #404040;
}
h2 {
margin-bottom: 21px;
font-size: 24px;
font-weight: 700;
}
p {
width: 200px;
margin-bottom: 30px;
font-size: 14px;
line-height: 1.5em;
opacity: 0.5;
}
a {
border: 1px solid #d2d2d6;
padding: 7px;
background: #f4f4f9;
font-size: 13px;
&:hover {
background-color: #d2d2d6
}
}
}
.content {
border-right: 1px solid #eaeaef;
z-index: 1;
padding-top: 130px;
height: 100%;
padding-bottom: 55px;
.news-btn {
.tab-btn, .active {
width: 102px;
font-size: 15px;
position: relative;
margin-bottom: 18px;
a {
display: block;
padding: 20px 0 20px 13px;
white-space: nowrap;
}
&::before {
content: "";
z-index: -1;
width: 0;
height: 100%;
position: absolute;
top: 0;
background: #41478f;
}
&:last-child {
margin: 0;
}
&:active {
a {
color: #fff;
text-indent: 10px;
}
&::before {
content: "";
width: 130px;
box-shadow: 0 7px 18px 0 rgba(0, 0, 0, 0.32);
}
}
border-bottom: 1px solid #eaeaef;
}
}
}
.news-list-container {
padding: 130px 0 0 30px;
background-color: #f9fafa;
.news-list {
display: flex;
justify-content: space-between;
.content-news {
color: #000;
padding: 0 30px;
flex: 1;
border-right: 1px solid #eaeaef;
&:last-child {
border: none;
}
h3 {
height: 32px;
font-size: 18px;
line-height: 1.6em;
letter-spacing: -0.04em;
color: #202020;
}
.date {
margin-top: 44px;
font-size: 15px;
color: #a8a8a8;
}
}
.content-text {
margin-top: 27px;
color: #7e7e7e;
font-size: 15px;
line-height: 1.6em;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: -0.04em;
}
}
}
}
}
//헤더 정렬
header {
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
background-image: url("../images/logo.png");
background-repeat: no-repeat;
display: inline-block;
width: 220px;
height: 60px;
text-indent: -9999px;
//SECTION--GALLERY
.section--gallery {
background-color: #eaeaef;
.container {
height: 485px;
position: relative;
.gallery-container {
h2 {
font-size: 26px;
font-weight: 700;
padding-top: 67px;
margin-bottom: 24px;
text-align: center;
}
.swiper-wrapper {
.swiper-slide {
margin-right: 17px;
border: 7px solid #fff;
background: #fff;
&:hover {
box-shadow: 0 7px 9px rgba(0, 0, 0, .19);
}
.text-container {
padding-left: 17px;
height: 93px;
.gallery-title {
padding-top: 23px;
padding-bottom: 17px;
font-weight: 400;
letter-spacing: -0.04em;
}
p {
font-size: 14px;
}
}
width: 295px;
}
}
.btn-box {
display: flex;
justify-content: center;
height: 74px;
a {
margin-top: 16px;
padding: 4px 20px;
background: #fff;
border-right: 1px solid #b5b5b4;
&:hover {
box-shadow: 0 3px 7px rgba(0, 0, 0, .35);
}
&:last-child {
border: none;
}
}
.swiper-button-next:after, .swiper-button-prev:after {
content: "";
}
.swiper-button-prev.swiper-button-disabled, .swiper-button-next.swiper-button-disabled {
opacity: 1;
cursor: auto;
pointer-events: none;
}
.swiper-button-prev, .swiper-button-next {
position: inherit;
}
}
}
}
}
//SECTION--CASHINFO
.section--cashinfo {
.cash-question {
display: flex;
margin-bottom: 73px;
letter-spacing: -0.04em;
}
.container {
padding: 71px 0 0;
position: relative;
.cash-question {
strong {
font-size: 22px;
font-weight: 700;
padding-bottom: 40px;
display: block;
}
.always-question, .information {
margin-left: 50px;
}
.always-question {
p {
a:hover {
color: #e9c01c;
}
font-size: 15px;
}
.question2, .question3 {
padding-top: 16px
}
.question3 {
padding-bottom: 20px;
}
}
li {
width: 410px;
border-right: 1px solid #e9e9e9;
position: relative;
&:last-child {
border: none
}
}
.cash-account {
.bank-name {
color: #7c7366;
}
.bankbook-num {
padding-top: 16px;
font-size: 27px;
font-weight: 600;
padding-bottom: 20px;
}
.account-name {
font-size: 15px;
padding-bottom: 20px;
color: #6a6a6a;
}
}
}
.information {
.title-num {
padding-bottom: 14px
}
.company-number {
font-size: 30px;
color: #1da78b;
padding-bottom: 22px;
display: block;
font-weight: 700;
}
.open-time {
font-size: 15px;
padding-bottom: 12px;
}
}
.btn-cash {
padding: 8px 8px;
font-size: 13px;
border: 1px solid #dbdbdb;
&:hover {
background: #eaeaef;
}
}
.question_img {
width: 65px;
height: 57px;
position: absolute;
bottom: 0;
right: 20px;
}
.bottom_img {
display: flex;
justify-content: center;
align-items: center;
border-top: 1px solid #eaeaef;
height: 93px;
li {
a {
padding: 15px;
img {
height: 40px
}
}
}
}
}
}
Loading…
Cancel
Save