« 前のページ | トップページ | 次のエントリー »

iyahooi.comの現在のCSS

css.gif

たいしたものでもないけど
メモ代わりに。

/* Base Weblog (base-weblog.css) */

/* basic elements */

html
{
margin: 0;
/* setting border: 0 hoses ie6 win window inner well border */
padding: 0;
}

body
{
margin: 0;
/* setting border: 0 hoses ie5 win window inner well border */
padding: 0;
font-family: verdana, 'trebuchet ms', sans-serif;
font-size: 12px;
}

form, input { margin: 0; padding: 0; }
a { text-decoration: underline; }
a img { border: 0; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; }
h1, h2, h3, h4, h5, h6, p, ol, ul, pre
{
margin-top: 10px;
margin-bottom: 10px;
}


ul
{
margin:5px 0px 10px 10px;
padding:0px;
text-align:left;
list-style:none;
}

li
{
margin: 5px;
padding-left:15px;
font: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro W3","MS ゴシック","Osaka-等幅",monospace;
background: url("/images/icon/li_icon_01.gif") top left no-repeat;
line-height: 1em;
}

/* standard helper classes */

.clr
{
clear: both;
overflow: hidden;
width: 1px;
height: 1px;
margin: 0 -1px -1px 0;
border: 0;
padding: 0;
font-size: 0;
line-height: 0;
}

/* .pkg class wraps enclosing block element around inner floated elements */
.pkg:after
{
content: " ";
display: block;
visibility: hidden;
clear: both;
height: 0.1px;
font-size: 0.1em;
line-height: 0;
}
* html .pkg { display: inline-block; }
/* no ie mac \*/
* html .pkg { height: 1%; }
.pkg { display: block; }
/* */


/* page layout */

body { text-align: center; background-image: url("/images/bg.gif") ;} /* center on ie */

#container
{
position: relative;
margin: 0 auto; /* center on everything else */
width: 1025px;
text-align: left;
border-left: solid 5px #CCC;
border-right: solid 5px #CCC;
background: #fff;
}

#container-inner { position: static; width: auto; }

#banner { position: relative; }
#banner-inner { position: static; }

#pagebody { position: relative; width: 100%; }
#pagebody-inner { position: static; width: 100%; }

#alpha, #beta, #gamma, #delta
{
display: inline; /* ie win bugfix */
position: relative;
float: left;
min-height: 1px;
}

#delta { float: right; }

#alpha-inner, #beta-inner, #gamma-inner, #delta-inner
{
position: static;
}


/* banner user/photo */

.banner-user
{
float: left;
overflow: hidden;
width: 64px;
margin: 0 15px 0 0;
border: 0;
padding: 0;
text-align: center;
}

.banner-user-photo
{
display: block;
margin: 0 0 2px 0;
border: 0;
padding: 0;
background-position: center center;
background-repeat: no-repeat;
text-decoration: none !important;
}

.banner-user-photo img
{
width: 64px;
height: auto;
margin: 0;
border: 0;
padding: 0;
}


/* content */

.content-nav
{
margin: 10px;
text-align: center;
}

.date-header,
.entry-content
{
position: static;
clear: both;
}

.entry,
.trackbacks,
.comments,
.archive,
.relation-entrys
{
position: static;
overflow: hidden;
clear: both;
width: 100%;
margin-bottom: 20px;
}

.entry{
margin-bottom: 0px;
}

.entry-content,
.trackbacks-info,
.trackback-content,
.comment-content,
.comments-open-content,
.comments-closed,
.relation-content
{
clear: both;
margin: 5px 10px;
}

.entry-excerpt,
.entry-body,
.entry-more-link,
.entry-more,
.entry-body-text
{
clear: both;
}
.entry-body,
.entry-body-text,
.entry-more
{
margin: 0 0 10px 20px;
letter-spacing: 0.2em;
}

.entry-body img,
.entry-body-text img,
.entry-more img
{
padding: 10px;
margin: 5px;
border: 1px solid #cfd4d9; float:left;
}

