Created
October 28, 2009 01:33
-
-
Save okitsutakatomo/220149 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "UTF-8"; | |
/* reset styles */ | |
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { | |
margin:0; | |
padding:0; | |
} | |
table { | |
border-collapse:collapse; | |
border-spacing:0; | |
} | |
fieldset,img { | |
border:0; | |
} | |
img, input, select, textarea { | |
vertical-align: middle; | |
} | |
address,caption,cite,code,dfn,em,strong,th,var { | |
font-style:normal; | |
font-weight:normal; | |
} | |
ol,ul { | |
list-style:none; | |
} | |
caption,th { | |
text-align:left; | |
} | |
label { | |
cursor: pointer; | |
} | |
h1,h2,h3,h4,h5,h6 { | |
font-size:100%; | |
font-weight:normal; | |
} | |
q:before,q:after { | |
content:''; | |
} | |
abbr,acronym { border:0; | |
} | |
/* For vertical-scrollbar issue */ | |
/* Firefoxで縦スクロールバーが必ず表示されるようにする設定(画面遷移中にセンタリングレイアウトががたつかなくするハック) */ | |
html { | |
overflow: scroll; | |
overflow: -moz-scrollbars-vertical; /* Firefoxの先行実装 */ | |
overflow-x: scroll; /* Firefoxで横スクロールバーが表示されない問題を回避 */ | |
} | |
/* For IE7 hasLayout issue */ | |
/* IE7のページ拡大時にレイアウトが崩れる問題の回避 */ | |
*:first-child+html * { | |
letter-spacing: 0; /* hasLayout問題を回避 */ | |
} | |
/* floatした要素の高さは親要素の高さに反映されない問題を回避するハック */ | |
.clearfix:after { | |
content: "."; /* 新しい要素を作る */ | |
display: block; /* ブロックレベル要素に */ | |
clear: both; | |
height: 0; | |
visibility: hidden; | |
} | |
.clearfix { | |
min-height: 1px; | |
} | |
* html .clearfix { | |
height: 1px; | |
/*¥*//*/ | |
height: auto; | |
overflow: hidden; | |
/**/ | |
} | |
.clear { clear: both; height: 0; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment