본문 바로가기

Programming/국비학원

220623 - 웹페이지 구현 실습 (webcafe)

 

 

  • index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="hk">  <!-- 제작자 정보 -->
    <meta name="keywords" content="webcafe, 웹접근성">  <!-- 페이지 키워드 -->
    <meta name="description" content="html5 css3 소개">  <!-- 페이지 설명 -->
    <meta name="robots" content="all">
    <link rel="shortcut icon" href="images/common/webcafe.ico">
    <title>webcafe</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/common.css">
</head>
<body>
    <!-- 건너뛰기 링크 시작 -->
    <a id="skipNav" href="#">본문 바로가기</a>
    <!-- 건너뛰기 링크 종료 -->
 
    <!-- wrapper 영역 시작 -->
    <div id="wrapper">
        <!-- 헤더 영역 시작 (로고, 메인메뉴) -->
        <header>
            <h1 class="logo">
                <a href="index.html">
                    <img src="images/logo.png" alt="">
                </a>
            </h1>
            <ul class="infoLink">
                <li><a href="index.html"></a></li> <!-- 링크 모음이므로 nav 이용 X -->
                <li><a href="#">로그인</a></li> 
                <li><a href="join.html">회원가입</a></li>
                <li><a href="#">사이트맵</a></li>
                <li><a href="#">ENGLISH</a></li>
            </ul>
            <nav role="navigation"> <!-- role: (웹 접근성) 구조 정보 전달 -->
                <h2 class="hidden">메인 메뉴</h2>  <!-- hidden 클래스 모두 숨기기 예정 -->
                <ul class="mainMenu">
                    <li><a href="#">HTML에 대해</a>
                        <ul class="aboutHTML">
                            <li><a href="#">HTML5 소개</a></li>
                            <li><a href="#">레퍼런스 소개</a></li>
                            <li><a href="#">활용 예제</a></li>
                        </ul>
                    </li>
                    <li><a href="#">CSS에 대해</a>
                        <ul class="aboutCSS">
                            <li><a href="#">CSS 소개</a></li>
                            <li><a href="#">CSS2 VS CSS3</a></li>
                            <li><a href="#">CSS 애니메이션</a></li>
                            <li><a href="#">CSS Framework</a></li>
                        </ul>                    
                    </li>
                    <li><a href="#">웹 표준</a>
                        <ul class="webStandard">
                            <li><a href="#">웹 표준이란</a></li>
                            <li><a href="#">W3C</a></li>
                            <li><a href="#">HTML5의 현재와 미래</a></li>
                        </ul>                    
                    </li>
                    <li><a href="#">웹 접근성</a>
                        <ul class="webAccessibility">
                            <li><a href="#">웹 접근성의 개요</a></li>
                            <li><a href="#">장애 환경의 이해</a></li>
                            <li><a href="#">장차법</a></li>
                            <li><a href="#">웹 접근성 품질마크</a></li>
                        </ul>                    
                    </li>
                    <li><a href="#">묻고 답하기</a>
                        <ul class="qna">
                            <li><a href="#">묻고 답하기</a></li>
                            <li><a href="#">FAQ</a></li>
                            <li><a href="#">1대1 질문</a></li>
                            <li><a href="#">웹표준</a></li>
                            <li><a href="#">웹접근성</a></li>
                        </ul>                    
                    </li>
                    <li><a href="#">자료실</a>
                        <ul class="archive">
                            <li><a href="#">공개 자료실</a></li>
                            <li><a href="#">이미지 자료실</a></li>
                            <li><a href="#">웹표준 자료실</a></li>
                            <li><a href="#">웹접근성 자료실</a></li>
                        </ul>                    
                    </li>
                </ul>
            </nav>
        </header>
        <!-- 헤더 영역 종료 -->
 
        <!-- 비주얼 영역 시작 (이미지)-->
        <div id="visual">
            <p>Web Standard &amp; Accessibility</p>
        </div>
        <!-- 비주얼 영역 종료 -->
 
        <!-- 메인 콘텐츠 영역 시작 -->
        <div id="contentsArea">
            <!-- 로그인/배너/용어설명 시작 -->
            <div id="uesfulArea">
                <section class="login">
                    <h2>로그인</h2>
                    <form action="login.jsp" method="post" id="loginForm" name="loginForm">  