.entry-footer,
.trackback-footer,
.comment-footer,
.comments-open-footer,
.archive-content
{
clear: both;
margin: 5px 10px 10px 10px;
}

.comments-open label { display: block; }

#comment-author, #comment-email, #comment-url, #comment-text
{
width: 100%;
background-color: #ffd;
border: 1px solid #cfd4d9;
}

#comment-bake-cookie
{
margin-left: 0;
vertical-align: middle;
}

#comment-post
{
font-weight: bold;
}

img.image-full { width: 100%; }

.image-thumbnail
{
float: left;
width: 115px;
margin: 0 10px 10px 0;
}

.image-thumbnail img
{
width: 115px;
height: 115px;
margin: 0 0 2px 0;
}


/* modules */

.module
{
position: relative;
overflow: hidden;
width: 100%;
margin-bottom: 5px;
}

.module-content
{
position: relative;
margin: 5px 10px 0px 10px;
}

.module-list,
.archive-list
{
margin: 0;
padding: 0;
list-style: none;
}

.module-list-item
{
margin-top: 5px;
margin-bottom: 5px;
}

.module-presence img { vertical-align: middle; }
.module-powered .module-content { margin-bottom: 0px; }
.module-photo .module-content { text-align: center; }
.module-wishlist .module-content { text-align: center; }

.module-calendar .module-content table
{
border-collapse: collapse;
}

.module-calendar .module-content th,
.module-calendar .module-content td
{
width: 14%;
text-align: center;
}

.typelist-thumbnailed { margin: 0 0 20px 0; }

.typelist-thumbnailed .module-list-item
{
display: block;
clear: both;
margin: 0;
}

/* positioniseverything.net/easyclearing.html */
.typelist-thumbnailed .module-list-item:after
{
content: " ";
display: block;
visibility: hidden;
clear: both;
height: 0.1px;
font-size: 0.1em;
line-height: 0;
}
* html .typelist-thumbnailed .module-list-item { display: inline-block; }
/* no ie mac \*/
* html .typelist-thumbnailed .module-list-item { height: 1%; }
.typelist-thumbnailed .module-list-item { display: block; }
/* */

.typelist-thumbnail
{
float: left;
min-width: 60px;
width: 60px;
/* no ie mac \*/width: auto;/* */
margin: 0 5px 0 0;
text-align: center;
vertical-align: middle;
}

.typelist-thumbnail img { margin: 5px; }

.module-galleries .typelist-thumbnail img { width: 50px; }

.typelist-description
{
margin: 0;
padding: 5px;
}

.module-featured-photo .module-content,
.module-photo .module-content
{
margin: 0;
}

.module-featured-photo img { width: 100%; }

.module-recent-photos { margin: 0 0 15px 0; }
.module-recent-photos .module-content { margin: 0; }
.module-recent-photos .module-list
{
display: block;
height: 1%;
margin: 0;
border: 0;
padding: 0;
list-style: url("/images/icon/li_icon_01.gif") top left no-repeat;
}

/* positioniseverything.net/easyclearing.html */
.module-recent-photos .module-list:after
{
content: " ";
display: block;
visibility: hidden;
clear: both;
height: 0.1px;
font-size: 0.1em;
line-height: 0;
}
* html .module-recent-photos .module-list { display: inline-block; }
/* no ie mac \*/
* html .module-recent-photos .module-list { height: 1%; }
.module-recent-photos .module-list { display: block; }
/* */

.module-recent-photos .module-list-item
{
display: block;
float: left;
/* ie win fix \*/ height: 1%; /**/
margin: 0;
border: 0;
padding: 0;
}

.module-recent-photos .module-list-item a
{
display: block;
margin: 0;
border: 0;
padding: 0;
}

.module-recent-photos .module-list-item img
{
width: 60px;
height: 60px;
margin: 0;
padding: 0;
}


/* mmt calendar */

