css類庫收藏
作者:Eve Cole
更新時間:2009-06-12 17:24:41
CSS程式碼
/*初始化樣式*/
body{font-family:"宋體", Arial,Verdana, sans-serif, Helvetica; font-size:12px; color:#010000;}
dl,dd,ul{list-style:none;}
a img{border:0;}
div,form,img,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6{padding:0;margin:0;border:0;}
input{ vertical-align:middle;}
body,html{ height:100%;}
/*字體樣式[定義規則,小寫f加字體屬性]*/
.fU{ text-decoration:underline;}
.fN{ text-decoration:none;}
.fB{ font-weight:bold;}
.f12{ font-size:12px;}
.f14{ font-size:14px;}
/*公用空隙[定義規則,小寫space加空隙高度] */
.space3{ height:3px; clear:both; font-size:1px;overflow:hidden;}
.space5{ height:5px; clear:both; font-size:1px;overflow:hidden;}
.space6{ height:6px; clear:both; font-size:1px;overflow:hidden;}
.space9{ height:9px; clear:both; font-size:1px;overflow:hidden;}
.space10{ height:10px; clear:both; font-size:1px;overflow:hidden;}
.space12{ height:12px; clear:both; font-size:1px;overflow:hidden;}
.space15{ height:15px; clear:both; font-size:1px;overflow:hidden;}
/*全域連結顏色*/
a:link {color:#1f3a87; text-decoration:none;}
a:visited {color:#83006f;text-decoration:none;}
a:hover {color:#bc2931; text-decoration:underline;}
a:active {color:#bc2931;}
/* 字型顏色屬性[定義規則,小寫c加顏色名稱] */
.cRed,a.cRed:link,a.cRed:visited{color:#f00;}
.cBlue,a.cBlue:link,a.cBlue:visited{color:#00c;}
.cDRed,a.cDRed:link,a.cDRed:visited{color:#bc2931;}
.cGray,a.cGray:link,a.cGray:visited{color:#4F544D;}
.cDGray,a.cDGray:link,a.cDGray:visited{color:#666;}
.cWhite,a.cWhite:link,a.cWhite:visited{color:#fff;}
.cBlack,a.cBlack:link,a.cBlack:visited{color:#000;}
.cYellow,a.cYellow:link,a.cYellow:visited{color:#ff0;}
.cGreen,a.cGreen:link,a.cGreen:visited{color:#008000;}
/* 其他屬性*/
.l{ float: left;}
.r{ float: right;}
.clear{ clear: both; font-size:1px; width:1px; height:0; visibility: hidden; }
.hidden{display: none;}
.unL,.unL a{text-decoration: none;}
.unB{border:none;}