2014.09.15
<ul> <!--recent--> <li &align> <a href="<%recent_link>" title="<%recent_title>"><%recent_title> (<%recent_month>/<%recent_day>)</a> </li> <!--/recent--> </ul>
<ul> <!--recent--> <li &align class="recent-base"> <ul class="recent-main"> <li class="recent-img"> <div class="recent_image"> <a href="<%recent_link>" title="<%recent_title>"><img src="http://blog-imgs-68.fc2.com/i/n/t/interest2014/entry-<%recent_no>s.jpg" alt="<%recent_title>" /></a> </div"> </li> <li class="recent-title"> <a href="<%recent_link>"><%recent_title></a> </li> <li class="recent-date"> <%recent_year>.<%recent_month>.<%recent_day> </li> </ul> </li> <!--/recent--> </ul> <div class="clear"></div>※8行目のURLは、「関連記事」や「カテゴリ別全記事一覧」でも使ったサムネイル用の画像を記事に合わせて表示させる為の部分なので、サムネイルに使う画像URLの数字部分以外をコピペしてます。
.recent-base { border:1px #ddd solid; border-radius:3px; display:inline-block; width:100%; margin-bottom:5px; -webkit-transition: 0.5s; -moz-transition: 0.5s; -o-transition: 0.5s; -ms-transition: 0.5s; transition: 0.5s; } .recent-base:hover { background:#EEFAFF; border:1px #aaf solid; box-shadow: 2px 2px 2px 0px #555555; } .recent_image img { width: 50px; height:50px; border-radius:5px; border:1px #ddd solid; } .recent-main { margin:6px } .recent-img { float:left; width: 50px; padding:0 8px 8px 0; } .recent-title { float:right; line-height:1.1; height:32px; text-align:left; width:157px; padding-top:2px; } .recent-date { float:right; text-align:right; border-top:1px dotted #ddd; width:157px; } .clear { clear:both; }※サイドメニューへの表示なので、今までよりサムネイルのサイズを小さくして50pxにしてます。
- TrackBack -
- Comment -
▼クリックすると配色が変更されます
このボタンの設置方法は こちら♪
2014.12.15
2014.12.09
2014.12.05
2014.12.04
2014.12.03
コメントの投稿
- Post a Comment -