1. HOME 화면



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko">

 <head>

  <meta http-equiv="content-type" content="text/html;charset=utf-8" />

   <meta name="viewport" content="width,  initial-scale=1.0, maximum-scale=1.0" /> 

   <meta name="format-detection" content="telephone=no">

  <title>YM</title>

 <link rel="stylesheet" type="text/css"  href="css/mobile.css" media="only screen and (max-width:400px)"  />

 <link rel="stylesheet" type="text/css"  href="css/desktop.css" media="only screen and (min-width:401px)"  />

<style type="text/css">

</style>

 </head>


 <body>


<div id="skipNav">

<a href="#contents">본문 바로가기</a>

</div>


<hr class="hidden" />


<div id="wrap">

<div id="header">

<h1 id="logo"><img src="img/ym.gif" width="145" height="48" alt="YM LOGO" /></h1>

<h2 class="noVisible">메인메뉴</h2>

<ul id="menu">

<li class="current"><a href="index.html">HOME</a></li>

<li><a href="about.html">ABOUT</a></li>

<li><a href="portfolio.html">PORTFOLIO</a></li>

<li><a href="contact.html">CONTACT</a></li>

</ul>

</div>

<hr class="hidden" />

<div id="contents">

<div id="campaign">

<img src="img/penguins.jpg"  width="960" height="400" alt=""  />

<p class="caption">새로운 기술을 학습합니다. </p>

</div>

</div>

<hr  class="hidden" />


<address id="footer">

Copyright &copy; 2013 YM. All rights reserved <br />

<a href="tel:02-000-0000"><i></i><span>전화</span>(02)000-0000 </a>

<i></i><span>팩스</span>(02)000-1111

</address>


</div>

  

 </body>

</html>




2. ABOUT 화면



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko">

 <head>

  <meta http-equiv="content-type" content="text/html;charset=utf-8" />

  <meta name="viewport" content="width,  initial-scale=1.0, maximum-scale=1.0" /> 

  <title>ABOUT:YM</title>

 <link rel="stylesheet" type="text/css"  href="css/mobile.css" media="only screen and (max-width:400px)"  />

 <link rel="stylesheet" type="text/css"  href="css/desktop.css" media="only screen and (min-width:401px)"  />

<style type="text/css">

</style>

 </head>


 <body>


<div id="skipNav">

<a href="#contents">본문 바로가기</a>

</div>


<hr class="hidden" />


<div id="wrap">

<div id="header">

<h1 id="logo"><img src="img/ym.gif" width="145" height="48" alt="YM LOGO" /></h1>

<h2 class="noVisible">메인메뉴</h2>

<ul id="menu">

<li><a href="index.html">HOME</a></li>

<li class="current"><a href="about.html">ABOUT</a></li>

<li><a href="portfolio.html">PORTFOLIO</a></li>

<li><a href="contact.html">CONTACT</a></li>

</ul>

</div>

<hr class="hidden" />

<div id="contents">

<h1>about</h1>

<div class="onethird">

<h2>우리의 생활 속에 늘 가까이 있습니다.</h2>

<p>가족의 웃음이 담긴 따뜻한 사진에도, 친구와 함께 듣는 즐거운 음악에도, 연인을 위해 정성들인 맛있는 음식에도 일상의 작은 감동이 만드는 행복함이 있습니다. 마음을 나누는 행복한 생활 속에 삼성이 언제나 함께 하고 있습니다. 신뢰와 사랑으로 성장해 온 삼성은 더 좋은 세상을 위해 노력합니다.</p>

</div>


<div class="onethird">

<h2>사람과 환경을 존중하는 지속가능경영을 실천합니다.</h2>

<p>장기적인 관점에서의 성장과 번영을 위한 친환경 녹색경영과 사회적 책임을 실천합니다. 기업시민으로서 사회구성원들과 서로 돕고 사랑을 나누는 삼성은 사랑,기업,사회, 환경의 조화로운 발전을 위해 노력합니다. 우리 아이들의 밝고 건강한 미래를 위해 삼성은 아름다운 세상을 만들어 갑니다.</p>

</div>


<div class="onethird  last">

<h2>글로벌 리더로서 생각의 변화를 이끌어 갑니다.</h2>