<!-- 서버로 전송할 파일 -->
                        <fieldset>
                            <legend>회원 로그인 폼</legend>  <!-- 숨기기 예정 -->
                            <p>
                                <label for="userId">아이디</label>
                                <input type="text" id="userId" name="userId" 
placeholder="Guest" required>
                            </p>
                            <p>
                                <label for="userPw">비밀번호</label>
                                <input type="text" id="userPw" name="userPw" 
placeholder="4자이상 8자이하" required>
                            </p>
                            <button type="submit">로그인</button> 
<!-- 디자인 위해 input 대신 button -->
                        </fieldset>
                    </form>
                    <div class="memberLink">
                        <a href="join.html" class="join">회원가입</a>
                        <a href="#" class="find">아이디/비밀번호 찾기</a>
                    </div>
                </section>
 
                <section class="validation">
                    <h2 class="hidden">유효성 검사</h2>
                    <ul >
                        <li>
                            <a href="http://validator.w3.org" 
title="마크업 유효성 검사 사이트로 이동" target="_blank">
                                W3C Markup Validation</a>
                        </li>
                        <li>
                            <a href="http://jigsaw.w3.org/css-validator/"
                            title="CSS 유효성 검사 사이트로 이동" target="_blank">
                            W3C CSS Validation Service</a>
                        </li>
                    </ul>
                </section>
 
                <section class="term">
                    <h2>웹 관련 용어</h2>
                    <a href="#"> <!-- 내용 전체 링크 -->
                        <dl>
                            <dt>웹 표준이란?</dt>
                            <dd><img src="images/web_standards.gif" alt="W3C로고" 
width="61" height="68"></dd>
                            <dd>W3C 단체에서 규정한 웹 기술 사양에 대한 규칙을 말하며
                                표준 규격은..
                            </dd>
                        </dl>
                    </a>
                </section>     
            </div>
            <!-- 로그인/배너/용어설명 종료 -->
 
            <!-- 검색폼/공지사항/자료실/새소식 시작 -->
            <div id="infoArea">
                <section class="search">
                    <h2 class="hidden">웹 카페 검색</h2>
                    <form action="search.jsp" method="get" id="searchForm" name="searchForm">
                        <fieldset>
                            <legend>검색 폼</legend>
                            <label for="keyword">자료 검색</label>
                            <input type="search" id= "keyword" name="keyword" 
placeholder="검색어를 입력하세요" required>
                            <button type="submit">검색</button>
                        </fieldset>
                    </form>
                </section>
 
                <div class="board">
                    <section id="notice">
                        <h2><a href="#notice">공지사항</a></h2>
                        <ul>
                            <li>
                                <a href="#">HTML의 모든 것을 알려주마 샘플 활용법</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                            <li>
                                <a href="#">W3C 사이트 리뉴얼 소식 및 공지사항</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                            <li>
                                <a href="#">KWCAG2.0 소식</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                            <li>
                                <a href="#">서버 점검으로 인한 사이트 이용 안내입니다.</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                            <li>
                                <a href="#">여러분들이 생각하는 웹 접근성에 대해 
