Development

CSS Design Template Runway

概要

リキッドレイアウトを採用したCSSデザインテンプレートです。

含まれているファイル

  • index.html
  • style.css
  • reset.css
  • jqstyle.js
  • jquery.js
  • readme.txt
  • 画像ファイル

Demo

デモページ

HTML

<div id="wrapper" class="clearfix">
<div id="headerLeft">
<h1>
<img src="image/logo.png" alt="logo of your site" width="200" height="80" />
</h1>

<ul id="globalnavi">
<li><a href="#">HOME</a></li>
<li><a href="#">PRICE</a></li>
<li><a href="#">MENU</a></li>
<li><a href="#">PRODUCT</a></li>
<li><a href="#">SERVICE</a></li>
<li><a href="#">ABOUT</a></li>
<li><a href="#">CONTACT</a></li>
<li><a href="#">HELP</a></li>
<li><a href="#">BLOG</a></li>
</ul>

</div><!-- div#headerLeft END -->

<div id="container">

<div id="searchBox">
<form action="" method="post">
<label>
<input type="text" id="search" name="search" size="50" value="Input Search Word" />
<input type="submit" value="検索" />
</label>
</form>
</div><!-- div#searchBox END -->

<div class="main clearfix">

<div class="leftCol">
<h2>Welcome To Design Template !!</h2>
<p class="text">Lorem Ipsum is simply dummy text of the printing and typesetting industry.ining essentially unchanged.</p>

</div><!-- div#leftCol END -->

<div class="rightCol">
<h2>What's New!!</h2>
<dl id="newarrival">
<dt>July 12, 2010</dt>
<dd>Contrary to popular belief</dd>

<dt>July 12, 2010</dt>
<dd>Contrary to popular belief</dd>

<dt>July 12, 2010</dt>
<dd>Contrary to popular belief</dd>

<dt>July 12, 2010</dt>
<dd>Contrary to popular belief</dd>

<dt>July 12, 2010</dt>
<dd>Contrary to popular belief</dd>
</dl>
</div><!-- div#rightCol END -->
</div><!-- div.main END -->

<div class="main clearfix">

<p class="adv"><img src="image/baner.png" alt="" width="600" height="100" /></p>

<div class="leftCol">
<h2>Dove posso trovarlo</h2>
<p class="text">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipg essentially unchanged.</p>

</div><!-- div#leftCol END -->

<div class="rightCol">
<h2>Da dove viene</h2>
<p class="text">I never spend much time in school but I taught ladies plenty. It's true I hire my body  so fine.</p>
</div><!-- div#rightCol END -->

</div><!-- div.main.clearfix END -->


</div><!-- div#container END -->

<div id="footer">
<address>
Copyright © <a href="http://www.e-riverstyle.com/">E-riverstyle Design</a> All Right Reserved.
</address>
<p class="toplink"><a href="#wrapper">Go to Top</a></p>
</div><!-- div#footer END -->
</div><!-- div#wrapper END -->

CSS

@charset "utf-8";

body{
    font-size: 62.5%;
    font-family: Verdana,Arial,Meiryo,
        "メイリオ","Hiragino Kaku Gothic Pro",
        "ヒラギノ角ゴ Pro W3",Osaka,
        "MS P Gothic","MS Pゴシック",
        sans-serif;
    line-height: 1.5em;
}

#wrapper{
    width: 100%;
}

/*============================================
 Header
============================================*/

#headerLeft{
    float: left;
    width: 22%;
}

h1{
    margin: 10px 0 20px 10px;
}
/*============================================
 Globalnavi
============================================*/
#globalnavi{
    font-size: 1.4em;
    line-height: 1.8em;
}

#globalnavi li{
    background: url(../image/list.png) left center no-repeat;
    padding: 5px 0 5px 20px;
    margin-left: 20px;
    letter-spacing: 0.08em;
}

#globalnavi li a{
    text-decoration: none;
}

#globalnavi li a:hover{
    text-decoration: underline;
}

#globalnavi li a:visited{
    color: #1E50A2;
}
/*============================================
Container
============================================*/
#container{
    float: left;
    width: 77%;
    background: url(../image/bg_left.jpg) repeat-y;
}

.main{
    margin: 10px 0;
    width: 100%;
}

.leftCol{
    float: left;
    width: 49%;
}

.rightCol{
    float: left;
    width: 49%;
}

.adv{
    text-align: center;
    margin: 20px 0;
    clear: both;
}

/*============================================
Footer
============================================*/

#footer{
    clear: both;
    font-size: 1.4em;
    text-align: center;
    padding: 20px 0;
    background: url(../image/bg_footer.jpg) top left repeat-x;
}

address{
    letter-spacing: 0.1em;
}


/*============================================
Link
============================================*/
a:link {
    color: #1E50A2;
}
a:visited {
    color: #824880;
}
a:hover {
    color: #EA5506;
}
a:active {
    color: #FFD911;
}

.toplink{
    text-align: right;
    font-size: 0.8em;
}

/*============================================
Search Box
============================================*/

#searchBox{
    text-align: right;
    padding: 20px 0;
    border-bottom: 1px solid #F7FBFF;
}

input#search{
    background: url(../image/search.gif) left no-repeat;
}

/*============================================
Headline Paragraph
============================================*/

h2{
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-bottom: 3px solid #ADD8E6;
    width: 90%;
    margin: 10px 0 10px 30px;
    padding-bottom: 5px;
    color: #8b0000;
}

.text{
    font-size: 1.4em;
    width: 88%;
    margin: 10px 0 10px 30px;
    line-height: 1.3em;
}

/*============================================
What's New
============================================*/

#newarrival{
    font-size: 1.4em;
    width: 90%;
    margin: 10px 0 10px 40px;
    height: 400px;
    overflow: scroll;
}

#newarrival dt{
    background: url(../image/info.png) no-repeat left center;
    padding: 5px 0 5px 18px;
}

#newarrival dd{
    margin: 5px 0 20px 20px;
    border-bottom: 1px solid #ADD8E6;
    padding-bottom: 10px;
}

/*============================================
Table
============================================*/

table{
    font-size: 1.4em;
    width: 70%;
    margin: 10px auto;
    letter-spacing: 0.08em;
}

th, td{
    border: 1px solid #000000;
    padding: 10px 0 10px 10px;
}

th{
    width: 30%;
    background: #f5f5dc;
}

/*============================================
clearfix
============================================*/

.clearfix:after {
    clear:both;
    content:".";
    display:block;
    height:0;
    line-height:0;
    visibility:hidden;
}
.clearfix {
    display:inline-block;
}
html[xmlns] .clearfix {
    display:block;
}
* html .clearfix {
    height:1%;
}

Download

runway_ver_1.zip