(id:YOAKE)
夜明けっぽい色を使って。という依頼だったように思います。他にポップてのもあった気がするんですけど、まあ、まあ。な。それはいいんじゃないでしょうか。とりあえず夜明けをってことでトップのグラデを作ったんだけど、あれは割と見事であった。オレ以外の人がどう受け止めるかとかはよくわかりませんけど、自分としてはパンチのある画面に仕上がったと思ってます。
せっかくなので忘れないうちに作り方をメモしておくと、夜明けっぽい画像を拾ってきて、横幅1ピクセルで切り取ったものを保存。それをCSSにてリピート貼り付けしてるだけです。でもこれってわりと使えると思う。森の写真を縦幅1ピクセルで切り取って、縦にリピートさせたりするとそういう色味のボーダーを作成したりできるので、キレイな色に仕上げるにはてっとり早くてズルイ手法だと思います。
構造として考えたところは、読ませる文章の方なので1カラムということと、あとはシンプルにってことを心がけてみました。とりあえず角丸に逃げてる感はありますけど、適度な角丸具合は探したつもりではあります。とりあえずそんな感じ。全体的にはけっこう丁寧に作れたと思うので、自分としては良かったんでないかと思ってます。
html { margin: 0px; padding: 0px; } body { font-size: 80%; font-family: Verdana, Osaka, sans-serif; line-height: 150%; _line-height: 170%; text-align: center; letter-spacing: 0.05em; color: #333; margin: 0 auto; padding: 0px; word-break: break-all ; word-wrap: break-word ; background-color: #5D6C00; } /********************** header **********************/ table { margin: 0px auto; padding: 0px 10px; width: 100%; background-color: #00001A; } table td img { margin: 0px; } td { background-color : transparent; width: auto; } table table td{ background-color : transparent; vertical-align: top; } table table{ margin: 0px auto; padding: 0px; border: none; background-image: none; background-color : transparent; } table table td font, table table td a{ margin: 0px; border:none; font-size: 10px; } td a{ border: 0; margin: 0px; } table input{ border: 1px solid #eee; height: 18px; padding: 0px; margin: 0px; } .hatena-body table{ width: auto; margin: 0; padding:0px; border: 0; background-image: none; background-color : transparent; } h1, h1 a{ border: none; color: #fff; font-size: 15px; letter-spacing: 0em; } h1 a:hover{ color: #FFFFC5; } h1 { font-weight:bold; text-align: center; line-height: 1.2; padding: 130px 0px 70px; margin: 0px auto; width: 100%; background-image: url("http://f.hatena.ne.jp/images/fotolife/d/design_note/20060922/20060922085123.gif"); background-repeat: repeat-x; background-position: center top; background-color: #000; } .hatena-body{ margin: 0px auto; position: relative; padding: 50px 0px; text-align: center; width: 100%; background-color: #5D6C00; background-image: url("http://lab.rails2u.com/bgmaker/gradation.png?margin=3&linecolor=000000&bgcolor=5D6C00"); background-repeat: repeat-x; background-position: center top; } .main{ width: 610px; margin: 0px auto; padding: 0px; text-align: center; } .day { width: 600px; margin: 0px auto; padding: 20px 0px 20px; text-align:left; } h2, h2 a{ border: none; color: #fff; } h2 { font-size: 15px; font-weight: normal; text-decoration:none; width: auto; _width: 100%; margin: 0px 5px; padding: 0px; text-align: left; line-height: 1; } span.date { font-weight: bold; padding: 0; } span.title { } .body { padding: 0px; margin: 0px; } .section{ width: auto; margin: 10px 0px 0px; padding: 0px 30px 30px 30px; background-color: #fff; background-image: url("http://f.hatena.ne.jp/images/fotolife/d/design_note/20060922/20060922231914.gif"); background-repeat: no-repeat; background-position: center bottom; } h3, h3 a, h3 a.keyword { border: none; font-weight: normal; } h3 { width: auto; font-size:100%; font-weight: normal; margin: 0px -30px; padding: 30px 30px 10px 40px; text-align:left; line-height: 1.5; background-image: url("http://f.hatena.ne.jp/images/fotolife/d/design_note/20060922/20060922231916.gif"); background-repeat: no-repeat; background-position: center top; } a.sectioncategory{ } span.sanchor{ color: #F3A600; font-size: 16px; margin: 0px 10px 0px 0px; padding: 0px; } span.timestamp{ font-size:70%; font-weight: normal; letter-spacing: 0px; } .section p { margin: 0.8em 0px 0.8em 10px; text-align:left; padding: 0px; } /**************** about page *************************/ #hatena-about h2 { margin: 0px -20px; padding: 20px; } #hatena-about .body { } #hatena-about h3 { } #hatena-about p{ } #hatena-about img{ } #hatena-about ul{ } #hatena-about li{ } #hatena-about li img{ } #hatena-about form input{ width: 200px; margin: 0; padding: 0 20px 0px 2px; } /**************** decoration *************************/ .section p a { color: #F3A600; } a{ text-decoration: none; color: #333; } .section p a.keyword, .section p a.okeyword { text-decoration: none; color: #333; } a img{ border: none; } a:link { } a:visited { } a:hover { text-decoration: none; border: none; color: #eee; } a:active { color: #16DD45; } h4 { font-size:100%; font-weight: normal; padding: 0 0 0 17px; margin: 1em 0px 0px 10px; text-align:left; border-left: 5px solid #F3A600; } blockquote{ margin: 10px 0px; padding: 5px 10px; overflow: hidden; border: 1px solid #E8E8D7; background-color: #F0F0EF; } blockquote a{ color: #A8002F; border: none; } .section blockquote p{ margin: 0.5em; padding: 0; } cite a{ border: none; color: #000000; } cite{ font-weight: normal; font-style: normal; font-size: 10px; padding: 0px 5px; float:right; } pre { color: #000000; margin: 10px 2px; padding: 10px 15px 5px; overflow: auto; border: 3px double #E8E8D7; background-color: #F0F0EF; } font{ line-height: 1.2em; } em a{ border: none; color: #000000; } em{ font-weight: normal; font-style: normal; } ins a{ border: none; } ins{ text-decoration: none; border-bottom: solid 1px #84888B; } .day td{ padding: 5px 5px 5px 7px; margin: 0; background-color: #eee; border: solid 1px #aaa; } .day th{ padding: 5px 5px 5px 7px; margin: 0; border: solid 1px #aaa; background-color: #ddd; font-weight: normal; } .day table{ margin: 10px 0; font-size: 100%; border: none; border-collapse: collapse; text-align: center; border: solid 1px #aaa; } .hatena-module input { margin: 0px 2px; border: 1px solid #BAAD8F; } /************************* list **********************/ .section ul{ margin: 1em 15px 1em 25px; padding: 0; } .section ol{ margin: 1em 15px 1em 30px; padding: 0; } .section ul li, .section ol li, .section ol ul, .section ol ol, .section ul ul, .section li li { margin: 0 0 0 8px; padding: 0; } .section dl{ margin: 10px 15px; } .section dt{ font-weight: normal; } .section dd{ } /********************** img ***************************/ img.photo{ float: right; margin: 80px 30px 8px 8px; padding: 1; border: solid 1px #999; background-color: #fff; } img.hatena-fotolife{ border: none; padding: 1px; border: 1px solid #ccc; background-color: #fff; } .body img.asin{ float: right; margin: 5px 0px 5px 10px; padding: 0; border: solid 1px #D1CAB2; } /********************* footnote **********************/ span.footnote{ font-size: 80%; } span.footnote a{ border: 0; color: #333; } div.footnote{ color: #DEE2C4; padding: 0px; margin: 0px 10px; } p.footnote{ margin: 3px 0px; font-size: 85%; } p.footnote a{ color: #DEE2C4; border: none; } /********************** comment ***********************/ div.comment, div.comment a{ color: #333; } div.comment { margin: 0px; padding: 10px 0px 0px; background-image: url("http://f.hatena.ne.jp/images/fotolife/d/design_note/20060923/20060923155522.gif"); background-repeat: no-repeat; background-position: center top; } div.refererlist { margin: 10px 0px; padding: 0px; } div.refererlist { text-align: right; } div.refererlist ul{ margin: 0 5px; padding: 0; list-style-type: none; letter-spacing: 0px; } form div.refererlist ul{ font-size: 100%; letter-spacing: 1px; } div.caption, div.caption a{ color: #DEE2C4; } div.caption{ padding: 0; margin: 0; text-align: right; } div.refererlist div.caption{ } form div.refererlist div.caption{ padding: 0 0.5em; margin: 0; } div.refererlist div.caption a{ border: none; } div.commentshort{ margin: 20px 0px; padding: 10px 5px 35px 5px; background-color: #C7CE96; background-image: url("http://f.hatena.ne.jp/images/fotolife/d/design_note/20060923/20060923155519.gif"); background-repeat: no-repeat; background-position: center bottom; } div.commentshort textarea{ width: 90%; height: 10em; } span.canchor, span.canchor a{ display: none; } div.commentshort a{ border: none; } div.commentshort a:hover{ } span.commentator{ font-weight: bold; margin: 0px 15px 0px 0px; padding: 0px; } form span.commentator{ margin: 0px 0px 10px; } div.commentshort P { margin: 1px 0px; padding: 5px 30px; letter-spacing: 0px; } /******************asin detail***********************/ div.hatena-asin-detail { width: auto; margin: 15px 0px; padding: 10px; border: 1px solid #aaa; font-size: 100%; background-color: #eee; } div.hatena-asin-detail a{ color: #333; } div.hatena-asin-detail a:hover{ border: none; } img.hatena-asin-detail-image { float: left; border: 0; margin: 0 20px 0 0 ; height: 110px; border: solid 1px #fff; background-color: #FECDCE; } div.hatena-asin-detail-info{ float: left; margin: 0px; word-break: break-all; } .section p.hatena-asin-detail-title{ text-align: left; font-weight: normal; padding: 3px 10px 0px; margin: 0px; border-bottom: dashed 1px #9999D1; } div.hatena-asin-detail-info ul { list-style-type: none; font-size: 80%; margin: 0; padding: 5px 10px; } div.hatena-asin-detail-info li { margin: 0; padding: 0; } div.hatena-asin-detail p a{ border: 0; } div.hatena-asin-detail-foot { clear: left; } /************************ form **********************/ form{ margin: 0; padding: 0; } form.hatena-searchform{ margin: 5px 0; } div.day div.comment form{ margin: 0; padding: 0; } form h2, form div.body{ padding: 1em 1.5em; width: auto; } form h2{ margin: 15px 20% 0 0; font-size: 120%; padding: 5px 15px; color: #000000; } form h2 span.date, form h2 span.title{ border: none; display: inline; margin: 0; padding: 5px 15px; } form textarea{ width: 90%; } form h3{ display: block; margin: 2em 0 1em 0; padding: 0; border-bottom: solid 1px #000000; font-size: 100%; } /********************** sidebar ***********************/ .sidebar { width: 630px; padding: 30px 0px 200px; margin: 5px 0; font-size: 80%; text-align: center; color: #525E00; border-top: 2px solid #aaa; } .sidebar a{ color: #525E00; } .sidebar a:hover{ color: #fff; } .hatena-module{ width: 200px; margin: 0px 3px 10px; padding: 0px 0px 20px 0px; text-align: center; float: left; background-color: #C7CE96; background-image: url("http://f.hatena.ne.jp/images/fotolife/d/design_note/20060925/20060925000607.gif"); background-repeat: no-repeat; background-position: center bottom; } .hatena-moduletitle, .hatena-moduletitle a{ border: none; color: #C7CE96; font-weight: bold; } .hatena-moduletitle{ text-align: center; font-size: 13px; letter-spacing: 0px; padding: 10px 10px 15px; margin: 0px; letter-spacing: 0px; line-height: 1; background-color: #5D6C00; background-image: url("http://f.hatena.ne.jp/images/fotolife/d/design_note/20060925/20060925000609.gif"); background-repeat: no-repeat; background-position: center bottom; } .hatena-modulebody{ padding: 5px; margin: 0px; _width:100%; height: 210px; overflow: auto; border: none; scrollbar-track-color: #C7CE96; scrollbar-face-color: #C7CE96; scrollbar-shadow-color: #5D6C00; scrollbar-darkshadow-color: #C7CE96; scrollbar-highlight-color: #5D6C00; scrollbar-3dlight-color: #C7CE96; scrollbar-arrow-color: #5D6C00; } /********************** sideber li **********************/ .hatena-modulebody ul{ padding: 0px; margin: 0px; text-align: left; list-style-type: none; } .hatena-modulebody li { display: block; margin: 1px 0px; padding: 1px 2px; } .hatena-modulebody li a{ padding: 0px; line-height: 1.3; } .hatena-modulebody li a:hover { } .hatena-module form { margin: 5px 0px; padding: 5px 0px 0px; font-size: 10px; text-align: center; border: 1px solid #333; background-color: #fff; } .hatena-module form input { height: 20px; border: none; background-color: #ddd; } .hatena-module form img { margin: 5px 0px 0px; padding: 0px 18px; border: none; background-color: #000; } /******************* profile module *******************/ .hatena-profile { } .hatena-profile img{ padding: 0px; margin: 0px 0px 3px; border: 1px solid #808059; } .hatena-profile-id a{ font-size: 100%; padding: 2px; margin: 0px; width: auto; } .hatena-profile-body { padding: 2px; margin: 0px; } /******************** hatena-rss ***********************/ dl.hatena-rss dt{ color: #fff; font-size: 9px; text-align: left; display: block; margin: 1px 0px 0px; padding: 3px 4px; line-height: 105%; } dl.hatena-rss dt a{ color: #616931; } dl.hatena-rss dd{ display: none } dl. hatena-rss a:hover { } /******************* photo module *******************/ ul.hatena-photo{ padding: 0; margin: 0; width: auto; list-style-type: none; text-align: center; } ul.hatena-photo li{ display: inline; } ul.hatena-photo li a{ margin: 0; padding: 0; display: inline; text-align: center; border: none; } ul.hatena-photo li img{ width: 40px; } ul.hatena-photo li a img{ border: 1px solid #CFCFCF; } ul.hatena-photo li a:hover img{ } /******************** sectioncategory ***********************/ ul.hatena-sectioncategory li { display: inline; } ul.hatena-sectioncategory li a{ font-size: 13px; margin: 0px 2px; } ul.hatena-sectioncategory li a:hover { } /******************** hatena-section ***********************/ ul.hatena-section li a{ } ul.hatena-section li a:hover { } /******************** asin log ***********************/ ul.hatena-asinlog{ } ul.hatena-asinlog li{ } ul.hatena-asinlog li img{ } ul.hatena-asinlog li a{ } ul.hatena-asinlog li a:hover{ } ul.hatena-asinlog li a img{ } ul.hatena-asinlog li a:hover img{ } /********************* rss module *********************/ /********************** calender **********************/ div.calendar { font-size:70%; margin: 0px; } div.calendar { margin: 0px; padding: 0px; border: none; } .main div.calendar { color: #7E8550; font-size:80%; margin: 0px; padding: 0px; text-align: right; position: static; background-image: none; } .main div.calendar a{ color: #DEE2C4; } /********************** calendar2 **********************/ table.calendar{ font-size: 11px; letter-spacing: 0px; width: 100%; margin: 0; padding: 0; border: none; color: #8B8BA6; text-align: center; position: relative; background-color: #EFEFFF; } table.calendar a{ color: #8B8BA6; } td.calendar-current-month{ font-weight: normal; } td.calendar-prev-month, td.calendar-current-month, td.calendar-next-month{ text-align: centerr; border: 1px solid #CFCFCF; background-color: #fff; } td.calendar-current-month{ font-weight: normal; } td.calendar-prev-month, td.calendar-current-month, td.calendar-next-month{ text-align:center; } td.calendar-day { border: 1px solid #CFCFCF; background-color: #FFFFFF; } td.calendar-day a{ display: block; _width: 100%; color: #fff; border: 1px solid #000046; background-color: #000076; } td.calendar-day a:hover{ background-color: #E7E7FF; color: #000046; } td.calendar-weekday, td.calendar-sunday, td.calendar-saturday{ display:none; } td.calendar-day img { width: 12px; height: 12px; border: 0; } /************************ adminmenu ****************************/ div.adminmenu{ text-align: right; margin: 0 0 0 50px; font-size: 80%; padding: 5px 10px; width: 650px; border: none; color: #000000; } div.adminmenu a{ border: none; color: #3F2F15; } span.adminmenu{ margin: 0 2px; } .hatena-body div.adminmenu{ margin: 0; text-align: left; border: none; width: auto; padding: 5px 10px; } /*********************/ span.highlight { background-color: #A40700; padding: 0px; } div.footer{ padding: 10px; text-align: center; } .footer, .footer a{ color: #000000; border: none; }