星空CSS3コラム用
3コラムで使いたい方のために
基本は2コラム用と同じ。
3コラム中央用
@charset "utf-8";
/*
-----------------------------------------------------
ameblo CSS Skin Settings
FileName: common.css
Version: 2006.06/23
Skin for: all_skin
-----------------------------------------------------
*/
form{
margin:0px;
}
.menu_frame select{
width:88%;
}
.page a{
text-align: center;
padding: 5px;
line-height:1.5;
}
.page .now{
padding: 5px;
font-weight:bold;
}
.entry .contents{
line-height:1.5;
}
.entry .contents img{
margin-right:5px;
margin-left: 5px;
}
#profile .link_blog{
font-size: 14px;
}
#fortune{
padding-bottom:15px;
}
#message .contents:after,
.entry .contents:after,
#profile .contents:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#message .contents,
.entry .contents,
#profile .contents{
display: inline-table;
}
/* Hides from IE-mac \*/
* html #message .contents,
* html .entry .contents,
* html #profile .contents{height: 1%;}
#message .contents,
.entry .contents,
#profile .contents {display: block;}
/* End hide from IE-mac */
/* comment_show */
#comment_show{
width:338px;
margin:0px auto;
padding:0px;
background:#FeFeFF;
border:1px solid #666666;
}
#comment_show h4{
margin:10px 10px 0px;
padding:0px 0px 0px 20px;
font-size:12px;
color:#333333;
background:url(/p_skin/cmn/img/ico_commentshow.gif) no-repeat 0px 2px;
}
/* add:2006.07.11 */
#comment_show ul{
width:338px;
margin:0px;
padding:0px;
}
#comment_show p{
margin:0px 10px 10px;
padding:0px;
color:#333333;
}
#comment_show input#commentbutton{
width:140px;
margin-right:6px;
margin-bottom:6px;
padding:0px;
}
-----------------------------------------------------
ameblo CSS Skin Settings
FileName: common.css
Version: 2005.08.04
Skin for: night_sky
-----------------------------------------------------
*/
/* ----------------------- common ----------------------- */
body#mainIndex {
margin: 0;
padding: 0;
text-align: center;
}
#frame {
width: 820px;
margin-left: auto;
margin-right: auto;
text-align: center;
}
#subFrame {
position: relative;
width: 800px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
#wrap {
width: 100%;
}
img {
border: 0;
}
a {
color: #3636fa;
}
a:link {text-decoration: underline;}
a:visited {text-decoration: none;}
a:hover { position: relative; top: 1pt; text-decoration: underline;}
input,textarea{font-size:12px;}
p{
margin: 0;
padding: 0;
}
.menu_frame ul,
.menu_frame li,
.menu_frame dl,
.menu_frame dt,
.menu_frame dd,
#comment_module ul,
#comment_module li,
#trackback ul,
#trackback li,
#reader_list ul,
#reader_list li,
#favorite_list ul,
#favorite_list li,
#bookmark_list ul,
#bookmark_list li,
#recent_entries_list ul,
#recent_entries_list li{
list-style-type:none;
margin: 0;
padding: 0;
}
/* ----------------------- header ----------------------- */
#header{
display: block;
position: relative;
top: 0;
left: 0;
width: 600px;
height: 150px;
text-align: center;
}
#header h1,
#header h2 {
padding: 5px;
margin: 0px;
}
#header h1 {
padding-top: 36px;
margin-left: 10px;
margin-right: 10px;
}
#header h2{
padding-top: 10px;
margin-left: 10px;
margin-right: 10px;
}
/* ----------------------- footArea ----------------------- */
/* ----------------------- font-information ---------------- */
body {
color: #666666;
font-size: 11px;
font-family:"Verdana", "MS Pゴシック", "Osaka‐等幅", sans-serif;
}
.list{
font-size:11px;
}
#header h1 {
font-size: 25px;
line-height: 1;
}
#header h1 a {
color: #FFFFFF;
}
#header h2 {
color: #FFFFFF;
font-size: 11px;
font-weight: normal;
}
.menu_title {
color: #666666;
font-size:12px;
font-weight: bold;
}
.mainMenu {
font-size: 10px;
line-height: 1.3;
}
#reader dd {
}
#calendar table {
font-size:11px;
line-height:130%;
}
#calendar table a {
color: #000033;
}
#ranking *{
font-size: 12px;
line-height: 1.4;
}
#ranking .rank_ttl{
font-weight:bold;
}
#ranking a {
font-size: 11px;
}
#ameblo{
font-size: 10px;
}
#ameblo p{
line-height: 1.25;
}
#rss {
font-size: 12px;
}
#comment_module h3,
#trackback h3,
#reader_list h3,
#favorite_list h3,
#bookmark_list h3,
#recent_entries_list h3 {
font-size: 12px;
font-weight: bold;
}
#comment_module,
#trackback,
#reader_list,
#favorite_list,
#bookmark_list,
#recent_entries_list {
font-size: 12px;
}
.label {
font-weight: bold;
}
.entry .date {
font-size: 14px;
font-weight:bold;
}
.entry .contents{
font-size: 12px;
line-height: 1.5;
}
.entry .theme{
font-size: 11px;
}
.entry .title{
font-size:17px;
font-weight:bold;
}
.entry .foot {
font-size:11px;
}
#message .contents{
font-size:11px;
}
#comment_module,
#trackback {
line-height: 1.5;
}
#comment_module .error{
color:#FF0000;
}
#comment_module .button {
font-size: 11px;
}
#comment_module p.list {
font-size: 11px;
}
/* ----------------------- background-color-control ------------ */
body {
background-color: #000066;
}
#frame {
}
#subFrame {
}
#header {
background-image: url(http://stat.ameba.jp/user_images/7e/b2/10051935374.png);
background-repeat: no-repeat;
background-position: right bottom;
}
#wrap {
}
#main {}
#sub_main{
}
#firstContentsArea {
}
#subFirstContentsArea {
}
/* ----------------------- menu_element_basis ----------------------- */
.mainMenu {
display: block;
margin-bottom: 20px;
padding-bottom: 40px;
background-image: url(http://stat.ameba.jp/user_images/c0/42/10050403954_s.jpg);
background-repeat: no-repeat;
background-position: bottom;
background-color: #c6cef7;
}
.menu_title {
text-align: center;
margin-top: 0px;
margin-bottom: 10px;
padding-left: 0px;
padding-top: 35px;
padding-bottom: 0px;
background: url(http://stat.ameba.jp/user_images/6f/f1/10050403939_s.jpg) no-repeat 0px 0px;
}
/* ----------------------- menu_element_background ----------------------- */
/* ----------------------- menu_elements_margin_leftright ----------- */
.mainMenu ul,
.mainMenu dl,
.mainMenu p,
.list,
.link_blog,
#archives select,
#theme_list select,
#search form {
margin-left: 9px;
margin-right: 7px;
}
p.list,
p.link_blog {
padding-top: 5px;
}
/* ----------------------- entry_elements_margin_leftright ---------- */
#message .contents,
.entry .name,
.entry .theme,
.entry .contents,
.entry .foot,
#comment_module .title,
#comment_module .label,
#comment_module .comment_body,
#comment_module .comment_footer,
#trackback .title,
#trackback .tr_ping_URL,
#trackback .tr_URL,
#trackback li,
#reader_list,
#favorite_list,
#bookmark_list,
#recent_entries_list{
padding-left: 20px;
padding-right: 20px;
}
/* ----------------------- each menu setting ----------------------- */
/*profile*/
#profile p{
display: block;
}
/*readers*/
#reader dl {
margin-bottom: 7px;
}
#reader ul {
margin-top: 5px;
}
#reader p {
display: inline;
}
/*calendar*/
#calendar{
text-align: center;
}
#calendar .menu_title {
text-align: center;
}
#calendar table {
width: 168px;
}
#calendar caption {
padding:5px 0px;
}
#calendar caption a{
padding:0px 5px;
}
#calendar .sun {
color:#FF0000;
}
#calendar .sat{
color:#6666ee;
}
#calendar td,
#calendar th {
text-align:center;
padding:0px;
}
#calendar td a {
color: #006666;
text-decoration: underline;
}
/*theme_list*/
/*recent_entries*/
/*archives*/
/*search*/
#search form{
margin-top: 7px;
margin-bottom: 7px;
}
#search .searchbox{
width: 100px;
}
#search .searchbtn{
width: 40px;
}
/*favorites*/
/*bookmarks*/
#bookmarks {
display: block;
margin-bottom: 20px;
padding-bottom: 40px;
background-image: url(http://stat.ameba.jp/user_images/c0/42/10050403954_s.jpg
);
background-repeat: no-repeat;
background-position: bottom;
background-color: #c6cef7;
}
/*recent_trackback*/
/*recent_comment*/
/*ranking*/
#ranking {
display: block;
margin-bottom: 20px;
padding-bottom: 40px;
background-image: url(http://stat.ameba.jp/user_images/c0/42/10050403954_s.jpg
);
background-repeat: no-repeat;
background-position: bottom;
background-color: #c6cef7;
}
#ranking .menu_title {
text-align: center;
margin-top: 0px;
margin-bottom: 10px;
padding-left: 0px;
padding-top: 35px;
padding-bottom: 0px;
background: url(http://stat.ameba.jp/user_images/6f/f1/10050403939_s.jpg) no-repeat 0px 0px;
}
#ranking .rank{
display: block;
padding-top: 3px;
padding-bottom: 3px;
}
#ranking a{
padding-left: 9px;
background-image: url(http://stat.ameba.jp/p_skin/night_sky/img/icon.gif);
background-repeat: no-repeat;
background-position: left center;
}
#ranking img{
margin-left: 5px;
}
#ranking .rank_all,
#ranking .rank_genre {
margin-bottom: 12px;
}
#ranking .rank_ttl{
display: block;
}
#ranking p {
text-align: right;
}
/* ----------------------- adJavaScript ----------------------- */
/* ----------------------- advertising ----------------------- */
#advertising {
margin-bottom: 10px;
border: 1px solid #535356;
background-image: url(http://stat.ameba.jp/p_skin/night_sky/img/sub_b_title_bg.jpg);
background-repeat: repeat-x;
background-position: left top;
background-color: #eeeeff;
}
#advertising .menu_title {
margin: 0;
padding-top: 2px;
padding-left: 7px;
border: none;
background-image: none;
}
/* ----------------------- adJavaScript2 ----------------------- */
/* ----------------------- advertising2 ----------------------- */
/*ameblo*/
#ameblo{
margin-bottom: 8px;
padding-top: 7px;
padding-bottom: 7px;
border: 1px solid #535356;
background-color: #c6cef7;
text-align: center;
background-image:url()
}
#ameblo p{
margin-bottom: 7px;
padding-right: 7px;
padding-left: 7px;
text-align: left;
}
#ameblo li {
display: block;
margin-bottom: 5px;
}
/*RSS*/
#rss{
padding-top: 7px;
padding-bottom: 7px;
margin-right: auto;
margin-left: auto;
border: none;
background-image: none;
text-align: center;
}
/*plugin*/
.plugin{
background-color: #c6cef7;
margin-bottom:15px;
text-align: center;
}
/* ----------------------- MainColumn ----------------------- */
#main {
padding-bottom: 10px;
}
/*messageお知らせ*/
#message{
width: 420px;
margin-bottom: 15px;
background-color: #DFE3F3;
background-image: url(http://stat.ameba.jp/user_images/a2/6d/10051931391.png);
background-repeat: no-repeat;
background-position: right top;
margin-top: 10px;
}
#message .contents{
padding-top: 55px;
padding-bottom: 30px;
margin-top: 10px;
margin-bottom: 10px;
}
/*entries記事*/
.entry{
width: 420px;
margin-bottom: 20px;
display: block;
background-color: #DFE3F3;
}
.date {
text-align: right;
padding-top: 13px;
padding-bottom: 5px;
padding-left: 9px;
padding-right: 50px;
}
.entry .date{
background-image: url(http://stat.ameba.jp/user_images/d2/08/10052169015.png);
background-repeat: no-repeat;
background-position: left top;
display: block;
}
.entry .name{
margin-top: 5px;
display: block;
}
.entry .theme{
display: block;
margin-bottom: 10px;
}
.title{
margin-top: -25px;
margin-bottom: 40px;
COLOR: #666666;
padding-left: 70px;
padding-right: 160px;
}
.entry .contents{
margin-top: 15px;
margin-bottom: 15px;
}
.entry .foot{
background-image: url(http://stat.ameba.jp/user_images/98/bb/10052169013.png);
background-repeat: no-repeat;
background-position:left bottom;
display: block;
text-align: center;
padding-top: 10px;
padding-bottom: 15px;
}
/*page*/
.page{
margin-right: auto;
margin-left: auto;
margin-top: 7px;
margin-bottom: 10px;
text-align: center;
}
#footer_ad{
margin-right: auto;
margin-left: auto;
margin-top: 20px;
margin-bottom: 10px;
text-align: center;
}
#comment_module h3,
#trackback h3,
#reader_list h3,
#favorite_list h3,
#bookmark_list h3,
#recent_entries_list h3 {
margin-bottom: 10px;
}
/*trackback*/
#trackback{
width: 420px;
display: block;
background-color: #DFE3F3;
margin-top: 20px;
padding-top: 30px;
}
#trackback p.tr_URL {
padding-left: 5px;
margin-bottom: 10px;
}
#trackback ul {
padding-left: 5px;
margin-bottom: 10px;
}
/*comment_module*/
#comment_module h3.title {
background-image: url(http://stat.ameba.jp/user_images/d2/08/10052169015.png);
background-repeat: no-repeat;
background-position: left top;
margin: 0px;
padding-top: 30px;
}
#comment_module p.list {
margin: 0px 0px 10px 9px;
padding: 10px;
}
#comment_module{
width: 420px;
display: block;
background-color: #DFE3F3;
background-image: url(http://stat.ameba.jp/user_images/98/bb/10052169013.png);
background-repeat: no-repeat;
background-position:left bottom;
padding-bottom: 30px;
margin: 0px 0px 30px 0px;
}
#comment_module .each_comment {
margin-bottom: 10px;
}
#comment_module .comment_footer {
margin-top: 5px;
padding-top: 5px;
border-top: 1px dashed #CCCCCC;
}
#comment_module .error{
margin-top: 20px;
padding-bottom: 10px;
}
#comment_module label{
display: block;
float: left;
width: 70px;
text-align: right;
}
#f_name,#f_url,#f_title,#f_com{
display:inline;
width: 220px;
margin-bottom: 3px;
margin-left: 6px;
}
#comment_module form ul {
width: 310px;
margin-left: auto;
margin-right: auto;
}
#comment_module form li {
display: block;
width: 310px;
margin-bottom: 5px;
}
#comment_module li.lastItem {
display: block;
width: 300px;
margin-bottom: 5px;
text-align: right;
}
#comment_module .button {
margin-left: 5px;
font-size: 11px;
width: 80px;
}
/*reader_list*/
#reader_list{
margin-top: 20px;
margin-bottom:15px;
}
#reader_list ul{
width:100%;
}
#reader_list li{
padding-bottom: 2px;
margin-bottom: 8px;
border-bottom: 1px solid #CCCCCC;
}
#reader_list .reader_blog {
display:block;
margin-top:2px;
}
/*favorite_list*/
#favorite_list{
margin-bottom:15px;
}
#favorite_list ul{
width:100%;
}
#favorite_list li{
padding-bottom: 2px;
margin-bottom: 8px;
border-bottom: 1px solid #CCCCCC;
}
#favorite_list .favorite_blog {
display:block;
margin-top:2px;
}
/*bookmark_list*/
#bookmark_list ul{
width: 100%;
}
#bookmark_list li{
margin-bottom: 3px;
}
/*recent_entries_list*/
#recent_entries_list{
margin-bottom:15px;
}
#recent_entries_list ul{
width:100%;
margin-top:12px;
}
#recent_entries_list li{
padding-bottom: 2px;
margin-bottom: 8px;
border-bottom: 1px solid #CCCCCC;
}
#recent_entries_list .title{
display:block;
}
/*
-----------------------------------------------------
ameblo CSS Skin Layout Settings
FileName: type_b.css
Version: 2005.03.04
Skin for: night_sky
-----------------------------------------------------
*/
#main{
margin-left: 185px;
}
#sub_main{
width:100%;
overflow:hidden;
}
#firstContentsArea {
margin-right: 185px;
}
#sub_a{
width:170px;
position: absolute;
left: 0px;
top: 160px;
}
#sub_b{
width:170px;
position: absolute;
right: 10px;
top: 10px;
z-index: 100;
}
3コラム右にしたい方
上の作業を終わらせて、一度保存ボタン。
その後、CSSの下の方にある、この部分の下を、削除して書き換える。
/*
-----------------------------------------------------
ameblo CSS Skin Layout Settings
FileName: type_c.css
Version: 2005.03.04
Skin for: night_sky
-----------------------------------------------------
*/
3コラム右用
#main{
margin-right: 200px;
}
#sub_main{
width:100%;
overflow:hidden;
}
#firstContentsArea {
margin-right: 170px;
}
#subFirstContentsArea {
margin-right: 15px;
}
#sub_a{
width:170px;
position: absolute;
right: 200px;
top: 160px;
}
#sub_b{
width:170px;
position: absolute;
right: 15px;
top: 10px;
z-index: 100;
}
3/13 3コラムと同じく修正しました。