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/css/default.css b/css/pc.css similarity index 97% rename from css/default.css rename to css/pc.css index 92d185742..8d997faee 100644 --- a/css/default.css +++ b/css/pc.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} diff --git a/head.php b/head.php index 87fa70950..226e961a4 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..4168d61ec 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 = "pc"; ?> + <?=$g4['title']?> "> -"> +">