text_size style mobile admin
This commit is contained in:
@ -147,4 +147,9 @@ function imageview(id, w, h)
|
||||
</ul>
|
||||
|
||||
<div id="container">
|
||||
<div id="text_size">
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'decrease');">작게</button>
|
||||
<button class="no_text_resize" onclick="font_default('container');">기본</button>
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'increase');">크게</button>
|
||||
</div>
|
||||
<h1><?=$g4['title']?></h1>
|
||||
|
||||
@ -83,6 +83,7 @@ h2 {font-size:1.2em}
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper {margin:30px auto;width:1000px;min-height:630px;height:auto !important;height:630px;zoom:1}
|
||||
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
#qnb {float:right;margin:0;padding:0;list-style:none}
|
||||
#qnb li {margin-bottom:20px}
|
||||
#qnb a {display:block;width:40px;font-size:0.9em;text-align:center}
|
||||
@ -90,7 +91,12 @@ h2 {font-size:1.2em}
|
||||
#qnb a:hover,
|
||||
#qnb a:active {text-decoration:none}
|
||||
#qnb img {margin-bottom:5px}
|
||||
#container {float:left;width:942px}
|
||||
|
||||
#container {position:relative;float:left;width:942px}
|
||||
|
||||
/* 텍스트 크기 조절 */
|
||||
#text_size {position:absolute;top:0;right:0}
|
||||
#text_size button {padding:0 10px;height:30px;background:#000;color:#fff;cursor:pointer}
|
||||
|
||||
/* 하단 레이아웃 */
|
||||
#ft {margin:20px 0;padding:5px 0;border-top:1px solid #d0d6d8}
|
||||
|
||||
@ -71,6 +71,9 @@ pre {overflow-x:scroll;font-size:1.1em}
|
||||
#container {position:relative;min-height:300px;zoom:1}
|
||||
#container:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
/* 텍스트 크기 조절 */
|
||||
#text_size {margin:0 0 1em;text-align:center}
|
||||
|
||||
/* 하단 레이아웃 */
|
||||
#ft {background:#484848}
|
||||
#ft h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
2
head.php
2
head.php
@ -161,7 +161,7 @@ if ($config['cf_include_head']) {
|
||||
<div id="container">
|
||||
<? if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>
|
||||
<div id="text_size">
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'increase');">크게</button>
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'decrease');">작게</button>
|
||||
<button class="no_text_resize" onclick="font_default('container');">기본</button>
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'increase');">크게</button>
|
||||
</div>
|
||||
@ -112,3 +112,8 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
</div>
|
||||
<div id="container">
|
||||
<? if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>
|
||||
<div id="text_size">
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'decrease');">작게</button>
|
||||
<button class="no_text_resize" onclick="font_default('container');">기본</button>
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'increase');">크게</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user