스타일시트
비상하라 벤처로 세계로 호서대학교
css 위치
메인/입학/학과 공통CSS
실사이트 옮길경우 필요한 수정작업
홈페이지별 분기한 sub-layout 부분 url 수정 필요
기본css
기본 font
font-size: 16px
font-family: Noto Sans KR, sans-serif
font-weight: 300
line-height: 1
letter-spacing: -1px
※ font-size 설정시 em 단위로 사용
※ 각홈페이지별 font색상은 해당 홈페이지 common.css 내 수정
h 제목
h1
좌측 로고 설정
h2
h3
h4
h5
버튼스타일
기본 btn ( a태그 )
ui-btn<a href="#" class="ui-btn">ui-btn</a>
버튼색상 및 크기
하늘 청록 두번째 큰 세번째 큰<a href="#set-btn" class="ui-btn sky small">하늘</a> <a href="#set-btn" class="ui-btn bgreen big">청록</a> <a href="#set-btn" class="ui-btn bigx2">두번째 큰</a> <a href="#set-btn" class="ui-btn bigx3">세번째 큰</a>
링크 btn
재증명서 바로가기<a class="ui-btn green " href="#">재증명서 바로가기 <span class="link_icon"></span></a>
다운로드 btn
hwp 다운로드<a class="ui-btn blue " href="#">hwp 다운로드 <span class="down_icon"></span></a>
흰색 배경색 btn
ui-btn white<a href="#" class="ui-btn white">ui-btn white</a>
회색 배경색 pdf btn
ui-btn gray<a href="#" class="ui-btn gray">ui-btn gray</a>
list형태
list01
<ul class="list_li01"> <li>list01 1줄 </li> <li>list01 1줄 </li> </ul>
list02
<ul class="list_li02">
<li>list02 1줄 </li>
<li>list02 1줄
<ul>
<li>리스트안에 리스트</li>
<li>리스트안에 리스트</li>
</ul>
</li>
</ul>
목록 타이틀1개 내용 여러개 dl스타일
<dl class="list_dl last">
<dt>제목</dt>
<dd>내용</dd>
<dd>내용</dd>
</dl>
list-num
<ul class="list-num">
<li><span class="num">01.</span>내용</li>
<li><span class="num">02.</span>내용</li>
</ul>
box형태
box01_한줄형식
info_box class명에 call이라는 class명 추가로 이미지를 넣어줌
<div class="info_box call">
<p>학교 행정부서 연락처 안내입니다.</p>
</div>
box01_한줄형식
info_box class명에 alim이라는 class명 추가로 이미지를 넣어줌
<div class="info_box alim">
<p>알림입니다.</p>
</div>
box01_여러줄
<div class="info_box ">
<div>내용 p나 div 등등 아무 형식을 써주면 됨</div>
</div>
box01_여러줄 아이콘 넣기(dl 클래스을 붙여서 아이콘 변경)
<div class="info_box ">
<dl>
<dt>제목</dt>
<dd>내용</dd>
<dd>내용</dd>
</dl>
</div>
box02
<div class="box_st02 ">
내용 p나 div 등등 아무 형식을 써주면 됨
</div>
box03
<div class="box_st03">
내용 p나 div 등등 아무 형식을 써주면 됨
</div>
box04
<dl class="box_st04">
<dt>제목</dt>
<dd>내용</dd>
</dl>
컬러
강동파랑 : gd_blue
강동하늘 : gd_sky
강동연두 : gd_green
강동초록강 : gd_green2
테이블
리스트형
테이블의 내용이 많은 경우 div table_Scroll 로 감싸주면 모바일에서 가록 스크롤이 가능해진다.
thead | 제목 | 제목 |
---|---|---|
tbody | 내용 | 내용 |
tfoot | 내용 | 내용 |
<div class="table_scroll">
<table class="table-detail" summary="ㅇ표 입니다">
<caption>
ㅇ표
</caption>
<colgroup>
<col style="width:*" />
<col style="width:*" />
<col style="width:*" />
</colgroup>
<thead>
<tr>
<th scope="col">thead</th>
<th scope="col">제목</th>
<th scope="col">제목</th>
</tr>
</thead>
<tbody>
<tr>
<th class="th01">tbody</th>
<td align="center">내용</td>
<td align="center">내용</td>
</tr>
</tbody>
<tfoot>
<tr>
<th class="th01">tfoot</th>
<td align="center">내용</td>
<td align="center">내용</td>
</tr>
</tfoot>
</table>
</div>
보기형
머리글 | 내용 | 내용 |
---|---|---|
머리글 | 내용 | 내용 |
<table class="ui-view white" summary="ㅇ표 입니다.">
<caption>ㅇ표</caption>
<colgroup>
<col style="width:*" />
<col style="width:*" />
<col style="width:*" />
</colgroup>
<tbody>
<tr>
<th>머리글</th>
<td>내용</td>
<td>내용</td>
</tr>
<tr>
<th>머리글</th>
<td>내용</td>
<td>내용</td>
</tr>
</tbody>
</table>
다운로드할때
다운로드할때_위치 \WebContent\upload\down
hwp 다운로드<a href="/File/Download.do?dir=down&savename=파일명.hwp&realname=파일명.hwp" class="ui-btn blue" target="_blank">다운로드</a>