<p>전자,기계,화학,금융 등 대한민국을 뛰어 넘어 세계 속에 우뚝 선 우리의 대표 브랜드 삼성. 글로벌 일류기업으로서 최고의 기술력과 최상의 서비스, 새로운 미래를 위한 끊임없는 도전과 혁신으로 생각의 변화를 주도하고 있습니다. 삼성은 항상 여러분의 생활 속에 함께 합니다.</p>

</div>


</div>

<hr  class="hidden" />


<address id="footer">

Copyright &copy; 2013 YM. All rights reserved <br />

<i></i><span>전화</span>(02)000-0000 <i></i><span>팩스</span>(02)000-1111

</address>


</div>

  

 </body>

</html>




3. PORTFOLIO 화면


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko">
 <head>
  <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  <meta name="viewport" content="width,  initial-scale=1.0, maximum-scale=1.0" /> 
  <title>PORTFOLIO:YM</title>
<link rel="stylesheet" type="text/css"  href="css/mobile.css" media="only screen and (max-width:400px)"  />
<link rel="stylesheet" type="text/css"  href="css/desktop.css" media="only screen and (min-width:401px)"  />
<style type="text/css">
</style>
 </head>

 <body>

<div id="skipNav">
<a href="#contents">본문 바로가기</a>
</div>

<hr class="hidden" />

<div id="wrap">
<div id="header">
<h1 id="logo"><img src="img/ym.gif" width="145" height="48" alt="YM LOGO" /></h1>
<h2 class="noVisible">메인메뉴</h2>
<ul id="menu">
<li><a href="index.html">HOME</a></li>
<li><a href="about.html">ABOUT</a></li>
<li class="current"><a href="portfolio.html">PORTFOLIO</a></li>
<li><a href="contact.html">CONTACT</a></li>
</ul>
</div>
<hr class="hidden" />
<div id="contents">
<h1>portfolio</h1>
<!-- 
<div class="mySectionNav">
<ul class="myNav">
<li class="current"><a href="http://112.217.215.74/?page_id=36">디지털 사이니지</a></li>
<li><a href="http://112.217.215.74/?page_id=887">공연장 및 행사장용 영상 시스템</a></li>
<li><a href="http://112.217.215.74/?page_id=890">영상 방송 시스템 솔루션</a></li>
<li><a href="http://112.217.215.74/?page_id=892">임베디드 시스템 솔루션</a></li>
</ul>
</div>
 -->
<div class="portfolio">
<ul>
<li>
<div class="thumb">
<img src="img/Chrysanthemum.jpg" width="235" height="156" alt="이름 모를 꽃" />
</div>
<p class="date">2012.3.</p>
</li>
<li>
<div class="thumb">
<img src="img/Desert.jpg" width="235" height="156" alt="사막" />
</div>
<p class="date">2012.5.</p>
</li>
<li>
<div class="thumb">
<img src="img/food3.jpg" width="235" height="156" alt="스테이크" />
</div>
<p class="date">2012.5.</p>
</li>
<li>
<div class="thumb">
<img src="img/j1.jpg" width="235" height="156" alt="보석 목걸이" />
</div>
<p class="date">2013.1.</p>
</li>
<li>
<div class="thumb">
<img src="img/pizza.jpg" width="235" height="156" alt="피자" />
</div>
<p class="date">2013.1.</p>
</li>
<li>
<div class="thumb">
<img src="img/food1.jpg" width="235" height="156" alt="전채 요리" />
</div>
<p class="date">2013.3.</p>
</li>
<li>
<div class="thumb">
<img src="img/Lighthouse.jpg" width="235" height="156" alt="고성" />
</div>
<p class="date">2013.7.</p>
</li>
</ul>
</div>

</div>  <!--  end of contents -->
<hr  class="hidden" />

<address id="footer">
Copyright &copy; 2013 YM. All rights reserved <br />
<i></i><span>전화</span>(02)000-0000 <i></i><span>팩스</span>(02)000-1111
</address>

</div>  <!--  end of wrap -->
  
 </body>
</html>



4. CONTACT 화면



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko">
 <head>
  <meta http-equiv="content-type" content="text/html;charset=utf-8" />
   <meta name="viewport" content="width,  initial-scale=1.0, maximum-scale=1.0" /> 
  <title>CONTACT:YM</title>
  <link rel="stylesheet" type="text/css"  href="css/mobile.css" media="only screen and (max-width:400px)"  />
  <link rel="stylesheet" type="text/css"  href="css/desktop.css" media="only screen and (min-width:401px)"  />