이야기를 나누어 봅시다.</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                        </ul>
                        <a href="#" class="more" title="공지사항 더보기">더보기</a>
                    </section>
                    <section id="pds">
                        <h2><a href="#pds">자료실</a></h2>
                        <ul>
                            <li>
                                <a href="#">디자인 사이트 링크 모음</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                            <li>
                                <a href="#">웹 접근성 관련 자료 모음</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                            <li>
                                <a href="#">예제 샘플 응용해보기</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                            <li>
                                <a href="#">웹 접근성 향상을 위한 국가 표준 기술 가이드라인</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                            <li>
                                <a href="#">로얄티 프리 이미지 자료</a>
                                <time datetime = "2013-10-04">2013.10.04</time>
                            </li>
                        </ul>
                        <a href="#" class="more" title="자료실 더보기">더보기</a>
                    </section>
                </div>
 
                <section class="news">
                    <h2>새소식</h2>
                    <article>
                        <a href="#">
                            <h3>W3C 사이트가 리뉴얼되었습니다.</h3>
                            <time datetime="2013-10-04">2013.10.04</time>
                            <p>디자인 및 다양한 view 환경을 고려하여 구성돼 있으며
                                기존보다 최신 정보 및 개발자를 위한 가이드도 찾기 쉽도록
 구성되어 있습니다.
                            </p>
                            <figure>
                                <img src="images/news.gif" alt="news" width="112" height="66">
                                <figcaption>W3C 리뉴얼</figcaption>
                            </figure>
                        </a>
                    </article>
                    <a href="#" class="more" title="새소식 더보기">더보기</a>
                </section>
            </div>
            <!-- 검색폼/공지사항/자료실/새소식 종료 -->
 
            <!-- 신규이벤트/관련사이트/인기사이트 시작 -->
            <div id="linkArea">
                <section class="event">
                    <h2>신규<span>이벤트</span></h2>
                    <div id="eventDetail">
                        <a href="">
                            <img src="images/free_gift.gif" 
alt="이벤트 경품: 웹표준 핵심 가이드 북 2"
                            width="163" height="77">
                            <p><em>웹표준 핵심 가이드북 2 출시</em>선착순 400명 한정!</p>
                        </a>
                    </div>
                    <div class="btnEventArea">
                        <a href="#" class="btnEventPrev">이전 이벤트보기</a>
                        <a href="#" class="btnEventNext">다음 이벤트보기</a>
                    </div>
                </section>
 
                <section class="relatedLink">
                    <h2>관련<span>사이트</span></h2>
                    <ul>
                        <li><a href="http://jeumedia.com">제우미디어</a></li>
                        <li><a href="http://www.w3c.org">W3C</a></li>
                        <li><a href="http://www.csszengarden.com">CSS ZEN GARDEN</a></li>
                        <li><a href="http://www.webstandards.org">WEB STANDARD</a></li>
                        <li><a href="http://www.wah.or.kr">웹 접근성 연구소</a></li>
                    </ul>
                </section>
 
                <section class="hotLink">
                    <h2>인기<span>사이트</span></h2>
                    <ol>
                        <li class="no1">
                            <a href="#">w3C</a>
                            <em class="up">상승</em>
                        </li>
                        <li class="no2">
                            <a href="#">CSS Zengarden</a>
                            <em class="up">하락</em>
                        </li>
                        <li class="no3">
                            <a href="#">Web Standards</a>
                            <em class="up">유지</em>
                        </li>
                        <li class="no4">
                            <a href="#">웹접근성 연구소</a>
                            <em class="up">상승</em>
                        </li>
                    </ol>
                    <a href="#" class="more" title="인기사이트 더보기">더보기</a>
                </section>
            </div>
            <!-- 신규이벤트/관련사이트/인기사이트 종료 -->                        
        </div>
        <!-- 메인 콘텐츠 영역 종료 -->
 
        <!-- 슬로건 영역 시작 -->
        <div id="slogan">
            <h2>Web Cafe 슬로건</h2>
            <p>
                <q cite="http://www.w3.org/WAI/">The power of the Web
                    is in its universality, Access by everyone regardless
                    of disability is an essential aspect.
                </q>
            </p>
            <footer class="hidden"> <!-- 출처 명시용 -->
                출처: World Wide Web Consortium - http://w3.org/WAI/
            </footer>
        </div>
        <!-- 슬로건 영역 종료 -->
 
        <!-- 푸터 영역 시작 -->
        <footer id="footer">
            <div id="footerInner">
                <a href="footerLogo">
                    <img src="images/footer_logo.png" alt="WebCafe">
                </a>
                <section class="guide">
                    <h2 class="hidden">사이트 이용안내</h2>
                    <ul>
                        <li><a href="#">회사소개</a></li>
                        <li><a href="#">개인정보 보호정책</a></li>
                        <li><a href="#">이메일 주소 무단 수집거부</a></li>
                        <li><a href="#">contact us</a></li>
                        <li><a href="#">site map</a></li>
                    </ul>
                </section>
                <address>
                    <span>서울시 마포구 상수동 123-12 한주빌딩 5층</span>
                    <span>· 전화: 02-234-5678</span>
                    <span>· E-MAIL: <a href="mailto:webmaster@webcafe.com">
                        webmaster
                    </a></span>
                </address>
                <p class="copyright">
                    Copyright since &copy; 2010 by Web Cafe
                </p>
            </div>
        </footer>
        <!-- 푸터 영역 종료 -->
    </div>
    <!-- wrapper 영역 종료 -->
