사용자: 게시판스킨 작업 중, css 중복 호출 제거
This commit is contained in:
@ -93,7 +93,7 @@ hr {display:none}
|
||||
.btn_win a {display:inline-block;padding:0 10px;height:28px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2.5em;cursor:pointer}
|
||||
|
||||
/* ///// 기본테이블 ///// */
|
||||
table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
table {width:100%;border-collapse:collapse;border-spacing:0}
|
||||
tfoot th {border-top:1px solid #c9c9c9;border-bottom:1px solid #c9c9c9}
|
||||
tfoot td {border-color:#c9c9c9;background:#f9f9f5;font-weight:bold;text-align:center}
|
||||
caption {padding:0 0 10px;text-align:left}
|
||||
@ -259,19 +259,21 @@ table a {color:#000;text-decoration:none}
|
||||
#bo_v_atc {zoom:1}
|
||||
#bo_v_atc:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_atc h1 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_file {border-right:1px solid #eee;border-bottom:1px solid #eee}
|
||||
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_file ul {margin:0;padding:0;list-style:none}
|
||||
#bo_v_file li {border-bottom:1px solid #ddd;background:#f7f7f7}
|
||||
#bo_v_file a {display:inline-block;padding:8px 10px 7px}
|
||||
#bo_v_file li {background:#fff}
|
||||
#bo_v_file a {display:inline-block;padding:8px 20px 7px}
|
||||
#bo_v_file strong {text-decoration:underline}
|
||||
.bo_v_file_cnt {display:inline-block;margin:0 10px;color:#0075b8}
|
||||
#bo_v_link {border-right:1px solid #eee}
|
||||
#bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_link ul {margin:0;padding:0;list-style:none}
|
||||
#bo_v_link li {border-bottom:1px solid #ddd;background:#f7f7f7}
|
||||
#bo_v_link a {display:inline-block;padding:8px 10px 7px}
|
||||
#bo_v_link a {display:inline-block;padding:8px 20px 7px}
|
||||
#bo_v_link strong {text-decoration:underline}
|
||||
.bo_v_link_cnt {display:inline-block;margin:0 10px;color:#0075b8}
|
||||
#bo_v_con {padding:20px;min-height:200px;height:auto !important;height:200px;border:1px solid #eee;background:#fff;line-height:1.8em}
|
||||
#bo_v_con {padding:20px;min-height:200px;height:auto !important;height:200px;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff;line-height:1.8em}
|
||||
#bo_v form {padding-top:20px}
|
||||
#bo_v_act {margin:20px 0;text-align:center}
|
||||
#bo_v_act a {margin-right:5px;vertical-align:top}
|
||||
@ -286,9 +288,9 @@ table a {color:#000;text-decoration:none}
|
||||
.bo_v_com li {float:left;margin-left:5px}
|
||||
|
||||
/* 게시판 댓글 */
|
||||
#bo_vc {padding:10px 20px;border:1px solid #eee;background:#fefefe}
|
||||
#bo_vc {padding:10px 20px 20px;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff}
|
||||
#bo_vc h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_vc article {padding:0 0 10px;border-bottom:1px solid #ddd}
|
||||
#bo_vc article {padding:0 0 10px;border-bottom:1px solid #f0f0f0}
|
||||
#bo_vc header {position:relative;zoom:1}
|
||||
#bo_vc header:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
|
||||
|
||||
12
head.sub.php
12
head.sub.php
@ -31,18 +31,6 @@ header("Pragma: no-cache"); // HTTP/1.0
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<!-- <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> -->
|
||||
<?
|
||||
if (G4_IS_MOBILE) {
|
||||
echo "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n";
|
||||
echo "<link rel=\"stylesheet\" href=\"{$g4['url']}/css/jquery.mobile-1.3.0-beta.1.min.css\">\n";
|
||||
} else {
|
||||
if (isset($administrator)) {
|
||||
echo "<link rel=\"stylesheet\" href=\"{$g4['url']}/css/adm.css\">\n";
|
||||
} else {
|
||||
echo "<link rel=\"stylesheet\" href=\"{$g4['url']}/css/default.css\">\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
<title><?=$g4['title']?></title>
|
||||
<? if (isset($administrator)) { ?>
|
||||
<link rel="stylesheet" href="<?=$g4['url']?>/css/adm.css?=<?=date("md")?>">
|
||||
|
||||
@ -25,6 +25,27 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<aside id="bo_v_top">
|
||||
<h2>게시물 상단 버튼</h2>
|
||||
<?
|
||||
ob_start();
|
||||
?>
|
||||
<ul class="bo_v_com">
|
||||
<? if ($update_href) { ?><li><a href="<?=$update_href?>" class="btn02">수정</a></li><? } ?>
|
||||
<? if ($delete_href) { ?><li><a href="<?=$delete_href?>" onclick="del(this.href); return false;" class="btn02">삭제</a></li><? } ?>
|
||||
<? if ($copy_href) { ?><li><a href="<?=$copy_href?>" onclick="board_move(this.href); return false;" class="btn03">복사</a></li><? } ?>
|
||||
<? if ($move_href) { ?><li><a href="<?=$move_href?>" onclick="board_move(this.href); return false;" class="btn03">이동</a></li><? } ?>
|
||||
<? if ($search_href) { ?><li><a href="<?=$search_href?>" class="btn02">검색</a></li><? } ?>
|
||||
<li><a href="<?=$list_href?>" class="btn02">목록</a></li>
|
||||
<? if ($reply_href) { ?><li><a href="<?=$reply_href?>" class="btn02">답변</a></li><? } ?>
|
||||
<? if ($write_href) { ?><li><a href="<?=$write_href?>" class="btn01">글쓰기</a></li><? } ?>
|
||||
</ul>
|
||||
<?
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</aside>
|
||||
|
||||
<?
|
||||
if ($view['file']['count']) {
|
||||
$cnt = 0;
|
||||
@ -89,27 +110,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
<? } ?>
|
||||
|
||||
<aside id="bo_v_top">
|
||||
<h2>게시물 상단 버튼</h2>
|
||||
<?
|
||||
ob_start();
|
||||
?>
|
||||
<ul class="bo_v_com">
|
||||
<? if ($update_href) { ?><li><a href="<?=$update_href?>" class="btn02">수정</a></li><? } ?>
|
||||
<? if ($delete_href) { ?><li><a href="<?=$delete_href?>" onclick="del(this.href); return false;" class="btn02">삭제</a></li><? } ?>
|
||||
<? if ($copy_href) { ?><li><a href="<?=$copy_href?>" onclick="board_move(this.href); return false;" class="btn03">복사</a></li><? } ?>
|
||||
<? if ($move_href) { ?><li><a href="<?=$move_href?>" onclick="board_move(this.href); return false;" class="btn03">이동</a></li><? } ?>
|
||||
<? if ($search_href) { ?><li><a href="<?=$search_href?>" class="btn02">검색</a></li><? } ?>
|
||||
<li><a href="<?=$list_href?>" class="btn02">목록</a></li>
|
||||
<? if ($reply_href) { ?><li><a href="<?=$reply_href?>" class="btn02">답변</a></li><? } ?>
|
||||
<? if ($write_href) { ?><li><a href="<?=$write_href?>" class="btn01">글쓰기</a></li><? } ?>
|
||||
</ul>
|
||||
<?
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</aside>
|
||||
|
||||
<article id="bo_v_atc">
|
||||
<header>
|
||||
<h1>본문</h1>
|
||||
|
||||
Reference in New Issue
Block a user