<style type="text/css">
</style>
 </head>

 <body>

<div id="skipNav">
<a href="#contents">본문 바로가기</a>
</div>

<hr class="hidden" />

<div id="wrap">
<div id="header">
<h1 id="logo"><img src="img/ym.gif" width="145" height="48" alt="YM LOGO" /></h1>
<h2 class="noVisible">메인메뉴</h2>
<ul id="menu">
<li><a href="index.html">HOME</a></li>
<li><a href="about.html">ABOUT</a></li>
<li><a href="portfolio.html">PORTFOLIO</a></li>
<li class="current"><a href="contact.html" >CONTACT</a></li>
</ul>
</div>
<hr class="hidden" />
<div id="contents">
<h1>contact</h1>
<div class="onehalf">
<iframe width="425" title="회사 위치"  height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.kr/maps?f=q&amp;source=s_q&amp;hl=ko&amp;geocode=&amp;q=%EC%84%9C%EC%9A%B8%EB%9E%9C%EB%93%9C&amp;aq=&amp;sll=37.444118,126.988527&amp;sspn=0.147193,0.241699&amp;ie=UTF8&amp;hq=%EC%84%9C%EC%9A%B8%EB%9E%9C%EB%93%9C&amp;t=m&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="https://maps.google.co.kr/maps?f=q&amp;source=embed&amp;hl=ko&amp;geocode=&amp;q=%EC%84%9C%EC%9A%B8%EB%9E%9C%EB%93%9C&amp;aq=&amp;sll=37.444118,126.988527&amp;sspn=0.147193,0.241699&amp;ie=UTF8&amp;hq=%EC%84%9C%EC%9A%B8%EB%9E%9C%EB%93%9C&amp;t=m&amp;z=14&amp;iwloc=A" style="color:#0000FF;text-align:left">크게 보기</a></small>
</div>
<div class="twohalf">
<form  method="post" action="">
<ul>
<li>
<p><label for="pname">Name <em>(필수)</em></label></p>
<p><input type="text" name="pname" id="pname"  /></p>
</li>
<li>
<p><label for="pemail">E-mail <em>(필수)</em></label></p>
<p><input type="text" name="pemail"  id="pemail"  /></p>
</li>
<li>
<p>Gender</p>
<p><label for="man">male</label> <input type="radio" name="pgender"  id="man" value="man"  />
<label for="woman">female</label> <input type="radio" name="pgender"  id="woman" value="woman"  />
</p>
</li>
<li>
<p><label for="message">Message</label></p>
<p><textarea name="message"  rows="10" cols="30"  id="message" ></textarea></p>
</li>
 
<li>
<input type="submit" name="submit" value="Send Message"  />
</li>
</ul>
</form>
</div>  <!-- end of onehalf -->

</div>  <!-- end of contents -->
<hr  class="hidden" />

<address id="footer">
Copyright &copy; 2013 YM. All rights reserved <br />
<i class="phone"></i><span>전화</span>(02)000-0000 <i class="fax"></i><span>팩스</span>(02)000-1111
</address>

      <div class="row">
        <div title="Code: 0xe804" class="the-icons span3"><i class="icon-briefcase"></i> <span class="i-name">icon-briefcase</span><span class="i-code">0xe804</span></div>
        <div title="Code: 0xe803" class="the-icons span3"><i class="icon-phone"></i> <span class="i-name">icon-phone</span><span class="i-code">0xe803</span></div>
      </div>

</div>  
 </body>
</html>



5. desktop.css

@charset "utf-8";