</body>
cs

 

 

 

  • common.css (레이아웃)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
@charset "utf-8";
/* 초기화 */
html,body,div,header,nav,section,aside,article,footer,figure,
figcaption,legend,ul,ol,li,dl,dt,dd,h1,h2,p{ /* *{}보다 속도 빠름 */
    margin: 0;
    padding: 0;
}
ul{
    list-style: none;
}
fieldset{
    border: 0;
}
/* 숨김 */
.hidden, legend, caption{
    position: absolute;
    left: -9999px; /*화면 밖으로 보냄*/
}
/*웹 폰트 (폰트 없는 클라이언트 서버에서도 구현 cf.@import : 구글 제공 폰트 적용)*/
@font-face {
    font-family: "Nanum";
    font-weight: 400;
    src: url("font/NanumGothic.eot?#iefix") format("embedded-opentype"), 
        /*# iefix:인터넷익스플로러 호환 */
         url("font/NanumGothic.woff") format("woff"),
         url("font/NanumGothic.ttf") format("truetype");
}
@font-face {
    font-family: "NanumBold";
    font-weight: 600;
    src: url("font/NanumGothicBold.eot?#iefix") format("embedded-opentype"),
         url("font/NanumGothicBold.woff") format("woff"),
         url("font/NanumGothicBold.ttf") format("truetype");
}
@font-face {
    font-family: "NanumEX";
    font-weight: 400;
    src: url("font/NanumGothicExtraBold.eot?#iefix") format("embedded-opentype"),
         url("font/NanumGothicExtraBold.woff") format("woff"),
         url("font/NanumGothicExtraBold.ttf") format("truetype");
}
/* 도형 글꼴 */
@font-face {
    font-family: "webcafeIcon";
    src: url("font/webcafeIcon.eot#iefix") format("embedded-opentype"),
         url("font/webcafeIcon.woff") format("woff"),
         url("font/webcafeIcon.ttf") format("truetype"),
         url("font/webcafeIcon.svg#webcaferegular") format("svg");
}
/* 링크 스타일 */
a:link{
    color: #4f4f4f;
    text-decoration: none;
}
a:visited{
    color: #8a8e91;
}
a:hover, a:focus{
    color: #f00;
    text-decoration: none;
}
/* 기본 스타일 */
body {
    font-family: "Nanum";
    color: #000;
    background-color: #fff;
    font-size: 0.75em; /* 12px */
    line-height: 1.2;
}
/* 건너뛰기 링크 */
#skipNav{
    position: absolute;
    left: -9999px;
}
#skipNav:focus{
    left: 50%;
    margin: 3px 0 0 -3em;
    padding: 5px 15px;
    outline: 0;
    z-index: 10;
}
/* 전체 레이아웃 */
header, #visual, #contentsArea, #slogan, #footerInner{
    width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}
#wrapper{
    background-image: url(images/bg_flower.png), 
    linear-gradient(to bottom, #c7c7c7 0%, #fff 50%, #fff 100%);
    /* % : 그라데이션 지점 */
    background-repeat: no-repeat;
    background-position: center top;
}
/* 헤더 영역 */
header{
    height: 110px;
}
/* 비주얼 영역 */
#visual{
    height: 120px;
}
/* 메인 콘텐츠 영역 */
#contentsArea{
    min-height: 400px;
    padding: 30px 0 30px 30px;    
}
/* 슬로건 영역 */
#slogan{
    padding: 15px 0;
}
/* 푸터 영역 */
footer{
    padding: 15px 0;
}
cs

 

 

 

  • common.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
