diff --git a/bbs/new.php b/bbs/new.php index c19b3b53a..2d23a6ea7 100644 --- a/bbs/new.php +++ b/bbs/new.php @@ -1,7 +1,7 @@ include_once('./_common.php'); -$g4['title'] = '최근 게시물'; +$g4['title'] = '새글'; include_once('./_head.php'); $sql_common = " from {$g4['board_new_table']} a, {$g4['board_table']} b, {$g4['group_table']} c where a.bo_table = b.bo_table and b.gr_id = c.gr_id and b.bo_use_search = 1 "; diff --git a/css/admin.css b/css/admin.css index 03dc868ea..61715a14b 100644 --- a/css/admin.css +++ b/css/admin.css @@ -28,7 +28,7 @@ h2 {font-size:1.2em} /* 화면낭독기 사용자용 */ .sound_only {display:inline-block !important;margin:0 !important;padding:0 !important;width:0 !important;height:0 !important;border:0 !important;overflow:hidden !important} /* 본문 바로가기 */ -#to_content a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} +#to_content a {z-index:100000;position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden} #to_content a:focus, #to_content a:active {width:100%;height:70px;background:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.1em} @@ -39,7 +39,7 @@ h2 {font-size:1.2em} /* 레이아웃 */ #hd {z-index:10;min-width:1000px;background:url('../adm/img/hd_bg.jpg') #383b3f top left repeat-x} #hd h1, -#hd h2 {margin:0;padding:0;width:1px;height:1px;border:0;overflow:hidden} +#hd h2 {margin:0;padding:0;font-size:0;line-height:0;border:0;overflow:hidden} #hd_wrap {position:relative;margin:0 auto;width:1000px} #logo {position:relative;height:70px} #logo img {position:absolute;top:15px;left:0} @@ -148,7 +148,7 @@ textarea {width:90%} select {border:1px solid #ced9de} button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer} fieldset {margin-bottom:20px} -legend {margin:0;padding:0;width:1px;height:1px;border:0;overflow:hidden} +legend {margin:0;padding:0;font-size:0;line-height:0;border:0;overflow:hidden} fieldset span {display:block;margin-bottom:10px} fieldset p {color:#4c5f67} fieldset button, .fieldset_submit {padding:0 15px;height:23px;border:0;background:#74868b;color:#fff;font-size:1em;line-height:2.1em;vertical-align:middle;cursor:pointer} diff --git a/css/default.css b/css/default.css index 5628eec39..8371cff40 100644 --- a/css/default.css +++ b/css/default.css @@ -19,9 +19,9 @@ a:focus, a:active {color:#000;text-decoration:underline} /* 화면낭독기 사용자용 */ -.sound_only {display:inline-block !important;margin:0 !important;padding:0 !important;width:0 !important;height:0 !important;border:0 !important;overflow:hidden !important} +.sound_only {display:inline-block !important;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important} /* 본문 바로가기 */ -#to_content a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} +#to_content a {z-index:100000;position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden} #to_content a:focus, #to_content a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em} @@ -34,14 +34,14 @@ a:active {color:#000;text-decoration:underline} /* 상단 레이아웃 */ #hd {border-top:3px solid #151515;border-bottom:1px solid #e7f1ed;background:#fff} -#hd h1 {width:1px;height:1px;overflow:hidden} +#hd h1 {font-size:0;line-height:0;overflow:hidden} #hd_wrapper {position:relative;margin:0 auto;width:980px} #logo {padding:17px 0 17px 0} #logo span {display:inline-block;margin-left:10px;color:#109ff1;font-family:"verdana";vertical-align:middle} #schall {position:absolute;top:22px;left:70px;margin:0;padding:0;letter-spacing:-5px} -#schall legend {width:1px;height:1px;overflow:hidden} +#schall legend {font-size:0;line-height:0;overflow:hidden} #schall_stx {padding-left:5px;width:156px;height:24px;border:1px solid #aaa;border-right:0;background:#f7f7f2;line-height:1.9em !important;line-height:1.6em} #schall_submit {border:1px solid #aaa;border-left:0} @@ -56,7 +56,7 @@ a:active {color:#000;text-decoration:underline} /* gnb js off */ #gnb {background:#f0f4f8} -#gnb h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden} +#gnb h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden} #gnb_ul {z-index:10;margin:0 auto;padding:0;width:980px} .gnb_1depth {position:relative;margin-top:-1px;margin-left:-1px;zoom:1} .gnb_1depth:after {display:block;visibility:hidden;clear:both;content:""} @@ -103,7 +103,7 @@ a:active {color:#000;text-decoration:underline} /* 하단 레이아웃 */ #ft {background:#484848} -#ft h1 {width:1px;height:1px;overflow:hidden} +#ft h1 {font-size:0;line-height:0;overflow:hidden} #popular {background:#515151} #popular div {margin:0 auto;width:980px;zoom:1} @@ -259,7 +259,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; /* 아웃로그인 스킨 */ .ol {position:relative;padding:15px 15px 14px 14px} -.ol h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden} +.ol h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden} .ol ul {margin:0;padding:0;list-style:none} #ol_before {} @@ -315,7 +315,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; /* 쪽지 */ #memo_view section {margin:0 auto 20px;padding:20px;width:87%} -#memo_view section h2 {width:1px;height:1px;overflow:hidden} +#memo_view section h2 {font-size:0;line-height:0;overflow:hidden} #memo_view_ul {margin:0;padding:0 0 10px;border-bottom:1px solid #eee;list-style:none} .memo_view_li {position:relative;padding:5px 0} .memo_view_subj {display:inline-block;width:65px} @@ -385,7 +385,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; #poll_result_cmt h2 {text-align:center} #poll_result_cmt h3 {margin:0 auto 10px;padding-top:15px;width:93%} #poll_result_cmt article {margin:0 18px 15px;border-bottom:1px solid #eee} -#poll_result_cmt h1 {margin:0;padding:0;width:1px;height:1px;overflow:hidden} +#poll_result_cmt h1 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden} .poll_datetime {display:inline-block;margin-left:10px} #poll_result_cmt p {padding:3px 0} #poll_result_cmt fieldset {margin-bottom:0;text-align:left} @@ -406,7 +406,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; #profile section {margin:0 auto 20px;padding:20px;width:86%} #profile h2 {margin:0} -/* 최근게시물 스킨 (latest) */ +/* 새글 스킨 (latest) */ .lt_pc {float:left;margin-left:20px} .lt {position:relative;float:left;margin-bottom:20px;padding-bottom:10px;width:354px;height:150px;border-bottom:1px solid #ddd} .lt ul {margin:0 0 10px;padding:0;list-style:none} @@ -416,7 +416,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; /* 최근게시물 스킨 (new) */ #new_sch {margin-bottom:10px;text-align:right} -#new_sch legend {width:1px;height:1px;overflow:hidden} +#new_sch legend {font-size:0;line-height:0;overflow:hidden} /* 전체검색결과 스킨 */ #sch_result_detail {margin:0;padding:15px 0;border:0;text-align:right} @@ -430,7 +430,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; #sch_result_hd ul {float:left} #sch_result_hd li {float:left;padding:0 10px;border-right:1px solid #cfded8} #sch_result_bo {float:left;margin:-1px 0 0;padding:0;width:170px} -#sch_result_bo dt {margin:0;padding:0;width:1px;height:1px;border:0;overflow:hidden} +#sch_result_bo dt {margin:0;padding:0;border:0;font-size:0;line-height:0;overflow:hidden} #sch_result_bo dd {margin:0;padding:0} #sch_result_bo ul {margin-top:1px} #sch_result_bo li {position:relative;margin-top:-1px;height:40px} @@ -468,7 +468,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; /* 게시판 목록 */ #bo_list_title {margin-bottom:20px;font-size:1.2em;letter-spacing:-0.1em} -#bo_cate h2 {width:1px;height:1px;overflow:hidden} +#bo_cate h2 {font-size:0;line-height:0;overflow:hidden} #bo_cate ul {margin-bottom:10px;padding-left:1px;width:728px;zoom:1} #bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""} #bo_cate li {float:left;margin-bottom:-1px} @@ -481,7 +481,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; .td_subject img {margin-left:3px} /* 갤러리 목록 */ -#bo_img h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden} +#bo_img h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden} #bo_img_list {margin:0;padding:0;list-style:none;zoom:1} #bo_img_list:after {display:block;visibility:hidden;clear:both;content:""} .bo_img_list_li {float:left;margin-bottom:20px} @@ -506,7 +506,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; .cnt_cmt {font-weight:bold} #bo_sch {margin-bottom:10px;padding-top:5px;text-align:center} -#bo_sch legend {width:1px;height:1px;overflow:hidden} +#bo_sch legend {font-size:0;line-height:0;overflow:hidden} /* 게시판 읽기 */ #bo_v {margin-bottom:20px;padding-bottom:20px} @@ -583,7 +583,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold} .bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px} -#bo_vc h1 {width:1px;height:1px;overflow:hidden} +#bo_vc h1 {font-size:0;line-height:0;overflow:hidden} #bo_vc a {color:#000;text-decoration:none} #bo_vc p {padding:0 0 5px;line-height:1.8em} #bo_vc p a {text-decoration:underline} diff --git a/css/mobile.css b/css/mobile.css index 81b9a92ab..15c825a26 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -19,7 +19,7 @@ hr {display:none} pre {overflow-x:scroll;font-size:1.1em} /* 웹접근성 스킬 --- 기본 block 속성에는 적용 안됨*/ -.sound_only {display:none} +.sound_only {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden} /* 이미지 등비율 리사이징 */ .img_fix {float:left;width:100%;height:auto} @@ -31,12 +31,12 @@ pre {overflow-x:scroll;font-size:1.1em} /* 상단 레이아웃 */ #hd {background:#fff;zoom:1} #hd:after {display:block;visibility:hidden;clear:both;content:""} -#hd h1 {width:1px;height:1px;overflow:hidden} +#hd h1 {font-size:0;line-height:0;overflow:hidden} #logo {float:left;padding:5px 0;margin-left:10px} #schall {position:absolute;top:12px;right:10px} -#schall legend {display:none} +#schall legend {width:0;height:0;overflow:hidden} #schall_stx {padding-left:5px;width:100px;height:24px;border:1px solid #aaa;border-right:0;background:#f7f7f2;line-height:1.9em !important;line-height:1.6em} #schall_submit {border:1px solid #aaa;border-left:0} @@ -158,7 +158,7 @@ sup {display:none !important} /* 쪽지 */ #memo_view section {margin:0 auto 20px;padding:20px;width:87%} -#memo_view section h2 {width:1px;height:1px;overflow:hidden} +#memo_view section h2 {font-size:0;line-height:0;overflow:hidden} #memo_view_ul {margin:0;padding:0 0 10px;border-bottom:1px solid #eee;list-style:none} .memo_view_li {position:relative;padding:5px 0} .memo_view_subj {display:inline-block;width:65px} @@ -222,15 +222,12 @@ sup {display:none !important} /* 새글 */ #new_sch {margin:0 0 5px;padding:5px 10px} #new_tbl {} -#new_tbl th:nth-of-type(1) {display:none} -#new_tbl th:nth-of-type(4) {display:none} #new_tbl th:nth-of-type(5) {width:50px} -#new_tbl td:nth-of-type(1) {display:none} -#new_tbl td:nth-of-type(4) {display:none} #new_tbl td:nth-of-type(5) {text-align:center} -#new_tbl .sv {display:none} +/* 전체검색결과 스킨 */ +#sch_result_detail {} /* 게시판 목록 */ .bo_list table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0} @@ -244,31 +241,15 @@ sup {display:none !important} .bo_list img:nth-last-of-type(1) {margin-right:0} /* 관리자일 때 생략 */ -#bo_list_admin th:nth-of-type(1) {display:none} -#bo_list_admin th:nth-of-type(4) {display:none} -#bo_list_admin th:nth-of-type(5) {width:100px} -#bo_list_admin th:nth-of-type(6) {display:none} -#bo_list_admin th:nth-of-type(7) {display:none} +#bo_list_admin th:nth-of-type(3) {width:100px} -#bo_list_admin td:nth-of-type(1) {display:none} -#bo_list_admin td:nth-of-type(2) {text-align:center} -#bo_list_admin td:nth-of-type(4) {display:none} -#bo_list_admin td:nth-of-type(5) {text-align:center} -#bo_list_admin td:nth-of-type(6) {display:none} -#bo_list_admin td:nth-of-type(7) {display:none} +#bo_list_admin td:nth-of-type(1) {text-align:center} +#bo_list_admin td:nth-of-type(3) {text-align:center} /* 관리자가 아닐 때 생략 */ -#bo_list th:nth-of-type(1) {display:none} -#bo_list th:nth-of-type(3) {display:none} -#bo_list th:nth-of-type(4) {width:100px} -#bo_list th:nth-of-type(5) {display:none} -#bo_list th:nth-of-type(6) {display:none} +#bo_list th:nth-of-type(2) {width:100px} -#bo_list td:nth-of-type(1) {display:none} -#bo_list td:nth-of-type(3) {display:none} -#bo_list td:nth-of-type(4) {text-align:center} -#bo_list td:nth-of-type(5) {display:none} -#bo_list td:nth-of-type(6) {display:none} +#bo_list td:nth-of-type(2) {text-align:center} .bo_fx {margin-bottom:5px;zoom:1} .bo_fx:after {display:block;visibility:hidden;clear:both;content:""} @@ -288,7 +269,7 @@ sup {display:none !important} .cnt_cmt {font-weight:bold} #bo_sch {margin-bottom:10px;padding-top:5px;text-align:center} -#bo_sch legend {width:1px;height:1px;overflow:hidden} +#bo_sch legend {font-size:0;line-height:0;overflow:hidden} /* 게시판 읽기 */ #bo_v {margin-bottom:20px;padding-bottom:20px} @@ -365,7 +346,7 @@ sup {display:none !important} #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold} .bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px} -#bo_vc h1 {width:1px;height:1px;overflow:hidden} +#bo_vc h1 {font-size:0;line-height:0;overflow:hidden} #bo_vc a {color:#000;text-decoration:none} #bo_vc p {padding:0 0 5px;line-height:1.8em} #bo_vc p a {text-decoration:underline} diff --git a/head.php b/head.php index 29894d99c..0c1f3f5ca 100644 --- a/head.php +++ b/head.php @@ -31,7 +31,7 @@ if ($config['cf_include_head']) {