@font-face {
font-family: 'Nanum Gothic';
src: url('../font/nanum.ttf') ;
}
@font-face {
font-family: 'Yanone';
src: url('../font/Yanone.woff') ;
}
html, body {
width: 100%; height: 100%;
}
body, div, p, ul, ol, li, h1, h2, h3, h4 {
padding: 0; margin: 0;
}
ol, ul, li {
list-style: none;
}
img {
border: none; 
}
body {
font-family: 'Nanum Gothic', '맑은 고딕', Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #676767;
border-top: 7px solid #7CC0CB;
}
.hidden {
display: none;
}
.noVisible {
visibility: hidden;
position: absolute;
font-size: 0;
width: 0;
height: 0;
line-height: 0;
margin: 0;
padding: 0;
background: none;
}
#skipNav a {
display:block;  height:1px; width:1px; margin:0 -1px -1px 0; overflow:hidden; font-size:0; line-height:0;
}
#skipNav a:hover, #skipNav a:active, #skipNav a:focus {
width:100%; height:auto; margin:0; padding:5px; 
font-size:12px; line-height:1; text-decoration:none; text-align: center;
}
#footer a {
color: #fff;
text-decoration: none;
}
#wrap {
width: 960px;
margin: 0 auto;
}
#header {
width: 100%;
padding: 30px 0;
}
#logo, #logo a {
float: left;
}
#menu  {
z-index: 999;
float: right;
margin: 23px 0 0 0;
}
#menu li {
display: inline;
margin: 0 0 0 20px;
}
#menu li a {
font-family: 'Yanone', 'Nanum Gothic', '맑은 고딕', Helvetica, Arial, sans-serif;
font-size: 24px;
color: #999;
text-decoration: none;
}
#header:after  {
display: block;
content: "";
clear: both;
}
#campaign   {
position: relative;
}
#campaign  .caption {
z-index: 500;
position: absolute;
bottom: 72px;
left: 0;
padding: 20px;
background: #7CC0CB;
background: rgba(124,192,203,0.7);
color: #FFF;
font-size: 22px;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
}
#campaign   img {
display: block;
}
#footer {
padding: 20px 0 15px;
margin-top: 70px;
background-color: #7CC0CB;
font-size: 0.9em;
text-align: center;
font-style: normal;
color: #fff;
clear: both;
}
#contents:after  {
display: block;
content: "";
clear: both;
}
/* 메뉴에 현재 문서 표시 */
#menu li.current a{
color: #7CC0CB;
}
/* 타이틀 */
#contents h1 {
color: #888888;
font-size: 50px;
line-height: 70px;
padding: 0 0 15px 0 ;
margin-bottom: 30px;
border-bottom: 4px solid #888888;
text-transform:uppercase;
text-shadow: 1px 1px 1px #CECECE;
font-family: 'Yanone', 'Nanum Gothic', '맑은 고딕', Helvetica, Arial, sans-serif;
}
/*  about  */
.onethird {
width: 306px;
margin-right: 21px;
float: left;
}
.last {
margin-right: 0;
float: right;
}
h2 {
font-size: 18px;
line-height: 25px;
margin-bottom: 15px;
}
/* contact */
.onehalf {
float: left;
width: 470px;
margin-right: 0;
}
.twohalf {
float: right;
width: 470px;
margin-right: 0;
}
form{
padding: 5%;
background-color: #f4f4f4;
-moz-box-shadow: 3px  3px 3px #CECECE;
-webkit-box-shadow: 3px  3px 3px #CECECE;
box-shadow: 3px  3px 3px #CECECE;
behavior: url("PIE.htc");
overflow: hidden;
}
form li{
position: relative;
margin-bottom: 12px;
}
form  em {
color: #aaaaaa;
font-size: 11px;
font-style: normal;
}
form  input,  form  textarea {
width: 85%;
position: relative;
padding: 2px 10px;
}
form  input[type="radio"] {
width: 20px;
margin-right: 20px;
}
form input[type="submit"] {
width: 110px;
cursor: pointer;
text-align: center;
text-transform: uppercase;
font-size: 11px;
font-weight: bold;
line-height: 14px;
color: #fff;
text-decoration: none !important;
padding: 2% 12px;
background: #7CC0CB;
border: none;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;
box-shadow: 0 0 0;
-moz-box-shadow: 0 0 0;
-webkit-box-shadow: 0 0 0;
behavior: url("PIE.htc");
}
form input[type="submit"]:hover {
background-color: #707070;
color: #fff;
}
/* 추가 css 리셋 */
img,input,select,textarea, label {
vertical-align: middle;
}
/* portfolio */
.portfolio ul {
overflow: hidden;
margin-left: -6px;
}
.portfolio li {
width: 235px;
height: 210px;
text-align: center;
float: left;
position: relative;
margin: 0 0 6px 6px;
padding: 0;
background-color: #f4f4f4;
-moz-box-shadow: 1px 1px 1px  #CECECE;
-webkit-box-shadow: 1px 1px 1px  #CECECE;
box-shadow: 1px 1px 1px  #CECECE;

-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;

behavior: url("PIE.htc");
}
.portfolio li img {
width: 100%;
-moz-border-top-left-radius: 10px;
-webkit-border-top-left-radius: 10px;
border-top-left-radius: 10px;
-moz-border-top-right-radius: 10px;
-webkit-border-top-right-radius: 10px;
border-top-right-radius: 10px;
behavior: url("PIE.htc");
}
.portfolio li p {
padding: 15px;
font-weight: bold;
}