@charset "utf-8";
/* 초기화 */
html,body,div,header,nav,section,aside,article,footer,figure,
figcaption,legend,ul,ol,li,dl,dt,dd,h1,h2,p{ /* *보다 속도 빠르게 */
    margin: 0;
    padding: 0;
}
ul{
    list-style: none;
}
fieldset{
    border: 0;
}
/* 숨김 */
.hidden, legend, caption{
    position: absolute;
    left: -9999px; /*화면 밖으로 보냄*/
}
/*웹 폰트 (폰트 없는 컴퓨터 서버에서도 구현되도록 cf.@import : 구글 제공 폰트 적용)*/
@font-face {
    font-family: "Nanum";
    font-weight: 400;
    src: url("font/NanumGothic.eot?#iefix") format("embedded-opentype"), 
        /*# iefix:인터넷익스플로러 호환 */
         url("font/NanumGothic.woff") format("woff"),
         url("font/NanumGothic.ttf") format("truetype");
}
@font-face {
    font-family: "NanumBold";
    font-weight: 600;
    src: url("font/NanumGothicBold.eot?#iefix") format("embedded-opentype"),
         url("font/NanumGothicBold.woff") format("woff"),
         url("font/NanumGothicBold.ttf") format("truetype");
}
@font-face {
    font-family: "NanumEX";
    font-weight: 400;
    src: url("font/NanumGothicExtraBold.eot?#iefix") format("embedded-opentype"),
         url("font/NanumGothicExtraBold.woff") format("woff"),
         url("font/NanumGothicExtraBold.ttf") format("truetype");
}
/* 도형 글꼴 */
@font-face {
    font-family: "webcafeIcon";
    src: url("font/webcafeIcon.eot#iefix") format("embedded-opentype"),
         url("font/webcafeIcon.woff") format("woff"),
         url("font/webcafeIcon.ttf") format("truetype"),
         url("font/webcafeIcon.svg#webcaferegular") format("svg");
}
/* 링크 스타일 */
a:link{
    color: #4f4f4f;
    text-decoration: none;
}
a:visited{
    color: #8a8e91;
}
a:hover, a:focus{
    color: #f00;
    text-decoration: none;
}
/* 기본 스타일 */
body {
    font-family: "Nanum";
    color: #000;
    background-color: #fff;
    font-size: 0.75em; /* 12px */
    line-height: 1.2;
}
/* 건너뛰기 링크 */
#skipNav{
    position: absolute;
    left: -9999px;
}
#skipNav:focus{
    left: 50%;
    margin: 3px 0 0 -3em;
    padding: 5px 15px;
    outline: 0;
    z-index: 10;
}
/* 전체 레이아웃 */
header, #visual, #contentsArea, #slogan, #footerInner{
    width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}
