はてなブックマークFlickr風味
はてなブックマークをFlickr風味にしてます。
b:id:jazzanova
今後はこの日記も同じデザインにしてみよう。
何となくFlickr風味のCSSを公開(ってかソース見ればすぐ分かるんだけど)
もしこれ使った人いたらトラックバックかコメントで教えてもらえると嬉しいな。
Flickrブクマ仲間っつう事で。
まずページのヘッダ
<div id="main"> <div class="Launch"> <div class="LaunchBar"> <a href="http://d.hatena.ne.jp/jazzanova/">Diary</a> | <a href="http://f.hatena.ne.jp/jazzanova/">Fotolife</a> | <a href="http://gesuyabao.s143.xrea.com/mt/">Blog</a> | <a href="http://mixi.jp/show_friend.pl?id=404651">mixi</a> | <a href="http://www.flickr.com/photos/jimibandrix/">Flickr</a> | <a href="http://booklog.jp/tana.php?ac=jimibandrix">booklog</a> </div> Flickr風味。CSSを使いたい人は勝手に使ってくらさい。 </div> </div> <hatena name="usersearch"> <div align="right"><font class="jazzao">Hatena::Bookmark::flick</font><font class="jazzpink">r</font> </div>
タグを使っちゃったり、それにクラス指定しちゃったりと非常に恥ずかしいあれだけど気にしない。
次にCSSの中身
body{ font-family: verdana ,"MS Pゴシック" ,"ヒラギノ丸ゴ Pro W4" ,"Osaka",arial ,sans-serif; margin: 0px; padding: 0px; } .taglist { padding-top: 25px; padding-bottom: 20px; padding-left: 5px; padding-right: 5px; border: solid 1px #eee; background: #f5f5f5; } #Main, #Main2 { margin-top: 0px; margin-left: auto; margin-right: auto; width: 100%; text-align: left; vertical-align: top; } .Launch { background: url("http://gesuyabao.s143.xrea.com/dotted.gif"); background-repeat: repeat-x; background-position: left bottom; text-align: right; color: #999; background-color: #f3f3f3; font-size: 11px; font-family: Arial, Helvetica, Sans-Serif; padding: 5px 10px 6px 0; vertical-align: bottom; } .LaunchBar { float: left; padding-left: 7px; font-size: 12px; margin-right: 15px; } div.Launch a:link { color: #0063DC; text-decoration: underline; } div.Launch a:visited { color: #2E67C7; text-decoration: underline; } div.Launch a:hover { color: #FFFFFF; text-decoration: none; background: #0063DC; } div.Launch a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } ul.taglist a:link { color: #0063DC; } ul.taglist a:hover { color: #FFFFFF; text-decoration: none; background: #0063DC; } ul.taglist a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } a.bookmark:link { color: #0063DC; text-decoration: underline; } a.bookmark:visited { color: #2E67C7; text-decoration: underline; } a.bookmark:hover { color: #FFFFFF; text-decoration: none; background: #0063DC; } a.domain:link { color: #999999; text-decoration: underline; } a.domain:visited { color: #999999; text-decoration: underline; } a.domain:hover { color: #FF0084; background: #fff; text-decoration: underline; } a.domain:active { color: #FF0084; background: #fff; text-decoration: underline; } div.breadcrumbs a:link { color: #0063DC; text-decoration: underline; } div.breadcrumbs a:visited { color: #2E67C7; text-decoration: underline; } div.breadcrumbs a:hover { color: #FFFFFF; text-decoration: none; background: #0063DC; } div.breadcrumbs a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } div.pager a:link { color: #0063DC; text-decoration: underline; } div.pager a:visited { color: #2E67C7; text-decoration: underline; } div.pager a:hover { color: #FFFFFF; text-decoration: none; background: #0063DC; } div.pager a:active { color: #FFFFFF; text-decoration: none; background: #0259C4; } a.currenttag:link { color: #FFFFFF; } a.currenttag:visited { color: #FFFFFF; } a.currenttag:hover { color: #FFFFFF; text-decoration: none; background: #FF0084; } a.currenttag:active { color: #FFFFFF; text-decoration: none; background: #FF0084; } .jazzao { color: #0063DC; font-size: 130%; font-weight: bold; } .jazzpink { color: #FF0084; font-size: 130%; font-weight: bold; } div.taglist ul a.currenttag { background-color: #FF0084; } a.category { color: black; text-decoration: none; border-bottom: 1px solid #d0d0d0; } a.okeyword { color: black; text-decoration: none; border-bottom: 1px dashed #d0d0d0; } div.body { margin: 20px 10px 10px 10px; margin-left: 5%; margin-right: 5%; padding-bottom: 1em; position: relative; width: auto; _width: 100%; top: 0; left: 0; } div.breadcrumbs p { font-size: 90%; } div.header { padding-bottom: 5px; margin-top: 15px; margin-bottom: 0px; border-bottom: 1px dashed #c9d5f8; } div.header h2 { color: #FF0084; font-size: 200%; background: url("/images/bookmark.gif") no-repeat 5px 30%; display: inline; padding-bottom: 5px; padding-left: 25px; margin-bottom: 8px; } div.header ul.bookmarkinfo { margin-left: 10px; padding: 0; font-size: 90%; display: inline; } div.header ul.bookmarkinfo li { padding-left: 2px; display: inline; } div.main { z-index: 2; display: block; } div.main div.pager { font-size: 90%; margin-bottom: 20px; text-align: right; clear: both; } div.taglist { float: right; width: 20%; margin-left: 20px; margin-bottom: 20px; } div.taglist h3 { font: normal 18px Arial, Helvetica, sans-serif; color: #FF0084; margin-bottom: 5px; } div.taglist ul { margin: 0; padding: 0; } div.taglist ul li { display: inline; } div.taglist a:link { display: inline; } div.favoritelist { margin-top: 20px; float: right; background: #f0f0ff; border: 1px solid #ccc; } div.favoritelist h3 { font-size: 80%; margin: 0px; padding: 5px; } div.favoritelist ul { list-style-type: none; margin: 5px; padding: 0px; } dl.bookmarklist { line-height: 1.2em; margin; padding: 0; display: inline; } dl.bookmarklist dl, dl.bookmarklist dt, dl.bookmarklist dd { margin: 0; padding: 0; display: block; } dl.bookmarklist dt.bookmark { margin: 0; padding:0px 5px 5px 15px; font-weight: normal; display: list-item; list-style-type: none; background: url("http://gesuyabao.s143.xrea.com/dtimage.gif") no-repeat; margin-top: 1em; } dl.bookmarklist dt.keyword { font: 11px Arial, Helvetica, sans-serif; padding-top: 10px; padding-bottom: 10px; margin: 0px; } dl.bookmarklist dd.category a.category, dl.bookmarklist dd.keyword a.keyword { color: #0063DC; padding: 2px 6px; border: solid 1px #ddd; background: #fff; text-decoration: none; } dl.bookmarklist dd.category a.category:hover, dl.bookmarklist dd.keyword a.keyword:hover { color: #fff; background: #0063DC; border-color: #036; text-decoration: none; } dl.bookmarklist dd dt { display: inline; } dl.bookmarklist dd dt:first-child { margin-left: 0; } dl.bookmarklist dd dt span.label, dl.bookmarklist dd dd a span.label, dl.bookmarklist dd dt.domain, dl.bookmarklist dd dt.timestamp { display: none; } dl.bookmarklist dd dd { display: inline; font-size: 80%; margin: 0; padding: 0; } dl.bookmarklist dd dd.domain { font-size: 80%; } dl.bookmarklist dd dd.domain { color: #999; } dl.bookmarklist dd dd.timestamp { color: #999; } dl.bookmarklist dd { margin: 0; margin-left: 1em; } dl.bookmarklist dd.comment { margin-top: 3px; color: green; font-size: 80%; padding: 0px; } dl.bookmarklist dd.content { margin-top: 0.5em; font-size: 80%; } dl.bookmarklist dd.comment { color: green; } dl.bookmarklist dd.comment a:link { color: green; text-decoration: underline; } dl.bookmarklist dd.comment a:visited { color: green; text-decoration: underline; } dl.bookmarklist dd.comment a:hover { color: #FFFFFF; text-decoration: none; background: green; } dl.bookmarklist dd.comment strong, dl.bookmarklist dd.content strong { background: yellow; } dl.bookmarklist dd dd.users em { background-color: #fff0f0; font-weight: bold; display: inline; font-style: normal; } dl.bookmarklist dd dd.users em a{ color: #ff6666; } dl.bookmarklist dd dd.users strong { background-color: #ffcccc; font-weight: bold; font-style: normal; display: inline; } dl.bookmarklist dd dd.users strong a { color: red; } dl.bookmarklist dd dd.delete form.delete { display: inline; margin: 0; padding: 0; } form.hatena-usersearch{ position: absolute; top: 0; right: 0; }