6. mobile.css

@charset "utf-8";


@font-face {

font-family: 'Nanum Gothic';

src: url('../font/nanum.ttf') ;  /*웹폰트 불러오기*/

}

@font-face {

font-family: 'Yanone';

src: url('../font/Yanone.woff') ;  /*웹폰트 불러오기*/

}

@font-face {

  font-family: 'fontello';

  src: url('../font/fontello.eot?92193028');

  src: url('../font/fontello.eot?92193028#iefix') format('embedded-opentype'),

       url('../font/fontello.woff?92193028') format('woff'),

       url('../font/fontello.ttf?92193028') format('truetype'),

       url('../font/fontello.svg?92193028#fontello') format('svg');

  font-weight: normal;

  font-style: normal;

}

html, body {

width: 100%; height: 100%;

}

body, div, p, ul, ol, li, h1, h2, h3, h4 {

padding: 0; margin: 0;

}

ol, ul, li {

list-style: none;

}

img {

border: none; 

}

body {

font-family: 'Nanum Gothic', '맑은 고딕', Helvetica, Arial, sans-serif;

font-size: 14px;

line-height: 20px;

color: #676767;

}

.hidden {

display: none;

}

.noVisible {

visibility: hidden;

position: absolute;

font-size: 0;

width: 0;

height: 0;

line-height: 0;

margin: 0;

padding: 0;

background: none;

}

#skipNav a {

display:block;  height:1px; width:1px; margin:0 -1px -1px 0; overflow:hidden; font-size:0; line-height:0;

}

#skipNav a:hover, #skipNav a:active, #skipNav a:focus {

width:100%; height:auto; margin:0; padding:5px; 

font-size:12px; line-height:1; text-decoration:none; text-align: center;

}

#footer a {

color: #fff;

text-decoration: none;

}


#wrap{width:300px;margin:0 auto;} /*모바일은 통상 가로폭 300으로 잡고 시작*/


#header{width:100%;padding:30px 0;}

#logo {text-align:center;}

#menu li{display:inline;margin: 0 0 0 12px;} /*원래 블록요소였던 것은 인라인요소로 바꿔도 기본요소는 어느정도 가져감. 원래 인라인은 상하여백 조절이 불가함*/

#menu li:first-child{margin:0;}

#menu {text-align:center;margin-top:23px;}


#menu li a {

font-family: 'Yanone', 'Nanum Gothic', '맑은 고딕', Helvetica, Arial, sans-serif;  /*불러온 웹폰트 적용*/

font-size: 24px;

color: #999;

text-decoration: none;

}

#menu li.current a{color: #7CC0CB;} /* 메뉴에 현재 문서는 파란색으로 표시 */


#campaign img{

max-width:300px; /* 모바일에 맞춰 이미지 사이즈 최대치의 사이즈를 설정. 부모가 되는 wrap에 일치시킴. */

height:auto;  /* 위의 사이즈 변경에 따른 높이값도 자동으로 비례 일치시킴 */

}

.onehalf iframe{

max-width:300px; /* 모바일에 맞춰 구글맵 iframe 사이즈 최대치의 사이즈를 설정. 부모가 되는 wrap에 일치시킴. */

height:auto;

}

#footer {

padding: 20px 0 15px;

margin-top: 70px;

background-color: #7CC0CB;

font-size: 0.9em;

text-align: center;

font-style: normal;

color: #fff;

}

.phone:before {

font-family: "fontello";

content: '\e804';

}

.fax:before{

font-family: "fontello";

content: '\e803';

}

#footer i {margin: 0 5px 0 10px;}





 < 모바일 화면 >


      

     












Posted by netyhobby
,