#wrapper{
    background-image: url(images/bg_flower.png), 
    linear-gradient(to bottom, #c7c7c7 0%, #fff 50%, #fff 100%);
    /* % : 그라데이션 지점 */
    background-repeat: no-repeat;
    background-position: center top;
}
/* 헤더 영역 */
header{
    height: 110px;
    position: relative;
    background-color: #fff;
    border-radius: 0 0 15px 15px;
    padding: 0 30px;
}
.logo{
    position: absolute;
    top: 37px;
    left: 60px;
}
.infoLink{ /* 홈 로그인 회원가입 메뉴 */
    text-align: right;
}
.infoLink>li{
    display: inline-block;
    padding: 8px 0 7px 3px;
}
.infoLink a::before{
    content: ":";
    padding-right: 8px;
}
.infoLink>li:first-child a::before{ /*.infoLink의 첫번째 li의 후손인 a 앞에*/
    content: "";
}
.mainMenu{
    background-image: linear-gradient(to bottom,
    #ffc848 0%, #ff8208 40%, #ffc848 100%);
    padding-left: 225px;  /*로고 오른쪽*/
    height: 45px;
    border-top: 2px solid;
    border-radius: 0 0 5px 5px;
}
.mainMenu>li{
    position: relative;
}
.mainMenu li, .mainMenu a{ /*상하위메뉴 좌우정렬*/
    display: inline-block;
}
.mainMenu>li>a{
    font-family: "NanumEX";
    font-size: 1.2em;
    padding: 15px 20px 14px;  /*클릭 범위 넓힘*/
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 1px 0 0 rgba(0, 0, 0, 0.3),
                 -1px 0 0 rgba(0, 0, 0, 0.3),
                 0 1px 0 rgba(0, 0, 0, 0.3),
                 0 -1px 0 rgba(0, 0, 0, 0.3);
    border-left: 1px solid #fff;
}
.mainMenu>li>a:hover, .mainMenu>li>a:focus{
    color: rgb(235, 235, 148);
}
.mainMenu>li>a:hover::after, .mainMenu>li>a:focus::after{ /* 메뉴 아래 선 긋기 */
    content: "";
    display: block;
    height: 2px;
    background-color: #000;
    width: 100%;
    position: relative;
    top: 12px;
}
.mainMenu ul{ /*하위메뉴*/
    position: absolute; /* li(상위메뉴,부모) 안쪽 기준 (li에 block 선 있으므로 그 밑에서 시작) */ 
    z-index: 10;
    white-space: nowrap; /* 좌우정렬 */
}
.mainMenu ul a::before{
    font-family: "webcafeIcon";
    content: "r"; /*도형 글꼴*/
    color: #666;
    position: relative; /*도형 위치 조정*/
    top: 2px;
}
.mainMenu ul a:hover::before, .mainMenu ul a:focus::before{
    content: "c"; /*도형 변경*/
    color: #f00;
}
.mainMenu>li:hover ul{
    display: block; 
    /*상위메뉴(li) 호버하면 하위메뉴(ul) 보이도록*/
}
.mainMenu ul a{  /* 하위메뉴 클릭 범위 넓히기 */
    padding: 8px 0 7px 15px;
}
.aboutHTML{
    display: none;
}
.aboutCSS{
    display: none;
}
.webStandard{
    display: none;
}
.webAccessibility{
    display: none;
    left: -100px;
}
.qna{
    display: none;
    left: -150px;
}
.archive{
    display: none;
    right: 0;
}
/* 비주얼 영역 */
#visual{
    height: 120px;
    position: relative;
}
#visual>p{
    position: absolute;
    font-family: Georgia, 'Times New Roman',Times, serif;
    font-size: 2em;
    font-weight: bold;
    top: 75px;
    left: 400px;
    animation: textAni 1s;
}
#visual::before, #visual::after{ /*앞 뒤를 영역으로 설정*/
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 140px;
}
#visual::before{
    background-image: url(images/ani_flower_01.png),
                      url(images/ani_flower_02.png);
    background-repeat: no-repeat;
    background-position: 0 5px, 670px 0;
}
#visual::after{
    background-image: url(images/ani_flower_03.png),
                      url(images/ani_flower_04.png);
    background-repeat: no-repeat;
    background-position: 300px 35px, 800px 65px;
}
@keyframes textAni {
    0%{
        font-size: 1em;
        top: 0;
        left: 0;
        opacity: 0.2;
    }
    100%{
        font-size: 2em;
        top: 75px;
        left: 400px;
        opacity: 1;
    }
}    
@keyframes flowerAni {
    from{
        opacity: 1;
    }
    to{
        opacity: 0;
    }
}
/* 메인 콘텐츠 영역 */
#contentsArea{
    min-height: 400px;
    padding: 30px 0 30px 30px;
 
}
/* 슬로건 영역 */
#slogan{
    padding: 15px 0;
}
/* 푸터 영역 */
footer{
    padding: 15px 0;
}
cs