サイドバーのスペースが足りないよ〜と悩むあなたに贈る4カラムテンプレートはいかがですか?
テンプレート公開第一弾をお届けします。
使えるか使えないかはともかく4カラムです。
今回はCSSのみで作っているのでコピペのみで使えます。
まずは、サンプルをご覧下さい。
クリックで大きくなります。ソースはこちら
body {
margin:0px;
padding:0px;
text-align:center;
color:#000;
background-color:#eee;
font-size:12px;
}
a{
text-decoration:underline;
color:#333;
}
a:hover{
color:#f00;
text-decoration:none;
}
#container{
text-align:center;
margin: 10px auto 10px auto;
padding-top:10px;
width:793px;
background-image:url(../image/bg.gif);
background-repeat:repeat;
}
#banner{
float:left;
width:130px;
}
#content{
float:left;
width:400px;
}
#links-left{
width:130px;
float:left;
}
#links{
width:130px;
float:left;
}
#footer{
clear:left;
padding:5px 0px; 5px 0px;
background-color:#ccc;
}
h1 {
margin:0px;
padding:15px 5px;
font-size:18px;
font-weight:bolder;
}
h1 a{
text-decoration:none;
}
h2 {
margin:0px;
padding:0px;
}
h3 {
font-size:16px;
padding:0px;
margin:0px;
}
.description {
display:block;
padding:5px 0px;
font-weight:bolder;
}
.navi {
text-align:center;
padding:0px 0px 5px 0px;
}
.blog {
margin:0px 0px 10px 0px;
text-align:left;
background-color:#bbb;
}
.blogbody {
background-color:#ddd;
margin:0px 5px;
}
.date{
color:#fff;
padding:5px 0px 0px 5px;
font-size: 12px;
}
.title{
font-weight:bolder;
padding:5px 0px 0px 0px;
}
.title a{
text-decoration: none;
}
.text{
font-size: 12px;
padding:5px 0px;
background-color:#eee;
margin:0px 2px 2px 2px;
}
.posted{
color:#fff;
font-size: 10px;
padding:0px;
text-align:right;
background-color:#bbb;
}
.posted a{
color:#fff;
}
.posted a:hover{
color:#f00;
}
#comments input{
max-width:250px;
}
#comments textarea{
max-width:400px;
}
.comments-head{
padding:5px 0px;
}
.comments-body {
}
.comments-post{
font-size: 10px;
text-align:right;
}
#trackback {
text-align:left;
}
.sidetitle {
font-weight:bolder;
padding:5px 0px 0px 0px;
background-color:#eee;
margin:0px 2px;
}
.side {
font-weight:normal;
line-height:1.2em;
padding:0px;
margin:5px 2px 10px 2px;
text-align:left;
}
#calendar {
width:126px;
margin:0px 2px 5px 2px;
padding:0px 0px 2px 0px;
background-color:#eee;
}
#calendar table {
width:122px;
margin:0px 2px;
}
#calendar th{
padding:5px 1px 0px 0px;
color:#555;
font-weight:bord;
background-color:#ddd;
}
#calendar td{
color:#fff;
background-color:#bbb;
padding:0px 1px 0px 0px;
}
.calendarhead {
padding:5px 0px 0px 0px;
text-align:center;
}
.syndicate {
font-size:10px;
}
input{
max-width:120px;
}
#diet-container{
padding:5px;
}
.diet-title{
padding:2px 10px 2px 5px;
width:90px;
margin-top:5px;
}
.diet-content{
padding-left:10px;
}
#diet-foods{
padding-left:10px;
}
.food-title{
width:20%;
clear:left;
float:left;
}
.food-content{
width:75%;
padding-top:10px;
}
これをコピーしてスタイルシートにペーストして下さい。
更に
背景用画像をダウンロードしてファイルマネージャーでアップロードして下さい。
以上で完了です。
新たに出来たサイドバーには、トップ部分のコンテンツが配置されますので、好きな様に配置し直して下さい。
(なお、このカスタマイズで不都合が起こっても当サイトでは一切責任を負いません、ご了承下さい)
ご利用は無料です。
感想等お聞かせ下さい。