dbnt.co.kr2019/css/contact.css

168 lines
5.2 KiB
CSS

.subBanner {
width: 100%;
height: 200px;
background: url(../images/contact_b.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: 100% 50%; }
.contactContainer {
position: relative;
width: 100%; }
.contactContainer > .contactInfo {
position: absolute;
top: 250px;
right: 20px;
width: 350px;
height: 330px;
background-color: #595959;
z-index: 5000; }
.contactContainer > .contactInfo > ul {
padding: 20px; }
.contactContainer > .contactInfo > ul > li {
width: 100%;
margin: 20px 0;
color: #fff;
font-size: 13px; }
.contactContainer > .contactInfo > ul > li > a {
color: #fff; }
.contactContainer > .contactInfo > ul > li:nth-child(1) {
font-size: 20px;
font-weight: 600; }
.contactContainer > .contactInfo > ul > li:nth-child(2) {
line-height: 1.5em;
font-size: 14px; }
.contactContainer > .contactInfo > ul > li:nth-child(3) {
width: 80%;
height: 35px;
padding-left: 45px;
line-height: 35px;
background: url(../images/email_ico.png);
border-spacing: 0 0;
background-size: contain;
background-repeat: no-repeat; }
.contactContainer > .contactInfo > ul > li:nth-child(4) {
width: 80%;
height: 35px;
padding-left: 45px;
line-height: 35px;
background: url(../images/tel_ico.png);
border-spacing: 0 0;
background-size: contain;
background-repeat: no-repeat; }
.contactContainer > .contactInfo > ul > li:nth-child(5) {
width: 80%;
height: 35px;
padding-left: 45px;
line-height: 35px;
background: url(../images/print_ico.png);
border-spacing: 0 0;
background-size: contain;
background-repeat: no-repeat; }
.contactContainer > p {
position: relative;
width: 1200px;
margin: 80px auto 0;
text-align: center;
font-size: 23px;
font-weight: 600;
color: #000;
text-transform: uppercase; }
.contactContainer > p:after {
position: absolute;
bottom: -25px;
left: 50%;
width: 100px;
margin-left: -50px;
height: 5px;
background-color: #000;
content: ""; }
.contactContainer > .mapContainer {
margin-top: 100px; }
@media screen and (max-width: 768px) {
.subBanner {
width: 100%;
height: 250px;
background: url(../images/contact_1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: 100% 50%; }
.contactContainer {
position: relative;
width: 100%; }
.contactContainer > .contactInfo {
position: inherit;
top: 100px;
right: 0px;
width: 100%;
height: 330px;
background-color: #595959;
z-index: 5000; }
.contactContainer > .contactInfo > ul {
padding: 20px; }
.contactContainer > .contactInfo > ul > li {
margin: 20px 0;
color: #fff; }
.contactContainer > .contactInfo > ul > li > a {
color: #fff; }
.contactContainer > .contactInfo > ul > li:nth-child(1) {
font-size: 25px;
font-weight: 600; }
.contactContainer > .contactInfo > ul > li:nth-child(2) {
line-height: 1.5em; }
.contactContainer > .contactInfo > ul > li:nth-child(3) {
width: 35px;
height: 35px;
padding-left: 45px;
line-height: 35px;
background: url(../images/email_ico.png);
border-spacing: 0 0;
background-size: contain;
background-repeat: no-repeat; }
.contactContainer > .contactInfo > ul > li:nth-child(4) {
width: 35px;
height: 35px;
padding-left: 45px;
line-height: 35px;
background: url(../images/tel_ico.png);
border-spacing: 0 0;
background-size: contain;
background-repeat: no-repeat; }
.contactContainer > .contactInfo > ul > li:nth-child(5) {
width: 35px;
height: 35px;
padding-left: 45px;
line-height: 35px;
background: url(../images/print_ico.png);
border-spacing: 0 0;
background-size: contain;
background-repeat: no-repeat; }
.contactContainer > p {
position: relative;
width: 100%;
margin: 80px auto 0;
text-align: center;
font-size: 23px;
font-weight: 600;
color: #000;
text-transform: uppercase; }
.contactContainer > p:after {
position: absolute;
bottom: -25px;
left: 50%;
width: 100px;
margin-left: -50px;
height: 3px;
background-color: #000;
content: ""; }
.contactContainer > .mapContainer {
margin-top: 100px; }
.mapContainer {
height: 400px;
overflow: hidden; } }
/*# sourceMappingURL=contact.css.map */