사용자: gnb 넓이 고정

This commit is contained in:
whitedot
2013-02-26 11:47:48 +09:00
parent 1cc081d2ca
commit 2bae1f2a90
2 changed files with 5 additions and 3 deletions

View File

@ -74,8 +74,8 @@ a:active {color:#000;text-decoration:underline}
.gnb_js {padding-left:1px;border-bottom:1px solid #c3c7c5;background:#fff}
.gnb_js ul {zoom:1}
.gnb_js ul:after {display:block;visibility:hidden;clear:both;content:""}
.gnb_js .gnb_1depth {position:relative;float:left;margin-left:-1px}
.gnb_js .gnb_1depth a {display:inline-block;float:none;padding:0 15px;height:35px;border:1px solid #e0e5e9;border-top:0;border-bottom:0;color:#000;font-size:1.1em;font-weight:bold;text-align:center;letter-spacing:-0.1em;line-height:2.1em}
.gnb_js .gnb_1depth {position:relative;float:left;margin-left:-1px;width:80px;border:1px solid #e0e5e9;border-top:0;border-bottom:0}
.gnb_js .gnb_1depth a {display:inline-block;float:none;width:100%;height:35px;color:#000;font-size:1.1em;font-weight:bold;text-align:center;letter-spacing:-0.1em;line-height:2.1em}
.gnb_js .gnb_1depth_air a {float:none;background:#f7f7f2;color:#000}
.gnb_js .gnb_1depth_on a {float:none;background:#fff;color:#000}
.gnb_js .gnb_1depth a:focus,
@ -83,7 +83,7 @@ a:active {color:#000;text-decoration:underline}
.gnb_js .gnb_1depth a:active {text-decoration:none}
.gnb_js .gnb_1depth ul {width:0 !important;height:0 !important;overflow:hidden}
.gnb_js .gnb_1depth li {float:none}
.gnb_js .gnb_1depth_over ul {position:absolute;top:35px;left:0;width:181px !important;height:auto !important;border:1px solid #c3c7c5;border-top:0}
.gnb_js .gnb_1depth_over ul {position:absolute;top:35px;left:-1px;width:181px !important;height:auto !important;border:1px solid #c3c7c5;border-top:0}
.gnb_js .gnb_2depth a {display:inline-block;margin:0;padding:5px 10px;width:161px;height:25px;border:0;background:#fff;color:#000;font-weight:normal;text-align:left;line-height:2.1em !important}
/* 중간 레이아웃 */

View File

@ -9,6 +9,7 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
label, input, select, img {vertical-align:middle}
input {margin:0;padding:0;font-family:"dotum"}
input[type=text], input[type=password], input[type=submit], input[type=image] {border-radius:0} /* 모바일에서만 사용 */
p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
@ -35,6 +36,7 @@ pre {overflow-x:scroll;font-size:1.1em}
#snb li {border-right:1px solid #ddd}
#snb li:nth-last-of-type(1) {border-right:0 !important}
#snb a {display:inline-block;padding:5px 10px;color:#000;text-decoration:none}
#snb img {display:none}
#gnb {background:#151515;zoom:1}
#gnb:after {display:block;visibility:hidden;clear:both;content:""}