사용자: #459 스타일 맞춤
This commit is contained in:
220
css/default.css
220
css/default.css
@ -19,14 +19,89 @@ a:hover,
|
||||
a:focus,
|
||||
a:active {color:#000;text-decoration:underline}
|
||||
|
||||
/* 상단 레이아웃 */
|
||||
#hd {border-top:3px solid #151515;background:#fff}
|
||||
#hd h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#hd_wrapper {position:relative;margin:0 auto;width:980px}
|
||||
|
||||
#logo {padding:17px 0}
|
||||
|
||||
#sch_all {position:absolute;top:22px;left:70px;margin:0;padding:0;letter-spacing:-5px}
|
||||
#sch_all legend {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sch_all_stx {padding-left:5px;width:156px;height:24px;border:1px solid #aaa;border-right:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
|
||||
#sch_all_submit {border:1px solid #aaa;border-left:0}
|
||||
|
||||
#tnb {position:absolute;top:18px;right:0;zoom:1}
|
||||
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#tnb li {float:left}
|
||||
#tnb a {display:block;padding:5px 10px;color:#333;letter-spacing:-0.1em}
|
||||
#tnb a:focus,
|
||||
#tnb a:hover,
|
||||
#tnb a:active {text-decoration:none}
|
||||
#tnb img {margin-right:3px}
|
||||
|
||||
/* gnb js off */
|
||||
#gnb {z-index:10;margin:-1px 0 0;border-bottom:1px solid #c3c7c5;background:#f0f4f8}
|
||||
#gnb h2 {position:absolute;margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#gnb_1dul {margin:0 auto;padding:0;width:980px;zoom:1}
|
||||
#gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1dli {z-index:10;clear:both;zoom:1}
|
||||
.gnb_1dli:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1da {display:block;float:left;width:80px;height:35px;font-weight:bold;line-height:2.95em;text-decoration:none}
|
||||
.gnb_1da:focus,
|
||||
.gnb_1da:hover {text-decoration:none}
|
||||
.gnb_2dul {float:left;width:auto}
|
||||
.gnb_2dli {float:left}
|
||||
.gnb_2da {display:block;float:left;width:80px;height:35px;line-height:2.95em;text-decoration:none}
|
||||
.gnb_2da:focus,
|
||||
.gnb_2da:hover {text-decoration:none}
|
||||
/* gnb js on */
|
||||
.gnb_js {}
|
||||
.gnb_js #gnb_1dul {zoom:1}
|
||||
.gnb_js #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_js .gnb_1dli {clear:none;position:relative;float:left}
|
||||
.gnb_js .gnb_1da {text-align:center}
|
||||
.gnb_js .gnb_1dli_air a {float:none;background:#333;color:#fff}
|
||||
.gnb_js .gnb_1dli_on a {float:none;background:#333;color:#fff}
|
||||
.gnb_js .gnb_2dul {position:absolute;top:35px;width:1px;height:1px;overflow:hidden}
|
||||
.gnb_js .gnb_2da {display:inline-block;float:none !important;padding:0 10px;width:161px;text-align:left}
|
||||
.gnb_1dli_over .gnb_2dul {left:0;width:180px;height:auto;background:#fff}
|
||||
.gnb_1dli_over2 .gnb_2dul {right:0;width:180px;height:auto;background:#fff}
|
||||
|
||||
.gnb_empty {width:100%;height:35px;text-align:center;line-height:2.95em}
|
||||
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper {z-index:5;margin:50px auto;width:980px;zoom:1}
|
||||
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
#aside {float:right;width:210px;border:1px solid #cfded8;background:#fff}
|
||||
|
||||
#container {z-index:4;position:relative;float:left;padding:25px 14px 15px;width:728px;min-height:500px;height:auto !important;height:500px;border:1px solid #cfded8;background:#fff;zoom:1}
|
||||
#container:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#container_title {margin-bottom:20px;font-size:1.2em}
|
||||
|
||||
/* 텍스트 크기 조절 */
|
||||
#text_size {position:absolute;top:-33px;left:-1px;letter-spacing:-px}
|
||||
#text_size button {margin:0;padding:0 10px;height:28px;border:0;background:#555;color:#fff;cursor:pointer}
|
||||
|
||||
/* 하단 레이아웃 */
|
||||
#ft {background:#484848}
|
||||
#ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
#ft_catch {position:relative;margin:0 auto;padding:20px 0;width:980px;text-align:center}
|
||||
|
||||
#ft_copy {background:#414141}
|
||||
#ft_copy p {position:relative;margin:0 auto;width:980px;color:#4a9ab8}
|
||||
#ft_copy b {color:#fff}
|
||||
#ft_copy a {position:absolute;top:10px;right:0;color:#fff}
|
||||
|
||||
/* 화면낭독기 사용자용 */
|
||||
#hd_login_msg {position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
|
||||
.msg_sound_only,
|
||||
.sound_only {display:inline-block !important;position:absolute;top:0;left:0;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;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}
|
||||
#skip_to_container a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
#skip_to_container a:focus, #skip_to_container 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}
|
||||
|
||||
/* 이미지 등비율 리사이징 */
|
||||
.img_fix {width:100%;height:auto}
|
||||
@ -47,102 +122,20 @@ a:active {color:#000;text-decoration:underline}
|
||||
.cke_sc_def dt {width:20%;font-weight:bold}
|
||||
.cke_sc_def dd {width:30%}
|
||||
|
||||
/* 상단 레이아웃 */
|
||||
#hd {border-top:3px solid #151515;background:#fff}
|
||||
#hd h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#hd_wrapper {position:relative;margin:0 auto;width:980px}
|
||||
|
||||
#logo {padding:17px 0}
|
||||
|
||||
#sch_all {position:absolute;top:22px;left:70px;margin:0;padding:0;letter-spacing:-5px}
|
||||
#sch_all legend {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sch_all_stx {padding-left:5px;width:156px;height:24px;border:1px solid #aaa;border-right:0;background:#fff;line-height:1.9em !important;line-height:1.6em}
|
||||
#sch_all_submit {border:1px solid #aaa;border-left:0}
|
||||
|
||||
#mb_nb {position:absolute;top:18px;right:0;zoom:1}
|
||||
#mb_nb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#mb_nb li {float:left}
|
||||
#mb_nb a {display:block;padding:5px 10px;color:#333;letter-spacing:-0.1em}
|
||||
#mb_nb a:focus,
|
||||
#mb_nb a:hover,
|
||||
#mb_nb a:active {text-decoration:none}
|
||||
#mb_nb img {margin-right:3px}
|
||||
|
||||
/* gnb js off */
|
||||
#gnb {z-index:10;margin:-1px 0 0;border-top:1px solid #e7f1ed;border-bottom:1px solid #c3c7c5;background:#f0f4f8}
|
||||
#gnb h2 {position:absolute;margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#gnb_1dul {margin:0 auto;padding:0;width:980px;zoom:1}
|
||||
#gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1dli {z-index:10;clear:both;zoom:1}
|
||||
.gnb_1dli:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1da {display:block;float:left;width:80px;height:35px;font-weight:bold;line-height:2.95em;text-decoration:none}
|
||||
.gnb_1da:focus,
|
||||
.gnb_1da:hover {text-decoration:none}
|
||||
.gnb_2dul {float:left;width:auto}
|
||||
.gnb_2dli {float:left}
|
||||
.gnb_2da {display:block;float:left;width:80px;height:35px;line-height:2.95em;text-decoration:none}
|
||||
.gnb_2da:focus,
|
||||
.gnb_2da:hover {text-decoration:none}
|
||||
/* gnb js on */
|
||||
.gnb_js {}
|
||||
.gnb_js #gnb_1dul {zoom:1}
|
||||
.gnb_js #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_js .gnb_1dli {clear:none;position:relative;float:left}
|
||||
.gnb_js .gnb_1da {text-align:center}
|
||||
.gnb_js .gnb_1dli_air a {float:none;background:#f7f7f2;color:#000}
|
||||
.gnb_js .gnb_1dli_on a {float:none;border-color:#e0e5e9;background:#fff;color:#000}
|
||||
.gnb_js .gnb_2dul {position:absolute;top:35px;width:1px;height:1px;overflow:hidden}
|
||||
.gnb_js .gnb_2da {display:inline-block;float:none !important;padding:0 10px;width:161px;text-align:left}
|
||||
.gnb_1dli_over .gnb_2dul {left:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff}
|
||||
.gnb_1dli_over2 .gnb_2dul {right:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff}
|
||||
|
||||
.gnb_empty {width:100%;height:35px;text-align:center;line-height:2.95em}
|
||||
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper {z-index:5;margin:50px auto;width:980px;zoom:1}
|
||||
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#wrapper_title {margin-bottom:20px;font-size:1.2em}
|
||||
|
||||
#wrapper #aside {float:right;width:209px;border:1px solid #cfded8;background:#fff}
|
||||
|
||||
#container {z-index:4;position:relative;float:left;padding:25px 15px 15px;width:728px;min-height:500px;height:auto !important;height:500px;border:1px solid #cfded8;background:#fff;zoom:1}
|
||||
#container:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
/* 텍스트 크기 조절 */
|
||||
#text_size {position:absolute;top:-31px;left:-1px}
|
||||
#text_size button {padding:0 10px;height:30px;border:1px solid #cfded8;border-bottom:0;background:#000;color:#fff;cursor:pointer}
|
||||
|
||||
/* 하단 레이아웃 */
|
||||
#ft {background:#484848}
|
||||
#ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
#ft_catch {position:relative;margin:0 auto;padding:20px 0;width:980px;text-align:center}
|
||||
|
||||
#ft_copy {background:#414141}
|
||||
#ft_copy p {position:relative;margin:0 auto;width:980px;color:#4a9ab8}
|
||||
#ft_copy b {color:#fff}
|
||||
#ft_copy a {position:absolute;top:10px;right:0;color:#fff}
|
||||
|
||||
/* Mobile화면으로 */
|
||||
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center}
|
||||
|
||||
/* 콘텐츠별 스타일 */
|
||||
.cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}
|
||||
/* 버튼 */
|
||||
.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn01:focus,
|
||||
.btn01:hover {text-decoration:none !important}
|
||||
.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #333 !important;background:#333 !important;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn02:focus,
|
||||
.btn02:hover {text-decoration:none !important}
|
||||
.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc;background:#fafafa;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn01:focus, .btn01:hover {text-decoration:none !important}
|
||||
.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #333;background:#333;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn02:focus, .btn02:hover {text-decoration:none !important}
|
||||
.btn_confirm {text-align:center} /* 서식단계 진행 */
|
||||
.btn_submit {padding:0 10px;height:24px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
|
||||
button.btn_submit {height:22px !important;font-size:1em}
|
||||
fieldset .btn_submit {height:22px;font-size:1em}
|
||||
.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em}
|
||||
button.btn_cancel {display:inline-block;padding:0 10px;height:24px;border:1px solid #ccc;background:#fafafa;line-height:2em}
|
||||
.btn_cancel:focus,
|
||||
.btn_cancel:hover {text-decoration:none !important}
|
||||
.btn_cancel:focus, .btn_cancel:hover {text-decoration:none !important}
|
||||
.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:2em} /* 우편번호검색버튼 등 */
|
||||
button.btn_frmline {font-size:1em}
|
||||
.btn_win {clear:both;margin-bottom:20px;text-align:center} /* 새창용 */
|
||||
@ -150,15 +143,12 @@ button.btn_frmline {font-size:1em}
|
||||
.btn_win a:focus,
|
||||
.btn_win a:hover {text-decoration:none}
|
||||
/* 게시판용 버튼 */
|
||||
.btn_b01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn_b01:focus,
|
||||
.btn_b01:hover {text-decoration:none !important}
|
||||
.btn_b02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn_b02:focus,
|
||||
.btn_b02:hover {text-decoration:none !important}
|
||||
.btn_admin {display:inline-block;padding:0 10px;height:23px;border:1px solid #e8180c !important;background:#e8180c !important;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle} /* 관리자 전용 버튼 */
|
||||
.btn_admin:focus,
|
||||
.btn_admin:hover {text-decoration:none !important}
|
||||
.btn_b01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #d9ded9;background:#f5f6fa;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn_b01:focus, .btn_b01:hover {text-decoration:none !important}
|
||||
.btn_b02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #eee;background:#333;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
.btn_b02:focus, .btn_b02:hover {text-decoration:none !important}
|
||||
.btn_admin {display:inline-block;padding:0 10px;height:23px;border:1px solid #e8180c;background:#e8180c;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle} /* 관리자 전용 버튼 */
|
||||
.btn_admin:focus, .btn_admin:hover {text-decoration:none !important}
|
||||
|
||||
/* 기본테이블 */
|
||||
.basic_tbl {margin-bottom:10px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
@ -181,12 +171,10 @@ td.empty_table {padding:85px 0;text-align:center}
|
||||
/* 폼 테이블 */
|
||||
.frm_tbl {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.frm_tbl caption {padding:10px 0;font-weight:bold;text-align:left}
|
||||
.frm_tbl th {padding-left:10px;width:100px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left}
|
||||
.frm_tbl td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
|
||||
.frm_tbl textarea,
|
||||
.frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle}
|
||||
.frm_input:focus,
|
||||
input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important;color:#fff}
|
||||
.frm_tbl th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f7f7f7;text-align:left;vertical-align:top}
|
||||
.frm_tbl td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent;vertical-align:top}
|
||||
.frm_tbl textarea, .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle}
|
||||
.frm_input:focus, input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important;color:#fff}
|
||||
.frm_tbl textarea {width:90%;height:150px}
|
||||
.frm_address {display:block;margin-top:5px}
|
||||
.frm_file {display:block;margin-bottom:5px}
|
||||
@ -228,23 +216,19 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important
|
||||
.sv_wrap {display:inline-block;position:relative;font-weight:normal}
|
||||
.sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;border:1px solid #283646;background:#111}
|
||||
.sv_wrap .sv a {display:inline-block !important;margin:0 !important;padding:3px !important;width:94px;border-bottom:1px solid #283646;color:#fff !important}
|
||||
.sv_wrap a:focus,
|
||||
.sv_wrap a:hover,
|
||||
.sv_wrap a:active {text-decoration:none !important}
|
||||
.sv_wrap a:focus, .sv_wrap a:hover, .sv_wrap a:active {text-decoration:none !important}
|
||||
.sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto !important}
|
||||
.sv_nojs .sv {display:block}
|
||||
|
||||
/* pagination */
|
||||
.pg_wrap {clear:both;margin:0 0 20px;padding-top:20px;text-align:center}
|
||||
.pg {display:inline-block;border:1px solid #cfded8;letter-spacing:-4px}
|
||||
.pg a:focus,
|
||||
.pg a:hover,
|
||||
.pg a:active {text-decoration:none}
|
||||
.pg_page,
|
||||
.pg_current {display:inline-block;padding:0 12px;height:30px;color:#000;letter-spacing:0;line-height:2.6em;vertical-align:middle}
|
||||
.pg a:focus, .pg a:hover, .pg a:active {text-decoration:none}
|
||||
.pg_page, .pg_current {display:inline-block;padding:0 12px;height:30px;color:#000;letter-spacing:0;line-height:2.6em;vertical-align:middle}
|
||||
.pg_page {background:#f9f9f9;text-decoration:none}
|
||||
.pg_start,
|
||||
.pg_prev {border-right:1px solid #cfded8}
|
||||
.pg_end,
|
||||
.pg_next {border-left:1px solid #cfded8}
|
||||
.pg_current {background:#333;color:#fff;font-weight:bold}
|
||||
.pg_start, .pg_prev {border-right:1px solid #cfded8}
|
||||
.pg_end, .pg_next {border-left:1px solid #cfded8}
|
||||
.pg_current {background:#333;color:#fff;font-weight:bold}
|
||||
|
||||
/* Mobile화면으로 */
|
||||
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center}
|
||||
@ -18,6 +18,7 @@ if ($config['cf_include_index']) {
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<h1 class="sound_only">최신글</h1>
|
||||
<!-- 메인화면 최신글 시작 -->
|
||||
<?php
|
||||
// 최신글
|
||||
@ -28,7 +29,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
else $lt_style = "";
|
||||
?>
|
||||
<div style="float:left;<?php echo $lt_style ?>">
|
||||
<h1 class="sound_only">최신글</h1>
|
||||
<?php
|
||||
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
|
||||
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
|
||||
|
||||
Reference in New Issue
Block a user