Webサイト制作05
珈琲大學のwebサイト
- 女性はとても細やかに物事に気を配ります。カップや砂糖の色や形にまでこだわってみる
外部ファイル
《 .css 》
http://st.shinobi.jp/img/services/homepage/commercial.css
Situation
ソースコード【 HTML 】
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <meta name="description" content="靴下のオシャレのような見えないところのオシャレ | カップや砂糖の色や形にまでこだわってみる"> <meta name="keywords" content="ウェッジウッド,美と健康,プロ"> <link rel="shortcut icon" href="favicon2.png"> <title>珈琲大學</title> <link rel="stylesheet" href="css/situation_style.css" media="screen,print"> <link rel="stylesheet" href="css/button.css"> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-38750673-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <link rel="stylesheet" type="text/css" href="http://st.shinobi.jp/img/services/homepage/commercial.css" /></head> <body> <div id="body_bg"> <p><img src="DATE2/eyes.png" width="640" height="480" alt=""></p> </div><!-- / body_bg --> <div id="body_bg2"> <p><img src="DATE2/em4.png" width="100" height="1263" alt=""></p> </div><!-- / body_bg2 --> <div id="container"> <div id="header"> <div class="header_left"> </div><!-- / header_left --> <div class="nav_top_header"> </div><!-- / nav_top_header --> <div class="header_main"> <h1 class="logo_img"><em>珈琲大學</em></h1> <p><em>ステキなモテ講座</em></p> <p class="link_webry"><a href="http://d.hatena.ne.jp/webry/">実践するwebサイト制作 | webnote</a></p> </div><!-- / header_main --> <div class="header_right"> </div><!-- / header_right --> </div><!-- / header --> <div id="wrapper"> <div id="content"> <p class="title_img"><img src="DATE2/situation_title.gif" width="272" height="28" alt="器や砂糖にこだわる"></p> <div class="img_box_main"> <ul class="img_box_ul"> <li><img src="DATE2/situation_img2.jpg" width="180" height="150" alt=""></li> <li><img src="DATE2/situation_img1.jpg" width="180" height="150" alt=""></li> </ul><!-- / ul --> </div><!-- / img_box_main --> <div class="img_p"> <p class="p_top">カップや砂糖の色や形にまでこだわってみる。</p> <p>女性はとても細やかに物事に気を配ります。靴下のオシャレのような見えないところのオシャレに気を遣いポイントをUPさせましょう。</p> </div><!--/ img_p --> <div class="img_box"> <p class="img_box_image"><img src="DATE2/img_cup.png" width="160" height="250" alt=""></p> <div class="img_title_p"> <h2>ワイルドストロベリー デルフィーカップ&ソーサー</h2> <p class="h2_sub">[ ウェッジウッド ]</p> <div class="h3_title"> <h3 class="h3_top"><img src="DATE2/logo7.gif" width="55" height="55" alt="商品の説明">商品の説明</h3> <p class="h3_img_p">ワイルドストロベリーの図案は、自然をこよなく愛する英国人に好んで使われてきたもので、創設者ジョサイア・ウェッジウッドが最初に作ったパターンブック(18世紀後半)にもすでに見受けられるほどです。世界中で愛されている人気シリーズは、その愛らしさで人々を惹きつけてやみません。</p> </div><!-- / h2_sub --> <h3 class="h3_pad_top">抽出のコツ</h3> <p class="h3_img_p2">「クイーンズウェア(女王の陶器、Queen's Ware)」という名称をもった世界最大級の陶磁器メーカー。高価な磁器で味わうその一口には、上品な味わいが広がります。</p> <h3 class="h3_pad_top">商品の紹介</h3> <table border="1" width="300" height="50" cellpadding="6" cellspacing="0" summary="商品の紹介"> <thead> <tr> <th>メーカー</th><td><a href="http://www.wedgwood.jp/?gclid=CMrD6KCHlbUCFTFTpgodvBUApg/">ウェッジウッド</a><br><span class="td_small">(WEDGWOOD公式ホームページ)</span></td> </tr> </thead> <tr> <th>内容</th> <td> <ul> <li> ティーカップ&ソーサーペア<br><span class="td_small">(2客)ギフトセット</span></li> <li>カップサイズ:<br><span class="td_small">約口径88mm×高さ60mm</span></li> <li>カップ容量:<br><span class="td_small">200cc(満水)</span></li> <li>ソーサーサイズ:<br><span class="td_small">直径約140mm</span></li> </ul> </td> </tr> <thead> <tr> <th>素材</th><td>ファイン ボーン チャイナ</td> </tr> </thead> <tr> <th>原産国</th><td>イギリス</td> </tr> <tfoot> <tr> <th>価格</th><td><span class="math_wight">¥ 8,400 </span> <span class="td_small"><a href="http://www.amazon.co.jp/WEDGWOOD%EF%BC%88%E3%82%A6%E3%82%A7%E3%83%83%E3%82%B8%E3%82%A6%E3%83%83%E3%83%89%EF%BC%89-%E3%82%A6%E3%82%A7%E3%83%83%E3%82%B8%E3%82%A6%E3%83%83%E3%83%89%EF%BC%88WEDGWOOD%EF%BC%89%E3%83%AF%E3%82%A4%E3%83%AB%E3%83%89%E3%82%B9%E3%83%88%E3%83%AD%E3%83%99%E3%83%AA%E3%83%BC-%E3%83%87%E3%83%AB%E3%83%95%E3%82%A3%E3%83%BC%E3%82%AB%E3%83%83%E3%83%97%EF%BC%86%E3%82%BD%E3%83%BC%E3%82%B5%E3%83%BC-%E3%83%9A%E3%82%A2%E3%82%BB%E3%83%83%E3%83%88%E3%80%90%E4%B8%A6%E8%A1%8C%E8%BC%B8%E5%85%A5%E5%93%81%E3%80%91/dp/B003CEAZTW/ref=sr_1_3?s=kitchen&ie=UTF8&qid=1359766810&sr=1-3">amazon.com.jp</a></span></td> </tr> </tfoot> </table> </div><!-- / img_title_p --> </div><!-- / img_box --> <hr> <div class="img_box"> <p class="img_box_image"><img src="DATE2/img_sugar.png" width="160" height="250" alt=""></p> <div class="img_title_p"> <h2>純黒糖粉末 <span class="math_wight">500g</span></h2> <p class="h2_sub">[ 食品&飲料 ]</p> <div class="h3_title"> <h3 class="h3_top"><img src="DATE2/logo7.gif" width="55" height="55" alt="商品の説明">商品の説明</h3> <p class="h3_img_p"> 南洋で農薬を使わずに育ったサトウキビの絞り汁をそのまま粉にした贅沢で自然の旨さたっぷりの純黒糖粉です。灰汁取りを施してありますので飲み物やお料理にも使えます。</p> </div><!-- / h2_sub --> <h3 class="h3_pad_top">抽出のコツ</h3> <p class="h3_img_p2">美と健康にまで意識を広げると、砂糖もPOINT!です。自然糖とは栄養を体に補給した後すべて体外へスムーズに排出されるためたっぷりの甘さを味わえます。</p> <h3 class="h3_pad_top">商品の紹介</h3> <table border="1" width="300" height="50" cellpadding="6" cellspacing="0" summary="商品の紹介"> <thead> <tr> <th>メーカー</th><td><a href="http://www.bowekiya.com/">貿易屋珈琲店</a><br><span class="td_small">(貿易屋珈琲店公式ホームページ)</span></td> </tr> </thead> <tr> <th rowspan="2">型</th><td>商品サイズ (高さ×奥行×幅):<br>30mm×254mm×174mm</td> </tr> <tr> <td>内容量: <span class="math_wight">500g</span></td> </tr> <tfoot> <tr> <th>価格</th><td><span class="math_wight">¥ 525 </span> <span class="td_small"><a href="http://www.amazon.co.jp/%E8%B2%BF%E6%98%93%E5%B1%8B%E7%8F%88%E7%90%B2%E5%BA%97-10201-%E7%B4%94%E9%BB%92%E7%B3%96%E7%B2%89%E6%9C%AB-500g/dp/B005FUGIY2/ref=sr_1_58?s=food-beverage&ie=UTF8&qid=1359768628&sr=1-58">amazon.com.jp</a></span></td> </tr> </tfoot> </table> </div><!-- / img_title_p --> </div><!-- / img_box --> <hr> <div class="img_box"> <p class="img_box_image"><img src="DATE2/img_milk3.jpg" width="160" height="250" alt=""></p> <div class="img_title_p"> <h2>特選北海道純生クリーム<span class="math_wight">47</span></h2> <p class="h2_sub">[ 生クリーム ]</p> <div class="h3_title"> <h3 class="h3_top"><img src="DATE2/logo7.gif" width="55" height="55" alt="商品の説明">商品の説明</h3> <p class="h3_img_p">プロのシェフが愛用するタカナシの生クリーム。乳脂肪47%の北海道クリーム。豊かなコクと風味があります。 </p> </div><!-- / h2_sub --> <h3 class="h3_pad_top">抽出のコツ</h3> <p class="h3_img_p2">乳脂肪には動物性と植物性があります。濃厚な味わいでは動物性、スッキリな味わいは植物性をオススメします。コーヒーミルク(牛乳)に隠し味として少量入れてあげると深い味わいに変えてくれます。</p> <h3 class="h3_pad_top">商品の紹介</h3> <table border="1" width="300" height="50" cellpadding="6" cellspacing="0" summary="商品の紹介"> <thead> <tr> <th>メーカー</th><td><a href="http://www.takanashi-milk.co.jp/index.html">タカナシ乳業</a><br><span class="td_small">(タカナシ乳業公式ホームページ)</span></td> </tr> </thead> <tr> <th>種類別</th><td>クリーム(乳製品)</td> </tr> <thead> <tr> <th rowspan="2">内容</th><td>成分: <span class="math_wight">(乳)47.0%</span></td> </tr> <tr> <td>容量: <span class="math_wight">200ml</span></td> </tr> </thead> <tr> <th>栄養成分</th> <td> <ul> <li>100mlあたりのエネルギー:<br>441kcal</li> <li>たんぱく質:1.7g</li> <li>脂質:47.0g</li> <li>炭水化物:2.8g</li> <li>ナトリウム:23mg</li> </ul> </td> </tr> <tfoot> <tr> <th>価格</th><td><span class="math_wight">438円<span class="td_small"> (税込) <a href="http://item.rakuten.co.jp/onakaegg/kcrm_47_200/">楽天市場</a></td> </tr> </tfoot> </table> </div><!-- / img_title_p --> </div><!-- / img_box --> <section class="top_button"> <p><a href="#top" title="ページのトップへ戻る"><button>∧ ページのトップへ戻る</button></a></p> </section> </div><!-- / content --> <div id="side_bar"> <p class="side_bar_img"><img src="DATE2/font_main.png" alt="珈琲大学logo"></p> <div class="side_bar_nav"> <ul> <li><a href="about.html"><img src="DATE2/about.png" width="124" height="29" alt="About" onMouseOver="this.src='DATE2/about_o.png'" onMouseOut="this.src='DATE2/about.png'"></a></li> <li><a href="preparation.html"><img src="DATE2/preparation2.png" alt="Preparation" onMouseOver="this.src='DATE2/preparation_o2.png'" onMouseOut="this.src='DATE2/preparation2.png'"></a></li> <li><a href="preformance.html"><img src="DATE2/preformance2.png" alt="Preformance" onMouseOver="this.src='DATE2/preformance_o2.png'" onMouseOut="this.src='DATE2/preformance2.png'"></a></li> <li><a href="situation.html"><img src="DATE2/situation.png" alt="Situatoin" onMouseOver="this.src='DATE2/situation_o.png'" onMouseOut="this.src='DATE2/situation.png'"></a></li> <li><a href="cafe.html"><img src="DATE2/cafe.png" alt="Cafe" onMouseOver="this.src='DATE2/cafe_o.png'" onMouseOut="this.src='DATE2/cafe.png'"></a></li> <li class="last"><a href="conclusion.html"><img src="DATE2/conclusion.png" alt="Conclusion" onMouseOver="this.src='DATE2/conclusion_o.png'" onMouseOut="this.src='DATE2/conclusion.png'"></a></li> </ul> </div><!-- / side_bar_nav --> </div><!-- / side_bar --> </div><!-- / wrapper --> <div id="footer"> <div class="footer_left"> </div><!-- / footer_left --> <div class="nav_bottom_footer"> </div><!-- nav_bottom_footer --> <div class="footer_main"> <div id="footer_main_nav"> <ul class="footer_nav"> <li class="home"><a href="index.html">Home</a></li> </ul> <address>Copyright © 2013 copyrights.珈琲大学〜ステキなモテ講座〜. All Rights Reserved.</address> </div><!-- / footer_main_nav --> </div><!-- / footer_main --> <div class="footer_right"> </div><!-- / footer_right --> </div><!-- / footer --> </div><!-- / container --> <ul class="tdftad"> <li><a href="http://crowd.biz-samurai.com/" target="_top">空いた時間を有効活用</a></li> <li class="tdftpr"><a href="http://ji-hoken.com/toyota/aqua.html" target="_top">アクア 自動車保険</a></li> <li class="tdftpr"><a href="http://www.youtube.com/watch?v=E4q0H7Fkfsg" target="_top">【動画】LUBE</a></li> <li class="tdftpr"><a href="http://www.youtube.com/watch?v=E4q0H7Fkfsg" target="_top">【動画】Lube sestra</a></li> <li class="tdftlink"><a href="http://crowd.biz-samurai.com/" target="_top" rel="nofollow">記事を書いてお小遣い</a></li> </ul></body> </html>
@charset "UTF-8"; /* reset ================================ */ html,body,div,h1,h2,h3,p,address,ul,ol,li{ margin: 0; padding: 0; line-height: 1.6; font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro W3", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif; } ul, ol { list-style-type: none; } a { text-decoration: none; } img { border: 0; } em { visibility: hidden; } /* font-size ================================ */ address { font-size: 8px; } .link_webry { font-size: 12px; } h2 { font-size: 22px; } .h2_sub,.td_small { font-size: 11px; } .img_title_p { font-size: 14px; } h3 { font-size: 15px; } .math_wight2 { font-size: 18px; } /* color ================================ */ p,h2,h3,th,td,hr { color: #333; } .h2_sub { color: #848AFF;} .logo_p { color: #fff; } address { color: #fff; } thead,tfoot { background-color: #f4f4f4; } /* body ================================ */ body { text-align: center; line-height: 1.5; background-color: #f9f9f9; } /* container ================================ */ #container { width: 960px; margin: 0 auto; position: relative; } /* header ================================ */ #header { width: 960px; height: 54px; overflow: hidden; } .header_left { float: left; width: 35px; height: 54px; background-image: url("../DATE2/header_left.jpg"); background-repeat: no-repeat; } .nav_top_header{ float: left; width: 300px; height: 54px; background-image: url("../DATE2/header_main5.png"); background-repeat: no-repeat; } .header_main { float: left; width: 575px; height: 54px; background-image: url("../DATE2/header_main.png"); background-repeat: repeat-x; } .header_right { float: right; width: 50px; height: 54px; background-image: url("../DATE2/header_right.jpg"); background-repeat: no-repeat; } .link_webry { position: absolute; top: 18px; right: 70px; } .link_webry a:link { color: #fff; } .link_webry a:visited { color: #90c; } .link_webry a:hover { color: #fa0; } /* wrapper ================================ */ #wrapper { clear: both; width: 875px; margin-left: 35px; background-color: #fff; overflow: hidden; } /* content ================================ */ #content { float: right; overflow: hidden; } p.title_img { padding: 60px 25px 60px 5px; } .img_box_main { width: 425px; margin: 0 auto; overflow: hidden; } .img_box_ul li { float: left; padding-left: 15px; padding-bottom: 50px; } .img_box_ul li img { border: 2px solid #333; } .p_top { margin-bottom: 32px; } .img_p { clear: left; line-height: 2.3em; width: 520px; padding-left: 40px; text-indent: 1em; padding-bottom: 70px; } .img_p p { text-align: left; width: 500px; } .img_box { width: 500px; margin: 30px auto; padding-bottom: 50px; } .img_box_image { float: left; } .img_title_p { text-align: left; width: 340px; padding-left: 25px; overflow: auto; } h2 { padding-top: 6px; } .h2_sub { font-weight: 600; line-height: 1.2em; border-bottom: 1px solid #333; padding-bottom: 10px; } .math_wight { font-weight: 600; } h3 { padding-bottom: 3px; } h3 img { float: left; margin-right: 16px; } .h3_img_p { width: 250px; overflow: auto; } .h3_img_p2 { width: 310px; } .h3_top { padding-top: 14px; } .h3_top img { padding-top: 11px; } .h3_title { border-bottom: 1px solid #333; padding-bottom: 10px; } .h3_pad_top { padding-top: 15px; } /* table ================================ */ td { padding-left: 11px; } th { text-align: center; } td ul li { margin-left: 14px; list-style-type: disc } .td_small a:hover { text-decoration: underline; color: #33C; } /* button ==================================== */ .top_button { text-align: right; padding-right: 20px; padding-top: 50px; padding-bottom: 60px; } /* side_bar ================================ */ #side_bar { float: left; width: 300px; background-image: url("../DATE2/img_nav2.png"); background-repeat: repeat-y; } p.side_bar_img { padding-top: 50px; } .side_bar_nav { padding-left: 60px; } .side_bar_nav li{ padding-top: 26px; } .side_bar_nav li.last { padding-bottom: 2800px; } /* footer ================================ */ #footer { clear: both; width: 960px; height: 120px; } .footer_left { float: left; width: 35px; height: 120px; background-image: url("../DATE2/footer_left.png"); background-repeat: no-repeat; } .nav_bottom_footer { float: left; width: 300px; height: 120px; background-image: url("../DATE2/footer_main2.png"); background-repeat: no-repeat; } .footer_main { float: left; width: 575px; height: 120px; background-image: url("../DATE2/footer_main.png"); background-repeat: repeat-x; } .footer_right { float: right; width: 50px; height: 120px; background-image: url("../DATE2/footer_right.png"); background-repeat: no-repeat; } #footer_main_nav { text-align: left; padding-left: 80px; padding-top: 20px; } li.home { text-align: center; width: 100px; border-left: 1px solid #fff; border-right: 1px solid #fff; } #footer_main_nav ul.footer_nav li a:link { color: #fff; } #footer_main_nav ul.footer_nav li a:visited { color: #90c; } #footer_main_nav ul.footer_nav li a:hover { color: #fa0; } address { text-align: right; padding-top: 20px; padding-right: 28px; } #body_bg { position: absolute; top: 60%; left: -18%; } #body_bg2 { position: absolute; top: 20%; left: 95%; }
@charset: "UTF-8"; .top_button button { font-size: 10px; } /* 右と下だけボーダーの色を濃く。 ============================================= */ .top_button button { border-top: 1px solid #ccc; border-right: 1px solid #999; border-bottom: 1px solid #999; border-left: 1px solid #ccc; padding: 5px 20px; font-weight: bold; cursor: pointer; color: #666; } /* 角円、テキスト、ボックスの装飾 =============================================== */ .top_button button { -webkit-border-radius: 3px; -moz-border-radius: 3px; text-shadow: 0 -1px 1px #FFF, -1px 0 1px #FFF, 1px 0 1px #aaa; -webkit-box-shadow: 1px 1px 2px #E7E7E7; -moz-box-shadow: 1px 1px 2px #E7E7E7; } /* 背景色をグラデーションに最上部と最下部だけ少し色を変えている ======================================================== */ .top_button button { background: -moz-linear-gradient(top, #fff, #F1F1F1 1%, #F1F1F1 50%, #DFDFDF 99%, #ccc); background: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(0.01, #F1F1F1), color-stop(0.5, #F1F1F1), color-stop(0.99, #DFDFDF), to(#ccc)); } /* マウスオーバー時のアクション ==================================================== */ .top_button button:hover { background: -moz-linear-gradient(top, #fff, #e1e1e1 1%, #e1e1e1 50%, #cfcfcf 99%, #ccc); background: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(0.01, #e1e1e1), color-stop(0.5, #e1e1e1), color-stop(0.99, #cfcfcf), to(#ccc)); } /* クリック時のアクション ================================================== */ .top_button button:active { background: #ccc; padding: 6px 20px 4px; }
ブラウザで表示【 Chrome 】