diff --git a/css/default.css b/css/default.css index 92d185742..af83cfdce 100644 --- a/css/default.css +++ b/css/default.css @@ -239,7 +239,7 @@ table a {color:#000;text-decoration:none} #bo_w caption {padding:0;height:0;overflow:hidden} /* 게시판 목록 */ -.btn_bo_adm input {padding:0 10px;height:26px;border:1px solid #ddd;background:#eee;color:#000;text-decoration:none} +.btn_bo_adm input {padding:0 10px;height:26px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none} .bo_fx {margin-bottom:5px;zoom:1} .bo_fx:after {display:block;visibility:hidden;clear:both;content:""} .bo_fx ul {margin:0;padding:0;list-style:none} @@ -263,9 +263,9 @@ table a {color:#000;text-decoration:none} #bo_v {position:relative;margin-bottom:30px} #bo_v a {color:#000;text-decoration:none} #bo_v_h1 {padding:30px 20px 10px;font-size:1.2em;line-height:1.4em} -#bo_v_info {padding:0 20px 15px} +#bo_v_info {padding:0 20px 15px;border-bottom:1px solid #f0f0f0} #bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden} -#bo_v_info strong {display:inline-block;margin:0 10px 0 5px;font-weight:normal} +#bo_v_info strong {display:inline-block;margin:0 15px 0 5px;font-weight:normal} #bo_v_top {zoom:1} #bo_v_top:after {display:block;visibility:hidden;clear:both;content:""} #bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden} @@ -314,6 +314,7 @@ table a {color:#000;text-decoration:none} #bo_vc h1 {display:inline-block;margin:15px 10px 5px 0} #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} #bo_vc fieldset {margin:0 0 10px;padding:0} #bo_vc_w {zoom:1} #bo_vc_w:after {display:block;visibility:hidden;clear:both;content:""} diff --git a/css/mobile.css b/css/mobile.css new file mode 100644 index 000000000..fb52a2122 --- /dev/null +++ b/css/mobile.css @@ -0,0 +1,14 @@ +/* SIR SOFT 지운아빠 Jan 2013 */ + +/* 초기화 */ +html {overflow-y:scroll} +body {margin:0;padding:0;background:#f7f7f2;font-size:1em;font-family:"dotum"} +html, body, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0} +h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"} +article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block} +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"} +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} \ No newline at end of file diff --git a/head.php b/head.php index b3c0d2353..cb23f8712 100644 --- a/head.php +++ b/head.php @@ -14,7 +14,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
- +

diff --git a/head.sub.php b/head.sub.php index 5ff526acd..b7549c759 100644 --- a/head.sub.php +++ b/head.sub.php @@ -7,7 +7,6 @@ $begin_time = get_microtime(); if (!isset($g4['title'])) $g4['title'] = $config['cf_title']; - // 현재 접속자 //$lo_location = get_text($g4[title]); //$lo_location = $g4[title]; @@ -25,17 +24,22 @@ header("Cache-Control: no-cache"); // HTTP/1.1 header("Expires: 0"); // rfc2616 - Section 14.21 header("Pragma: no-cache"); // HTTP/1.0 */ + +$g4_css = ""; +if (G4_IS_MOBILE) $g4_css = "mobile"; +else $g4_css = "default"; ?> + <?=$g4['title']?> "> -"> +">