반응형
1. header
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 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <!-- head 태그 내부에 들어갈 영역 --> <script src="http://code.jquery.com/jquery-1.12.4.js"></script> <c:set var="path" value="${pageContext.request.contextPath}"></c:set> <html> <head> <meta charset="utf-8"> <title>Company</title> <link href="../resources/css/reset.css" rel="stylesheet" type="text/css"> <link href="../resources/css/jquery.fancybox.css" rel="stylesheet" type="text/css"> <link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'> </head> <body> <div id="wrap"> <!-- 헤더부분 --> <header> <div id="logo"> <a href="${pageContext.request.contextPath}/main/main.html">YNG Corp.</a> </div> <div id="hlink"> <ul> <c:choose> <c:when test="${sessionScope.id==null }"> <!-- 세션변수 id 값이 없을때 --> <li><a href="${path}/member/login">로그인·회원가입</a></li> <!-- <li><a href="/web03/member/memberInsert">회원가입|회원가입</a></li> --> </c:when> <c:otherwise> <!-- 세션 변수 id 값이 있을때 --> [ ${sessionScope.name}님 로그인 중 ] <li><a href="${path}/member/logout">로그아웃</a></li> <%-- <li><a href="${path}/member/member_info.do">회원정보 수정</a></li> --%> </c:otherwise> </c:choose> </ul> </div> <nav> <ul> <li class="n1"><a href="${pageContext.request.contextPath}/company/company.html">회사소개</a></li> <li class="n2"><a href="${pageContext.request.contextPath}/product/product.html">제품정보</a></li> <li class="n3"><a href="${pageContext.request.contextPath}/board/board_list.do">커뮤니티</a></li> <li class="n4"><a href="${pageContext.request.contextPath}/mail/mail_form.do">고객지원</a></li> </ul> </nav> </header> | cs |
2. side
1 2 3 4 5 6 7 8 9 10 11 12 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <aside> <h3><div>회사소개</div></h3> <ul> <li><a href="${pageContext.request.contextPath}/company/company.html">ceo 인사말</a></li> <li><a href="${pageContext.request.contextPath}/company/location.html">찾아오시는길</a></li> </ul> </aside> | cs |
3. footer
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 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!-- 푸터 --> <div class="clear"></div> <footer> <address> All contents copyright SNSmedia Corp, ltd. Contact: creativeshake@hanmail.net<br> 서울시 종로구 인사동길 12, 대일빌딩 1006호 | Tel : 02-737-6590 Fax : 02-736-6591 </address> </footer> </div> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript" src="../resources/script/jquery.fancybox.pack.js"> </script> <script type="text/javascript"> $(document).ready(function(){ $(".fancybox").fancybox({ openEffect: 'none', closeEffect: 'none' }); }); </script> </body> </html> | cs |
4.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 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 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 | body { font-size: 0.75em; font-family: "留묒� 怨좊뵓", "Malgun Gothic", "�룍��", Dotum, AppleGothic, sans-serif; line-height: 1.2em; color: #333; background-color: #e8e8e8; } #wrap { margin: 0 auto; width: 944px; background-color: #fff; } a { text-decoration: none; color: #333; } a:hover { color: #39F; text-decoration: none; } .clear { clear: both } header { height: 137px; } #logo { float: left; background: url(../images/logo.png) no-repeat left top; margin: 42px 0 0 18px; text-indent: -9999px; } #logo a { display: block; width: 167px; height: 63px; } #hlink, nav { float: right; } nav ul { list-style: none; } #hlink ul { list-style: none; } #hlink li, nav li { float: left; } #hlink { margin: 11px 28px 0 0; } #hlink li a { padding: 0 10px; } nav { margin: 42px 38px 0 0; clear: right; font-size: 1.4em; text-indent: -9999px; } nav li { background: url(../images/div_line.png) no-repeat center right } nav li.n1 a { background: url(../images/menu1.png) no-repeat top center; transition: all 0.2s ease-in-out; } nav li.n2 a { background: url(../images/menu2.png) no-repeat top center; transition: all 0.2s ease-in-out; } nav li.n3 a { background: url(../images/menu3.png) no-repeat top center; transition: all 0.2s ease-in-out; } nav li.n4 a { background: url(../images/menu4.png) no-repeat top center; transition: all 0.2s ease-in-out; } nav li.n1 a:hover { background: url(../images/menu11.png) no-repeat top center; } nav li.n2 a:hover { background: url(../images/menu21.png) no-repeat top center; } nav li.n3 a:hover { background: url(../images/menu31.png) no-repeat top center; } nav li.n4 a:hover { background: url(../images/menu41.png) no-repeat top center; } nav li a { padding: 0 20px; display: block; width: 118px; height: 20px; } nav li: last-child { background:none} #justar{ margin: 0 0 0 20px; float:left; width:200px; } #justar h3{ text-transform:capitalize; background:url(../images/h3_under.jpg) no-repeat left bottom; padding:0 0 8px 5px; font-family: 'Droid Sans', sans-serif; font-weight:normal; font-size:1.1em; } #justar figure{ text-align:center; padding-top:10px; } #notinews {width: 350px; float:left; margin-left:80px;} ul.tabs{ margin:0; padding:0; float: left; list-style: none; height: 24px; border-bottom:1px solid #999; border-left: 1px solid #999; width: 100%; font-family: 'Droid Sans',sans-serif; } /* 怨듭� �돱�뒪 硫붾돱 �뀒�몢由� 吏��젙 */ ul.tabs li{ float: left; margin:0; padding:0; height:23px; line-height:23px; border: 1px solid #999; border-left: none; margin-bottom: -1px; background: #F6F6F6; overflow: hidden; position: relative; } /* 怨듭� �돱�뒪 硫붾돱 紐⑥뼇吏��젙 */ ul.tabs li a{ text-decoration: none; color: #000; display: block; padding: 0 20px; border: 1px solid #fff; outline: none; } /* 怨듭� �돱�뒪 硫붾돱 �깋源� 蹂�寃� */ ul.tabs li a:hover{ background: #ccc; } html ul.tabs li.active, html ul.tabs li.active a:hover{ background: #fff; border-bottom: 1px solid #fff; } .tab_container{ border-top:none; clear: both; float: left; width: 300px; background: #fff; } .tab_content{ padding: 20px 10px; font-size: 1.1em; } .tab_container ul{ list-style:none; } /* 湲�紐⑸줉�뿉 �솕�궡�몴 �씠誘몄� �꽔湲� */ .tab_container ul li{ line-height:1.7em; background:url(../images/bullet.gif) no-repeat left 10px; padding-left:10px; } #social{ float: right; margin: 0 30px 0 0; width: 180px; } #social h3{ padding: 0 0 15px 0; font-family: 'Droid Sans', sans-serif; font-weight:normal; font-size:1.1em; text-transform:capitalize; text-align: center; } #social ul {list-style:none;} #social ul li { float:left; margin:5px;} #social ul li img{width:33px; height:32px;} #social ul li a{opacity:0.7; transition:all 0.3s ease-in-out;} #social ul li a:hover{ opacity:1} /* 바닥 */ footer{ padding: 20px 0; margin:10px 20px; border-top:1px solid #CCC; } footer address{ width:510px; height:50px; margin:10px auto; padding:0 0 0 90px; text-align:center; font-style:normal; line-height:1.8em; background:url(../images/foot_logo.png) no-repeat left center; } h1#company { height: 143px; background: url(../images/h1back1.jpg) no-repeat; } h1#product{ height: 143px; background:url(../images/h1back2.jpg) no-repeat; } h1#community{ height: 143px; background:url(../images/h1back3.jpg) no-repeat; } h1#company div,h1#product div,h1#community div{ font-size: 65px; font-family: 'Droid Sans', sans-serif; font-weight: normal; text-transform: uppercase; color: #fff; float: right; position: relative; top:115px; right: 10px; } article{ float: right; width: 710px; padding: 20px; } article h2 { font-size: 30px; text-transform: uppercase; font-family: 'NanumGothic', sans-serif; margin: 10px 0 30px ; } article p { line-height: 2em; text-align: justify; margin-bottom: 30px; } article figure{ float: right; margin: 5px 0 20px 20px; } article figure img { box-shadow: 3px 3px 5px #ccc; outline: 1px solid #fff; } article figcaption{ font-family: 'NanumGothic', sans-serif; text-align: center; text-transform: uppercase; font-size: 14px; color: black; position: relative; top: -37px; background-color: rgba(255,255,255,0.5); padding: 10px 0; } aside{ float: left; width: 175px; margin: 30px 0 0 0; background: url(../images/aside_vline.png) no-repeat right bottom; } aside h3 { background: url(../images/aside_h3_back.png) no-repeat left bottom; height: 52px; position: relative; left: -5px; width: 180px; } aside h3 div { background-color: #000; color: #fff; font-size: 22px; text-align: center; padding: 17px 0; } aside ul { list-style: none; margin: 10px 25px 0 0; } aside ul li { text-align: right; line-height: 3em; text-transform: uppercase; } aside ul li a{ transition: all 0.1s ease-in-out; color: #252525; display: block; } aside:hover li a{ color: rgba(0,0,0,0.2); text-shadow: 0px 0px 5px rgba(0,0,0,0.5); } aside ul li a:hover { text-shadow: 1px 1px 10px rgba(0,0,0,0.3); color: #252525; font-size: 1.4em; } article article.phone{ border-bottom: 1px dotted #CCC; margin: 5px 0; width: 650px; float: left; } article article.phone section{ float: left; margin: 0 0 15px 25px; } article figure.pimg{ float:left; margin:0 20px 0 0; } article figure.pimg img{ box-shadow: none; width:100px; height: auto; } article article.phone h4{ font-family: 'NanumGothic',sans-serif; font-size: 1.5em; margin: 10px 0; width: 500px; } article article.phone ul{ list-style:none; margin-left: 15px; } article article.phone ul li{ line-height:1.8em; padding-left: 10px; background:url(../images/bullet.gif) no-repeat left 10px; } article article.phone:last-child{ border-bottom:none; } /* �룷�넗媛ㅻ윭由� css */ article article#gallery figure{ float:left; margin:0 17px; } article article#gallery figure img{ width:200px; height:auto; border: 1px solid #999; outline: 2px solid #fff; box-shadow: 3px 3px 10px #999; } article article#gallery figcaption{ height: 112px; margin-top: -98px; opacity:0.1; transition: all 0.5s ease-in-out; } article article#gallery figcaption:hover{ opacity:1; background-color:rgba(0,0,0,0.5); } #page{ width:700px; margin:0 0 0 230px; text-align:center; } #page ul.paging{ list-style:none; } #page ul.paging li{ float:left; } #page ul.paging li a{ display:inline-block; padding:2px 5px; margin: 0 5px; border: 1px solid #ccc; } #page ul.paging li a:hover{ background-color:#ff7720; color:#fff; } .btn{ float:right; } .btn a{ display: block; color: #fff; text-shadow: 1px 1px 5px #000; width: 150px; margin: 10px 30px 0; border: 1px solid #fff; border-radius: 5px; box-shadow: 0 5px 7px #ccc; text-align: center; padding:7px 0; background: #b8e1fc; Old browsers background: -moz-linear-gradient(top, #b8e1fc 0%, #a9d2f3 10%, #90bae4 25%, #90bcea 37%, #90bff0 50%, #6ba8e5 51%, #a2daf5 83%, #bdf3fd 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b8e1fc), color-stop(10%,#a9d2f3), color-stop(25%,#90bae4), color-stop(37%,#90bcea), color-stop(50%,#90bff0), color-stop(51%,#6ba8e5), color-stop(83%,#a2daf5), color-stop(100%,#bdf3fd)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #b8e1fc 0%,#a9d2f3 10%,#90bae4 25%,#90bcea 37%,#90bff0 50%,#6ba8e5 51%,#a2daf5 83%,#bdf3fd 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #b8e1fc 0%,#a9d2f3 10%,#90bae4 25%,#90bcea 37%,#90bff0 50%,#6ba8e5 51%,#a2daf5 83%,#bdf3fd 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #b8e1fc 0%,#a9d2f3 10%,#90bae4 25%,#90bcea 37%,#90bff0 50%,#6ba8e5 51%,#a2daf5 83%,#bdf3fd 100%); /* IE10+ */ background: linear-gradient(to bottom, #b8e1fc 0%,#a9d2f3 10%,#90bae4 25%,#90bcea 37%,#90bff0 50%,#6ba8e5 51%,#a2daf5 83%,#bdf3fd 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b8e1fc', endColorstr='#bdf3fd',GradientType=0 ); /* IE6-9 */ } .btn a:hover { color: #fff; text-shadow: 0 1px 2px #000; background: #ffb76b; /* Old browsers */ background: -moz-linear-gradient(top, #ffb76b 0%, #ffa73d 50%, #ff7c00 51%, #ff7f04 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb76b), color-stop(50%,#ffa73d), color-stop(51%,#ff7c00), color-stop(100%,#ff7f04)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%); /* IE10+ */ background: linear-gradient(to bottom, #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb76b', endColorstr='#ff7f04',GradientType=0 ); /* IE6-9 */ } .btn a:active { box-shadow: 0 0 15px rgba(0,0,0,0.2); background: #fceabb; /* Old browsers */ background: -moz-linear-gradient(top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fceabb), color-stop(50%,#fccd4d), color-stop(51%,#f8b500), color-stop(100%,#fbdf93)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* IE10+ */ background: linear-gradient(to bottom, #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 ); /* IE6-9 */ } form#upphoto #photoframe {width: 450px;height: 300px;border:1px dotted #999;margin-bottom: 20px;} form#upphoto .photoplace {width: 100%; height: 100%;} form#upphoto {margin: 0 auto;width: 550px;} form#upphoto label{display: block;font-weight: bold;} form#upphoto p {margin: 5px 0;} form#upphoto input[type="text"] {border:1px solid #ccc; width: 450px;height: 20px;} form#upphoto textarea { border:1px solid #ccc;width: 450px; height: 120px;} form#upphoto input[type="submit"]{width: 100px; height: 30px;} /* �젣�뭹 �뒳�씪�씠�뜑 */ /* ul.bjqs{position:relative; list-style:none;padding:0;margin:0;overflow:hidden; display:none;} li.bjqs-slide{position:absolute; display:none;} ul.bjqs-controls{list-style:none;margin:0;padding:0;z-index:9999;} ul.bjqs-controls.v-centered li a{position:absolute;} ul.bjqs-controls.v-centered li.bjqs-next a{right:0;} ul.bjqs-controls.v-centered li.bjqs-prev a{left:0;} ol.bjqs-markers{list-style: none; padding: 0; margin: 0; width:100%;} ol.bjqs-markers.h-centered{text-align: center;} ol.bjqs-markers li{display:inline;} ol.bjqs-markers li a{display:inline-block;} p.bjqs-caption{display:block;width:96%;margin:0;padding:2%;position:absolute;bottom:0;} | cs |
반응형
'매일코딩 > Spring' 카테고리의 다른 글
19.스프링프로젝트 - 화면이동 redirect (0) | 2016.11.01 |
---|---|
18.스프링프로젝트 - 메뉴바(구버전) 방명록 조회 수정 삭제 (0) | 2016.11.01 |
16.스프링프로젝트 - 메인 화면 소스 (0) | 2016.11.01 |
15.스프링프로젝트 - 맴버 수정 삭제 (0) | 2016.11.01 |
14.스프링프로젝트 - 맴버 아이디 비번 체크 (0) | 2016.11.01 |
댓글