.module-mmt-calendar { margin-bottom: 15px; }
.module-mmt-calendar .module-content { margin: 0; }
.module-mmt-calendar .module-header { margin: 0; }
.module-mmt-calendar .module-header a { text-decoration: none; }
.module-mmt-calendar table { width: 100%; }

.module-mmt-calendar th { text-align: left; }

.module-mmt-calendar td
{
width: 14%;
height: 75px;
text-align: left;
vertical-align: top;
}

.day-photo
{
width: 54px;
height: 54px;
}

.day-photo a
{
display: block;
}

.day-photo a img
{
width: 50px;
height: 50px;
}


/* Vicksburg (theme-vicksburg.css) */

/* basic page elements */

body
{
font-family: 'trebuchet ms', verdana, helvetica, arial, sans-serif;
font-size: 12px;
}

a { color: #36414d; text-decoration: underline; }
a:hover { color: #f96; }

#banner a { color: #fff; text-decoration: none; }
#banner a:hover { color: #f96; }

.module-content a { color: #36414d; }
.module-content a:hover { color: #f96; }

h1, h2, h3, h4, h5, h6
{
font-family: 'trebuchet ms', verdana, helvetica, arial, sans-serif;
}

.module-header,.trackbacks-header,.comments-header,.comments-open-header,.archive-header,.relation-header{
/* ie win (5, 5.5, 6) bugfix */
p\osition: relative;
width: 100%;
w\idth: auto;

/*
border-left: 5px solid #09f;
background: #9cf;
*/

background: url("/images/side_menu.gif") top left;
margin: 0;
padding: 5px;
padding-left: 12px;
color: #006;
font-size: 11px;
font-weight: bold;
line-height: 1;
text-transform: uppercase;
}

.module-header a,
.trackbacks-header a,
.comments-header a,
.comments-open-header a,
.archive-header a,
.relation-header a
{
color: #006;
}

.module-header a:hover,
.trackbacks-header a:hover,
.comments-header a:hover,
.comments-open-header a:hover
.archive-header a:hover,
.relation-header a:hover
{
color: #f96;
}

.entry-more-link,
.entry-footer,
.comment-footer,
.trackback-footer,
.typelist-thumbnailed
{
font-size: 11px;
letter-spacing: 0em;
}

.entry-more-link{ text-align: right; }

.commenter-profile img { vertical-align: middle; }


/* page layout */

body
{
min-width: 720px;
color: #333;
background: #FFF;
}


#container-inner
{
border-width: 0 5px 5px 5px;
border-style: solid;
border-color: #FFF;
}

#banner
{
width: 1015px; /* necessary for ie win */
background: #FFF;
}

#banner-inner
{
padding: 15px 13px;
border-width: 2px 2px 0 2px;
border-style: solid;
border-color: #fff;
}

.banner-user
{
width: 70px;
margin-top: 5px;
font-size: 10px;
}

.banner-user-photo { border: 1px solid #fff; }

#banner-header
{
margin: 0;
color: #fff;
width: 400px;
float: left;
}

#banner-description
{
margin-top: 5px;
margin-bottom: 0;
color: #333;
background: none;
font-size: 12px;
font-weight: bold;
line-height: 1.125;
text-shadow: #36414d 0 1px 2px;
}

#alpha { margin: 15px 15px 0 15px; width: 580px; }
#beta { width: 200px; background: #FFF; }
#gamma, #delta { width: 180px; background: #e6ecf2; }

#beta-inner,#gamma-inner,#delta-inner{
padding: 10px 10px 0 10px;
}

.date-header
{
margin-top: 0;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
}

.entry-header
{
margin-top: 0;
border: 1px solid #666;
border-left: 5px solid #666;
padding: 0 0 0 10px;
color: #666;
font-size: 18px;
font-weight: bold;
}

.entry-content,
.comment-content,
.trackback-content,
.relation-content
{
margin: 0;
line-height: 2em;
}

.entry-footer,
.comment-footer,
.trackback-footer
{
margin: 0 0 20px 0;
border-top: 1px solid #dae0e6;
padding-top: 3px;
color: #666;
font-size: 10px;
text-align: right;
}

.comment-content,
.trackback-content,
.comment-footer,
.trackback-footer,
.relation-content
{
margin-left: 0px;
}

.content-nav { margin-top: 0; }

#trackbacks-info
{
margin: 10px 0;
border: 1px dashed #a3b8cc;
padding: 0 10px;
color: #292e33;
font-size: 11px;
text-align: center;
background: #e6ecf2;
}

.comments-open-footer
{
margin: 10px 0;
}


/* modules */

.module
{
/*border-bottom: 1px solid #f3f6f9;*/
background: #fff;
}

.module-content
{
margin: 0 0 10px 0;
border: 1px solid #cfd4d9;
padding: 10px 10px 10px 10px;
font-size: 12px;
line-height: 1.2;
}

.module-search input { font-size: 10px; }
.module-search #search { width: 100px; }

.module-mmt-calendar .module-content table,
.module-calendar .module-content table { font-size: 10px; }

.module-powered { border-width: 0; }
.module-powered .module-content
{
margin-bottom: 0;
border: 1px dashed #a3b8cc;
padding-bottom: 10px;
color: #292e33;
background: #fff;
}

.module-photo { background: none; }
.module-photo img { border: solid 1px #fff; }

.module-list
{
margin: 0 15px 10px 0px;
list-style: url("/images/icon/li_icon_01.gif") top left no-repeat;
}

.module-list .module-list
{
margin: 5px 0 0 0;
padding-left: 15px;
list-style: url("/images/icon/li_icon_01.gif") top left no-repeat;
}

.module-list-item
{
margin-top: 0;
color: #666;
line-height: 1.2;
}

.typelist-thumbnailed .module-list
{
margin: 0 0 10px 0;
list-style: url("/images/icon/li_icon_01.gif") top left no-repeat;
}

.typelist-thumbnailed .module-list-item
{
margin: 1px 0;
padding: 0;
background: #f3f6f9;
}

.typelist-thumbnail
{
background: #fff;
}

.module-photo img { border: 1px solid #fff; }

.module-featured-photo { width: 398px; }
.module-featured-photo .module-content
{
margin: 0;
border-width: 0;
padding: 0;
}
.module-featured-photo img { width: 398px; }

.module-recent-photos .module-content { padding: 10px 0 0 19px; }
.module-recent-photos .module-list { margin: 0; }
.module-recent-photos .module-list-item
{
width: 64px; /* mac ie fix */
margin: 0 10px 10px 0;
padding: 0;
background: none;
}

.module-recent-photos .module-list-item a
{
border: #cfd4d9 1px solid;
padding: 1px;
background: #fff;
}

.module-recent-photos .module-list-item a:hover
{
border-color: #36414d;
background: #fff;
}


/* calendar tweaks */

.layout-calendar #alpha { width: 260px; }
.layout-calendar #beta { width: 420px; }

.layout-calendar #gamma,
.layout-calendar #delta
{
width: 190px;
}

.layout-calendar #gamma-inner,
.layout-calendar #delta-inner
{
border: 0;
padding: 0;
}

.module-mmt-calendar { width: 398px; }
.module-mmt-calendar .module-content
{
margin: 0;
border-width: 0;
padding: 10px;
}

.module-mmt-calendar table
{
width: 378px;
background: #a3b8cc;
}

.module-mmt-calendar th
{
color: #fff;
border-top: 1px solid #fff;
border-right: 1px solid #f3f6f9;
border-bottom: 1px solid #cfd4d9;
padding: 2px;
text-align: right;
font-weight: bold;
}

.module-mmt-calendar td
{
border-top: 1px solid #fff;
border-right: 1px solid #f3f6f9;
border-bottom: 1px solid #cfd4d9;
padding: 2px;
text-align: right;
font-weight: normal;
background: #e6ecf2;
}

th.weekday-7, td.day-7, td.day-14, td.day-21, td.day-28, td.day-35, td.day-42
{
border-right: none;
}

.module-mmt-calendar td { height: 70px; }

.day-photo
{
width: 49px;
height: 49px;
}

.day-photo a
{
border: #cfd4d9 1px solid;
padding: 1px;
background: #fff;
}

.day-photo a:hover
{
border-color: #36414d;
background: #fff;
}

.day-photo a img
{
width: 45px;
height: 45px;
}


/* artistic tweaks */

.layout-artistic #alpha { width: 260px; }
.layout-artistic #beta { width: 420px; }

.layout-artistic #gamma,
.layout-artistic #delta
{
width: 190px;
}

.layout-artistic #gamma-inner,
.layout-artistic #delta-inner
{
border: 0;
padding: 0;
}


/* moblog1 tweaks */

.layout-moblog1 #alpha
{
margin: 0;
width: 180px;
background: #e6ecf2;
}

.layout-moblog1 #alpha-inner
{
padding: 10px 10px 0 10px;
border-width: 2px 0 2px 2px;
border-style: solid;
border-color: #fff;
}

.layout-moblog1 #beta
{
margin: 15px 15px 0 15px;
width: 320px;
background: none;
}

.layout-moblog1 #beta-inner
{
padding: 0;
border-width: 0;
}

.layout-moblog1 .module-recent-photos .module-content { padding: 10px 0 0 10px; }


/* moblog2 tweaks */

.layout-moblog2 #alpha
{
margin: 0;
width: 86px;
background: #e6ecf2;
}

.layout-moblog2 #alpha-inner
{
padding: 10px 10px 0 10px;
border-width: 2px 0 2px 2px;
border-style: solid;
border-color: #fff;
}

.layout-moblog2 #beta
{
margin: 15px 15px 0 15px;
width: 260px;
background: none;
}

.layout-moblog2 #beta-inner
{
padding: 0;
border-width: 0;
}

.layout-moblog2 #delta
{
width: 154px;
}

.layout-moblog2 .module-recent-photos
{
border: 0;
background: none;
}

.layout-moblog2 .module-recent-photos .module-content
{
padding: 0;
border: 0;
}

.layout-moblog2 .module-recent-photos .module-list-item { margin: 0 0 10px 0; }


/* timeline tweaks */

.layout-timeline #alpha { width: 260px; }
.layout-timeline #beta { width: 420px; }

.layout-timeline #gamma,
.layout-timeline #delta
{
width: 190px;
}

.layout-timeline #gamma-inner,
.layout-timeline #delta-inner
{
border: 0;
padding: 0;
}


/* one-column tweaks */

.layout-one-column body { min-width: 520px; }
.layout-one-column #container { width: 520px; }
.layout-one-column #banner { width: 510px; } /* necessary for ie win */


/* two-column-left tweaks */

.layout-two-column-left #alpha
{
margin: 0;
width: 200px;
background: #e6ecf2;
}

.layout-two-column-left #alpha-inner
{
padding: 10px 10px 0 10px;
border-width: 2px 0 2px 2px;
border-style: solid;
border-color: #fff;
}

.layout-two-column-left #beta
{
margin: 15px 15px 0 15px;
width: 480px;
background: none;
}

.layout-two-column-left #beta-inner
{
padding: 0;
border-width: 0;
}


/* three-column tweaks */

.layout-three-column #alpha
{
margin: 0;
width: 180px;
background: #e6ecf2;
}

.layout-three-column #alpha-inner
{
padding: 10px 10px 0 10px;
border-width: 2px 0 2px 2px;
border-style: solid;
border-color: #fff;
}

.layout-three-column #beta
{
margin: 15px 15px 0 15px;
width: 320px;
background: none;
}

.layout-three-column #beta-inner
{
padding: 0;
border-width: 0;
}

/* footer */

.container-footer
{
position: relative;
margin: 0 auto; /* center on everything else */
width: 1005px;
border-left: solid 5px #CCC;
border-right: solid 5px #CCC;
padding: 10px;
background-color: #fff;

}

/* affiliate */

.affiliate-container{
margin-bottom: 0;
border: 1px dashed #a3b8cc;
padding-bottom: 10px;
color: #292e33;
background: #fff;
line-height: 1.5;
padding:5px;
text-align: center;
}

.affiliate-container img
{
text-decoration: none !important;
margin: 5px 0 5px 0;
}

.affiliate-text{ text-align: left; }

.affiliate-title
{
text-align: left;
}

.affiliate-price
{
text-decoration: none !important;
text-align: center;
color:#F69;
}
.affiliate-place
{
color: #09F;
font-weight: bold;
text-align: left;
text-decoration: none !important;
}


/* Original */
#beta-inner {
float: left;
}

blockquote {
clear: both;
background: #eee;
border: 1px solid #ccc;
color: #666;
padding: 10px;
margin-top: 10px;
width: 100%;
w\idth: auto;
}

hr {
border-bottom: solid 1px #ccc;
border-style: solid;
color: #ccc;
height: 1px;
}

.AdSense {
margin-top: 0px;
margin-bottom: 5px;
text-align: left;
}

.archive
{
_width: 520px;
font-size: 14px;
margin-bottom: 5px;
padding-bottom: 10px;
/* border-bottom: solid 1px #ccc; */
}

.archive-body
{
font-size: 10px;
_font-size: 9px;
letter-spacing: 0em;
line-height: 1.5em;
_line-height: 2em;
width:0 auto;
}

.archive-footer
{
font-size: 11px;
letter-spacing: 0em;
margin-bottom: 5px;
}

.attention {
font-size: 12px;
color:#D84E4E;
}

.code {
clear: both;
background: #eee;
border: 1px dashed #ccc;
color: #666;
padding: 10px;
margin-top: 10px;
}

.month_archive_contents{
position: static;
clear: both;
margin: 10px 0 10px 0;
line-height: 2em;
}

.month_archive_contents a{
font-size: 14px;
font-weight: bold;
}

.cal_day{
color: #ffffff;
font-size: 16px;
font-weight: bold;
text-align: center;
}

.blogparts_area img{
padding: 0px;
margin: 0px;
vertical-align: baseline;
}

.blogparts_area *{
clear: both;
}

.blogparts_area{
padding: 0px;
margin: 0px;
}

#spbanner{
width: 500px;
text-align: right;
float: right;
margin-top: 20px;
}

body { background-image: url("/images/bg.gif") ;}

.archive
{
line-height: 140%;
width: 520px;
}

/* amazon */
.amazlet-box
{
border: 1px solid #ccc;
}

.amazlet-box img
{
margin: 0;
padding: 0;
vertical-align: middle;
border: 0;
}

/* Tag Cloud */
#tags dt { display: inline; }
#tags dt a { border-width: 0; color: #000; }
#tags dt.hot a { color: #00F; }
#tags dt.old a { color: #777; }
#tags dt.oldest a { color: #CCC; }
#tags dt a:active, #tags dt a:hover { color: #6C3; }
.coffButton { color: #000; background: #fff; border: 1px solid #ccc;
padding: 2px; cursor: pointer; }
a.coffButton:hover { color: #000; background: #ccc; }
#coff { font-weight: bold; padding: 2px; }

実践Web Standards Design―Web標準の基本とCSSレイアウト&Tips
市瀬 裕哉 福島 英児 望月 真琴
九天社 (2007/02)
売り上げランキング: 4056
おすすめ度の平均: 5.0
5 ボックスハックで泣かされた方に
5 基本から応用までしっかりサポート!
5 XHTML,CSSについてきれいにまとめられています

このページへのリンクタグ

トラックバック

このエントリーのトラックバックURL:

コメントを投稿

(いままで、ここでコメントしたことがないときは、コメントを表示する前にこのブログのオーナーの承認が必要になることがあります。承認されるまではコメントは表示されません。そのときはしばらく待ってください。)

blog chart