www.gusucode.com > ShopEx481 & PHPWind 整合版码程序 > install/images/typography.css
/* -------------------------------------------------------------- typography.css * Sets up some sensible default typography. -------------------------------------------------------------- */ /* Default font settings. The font-size percentage is of 16px. (0.75 * 16px = 12px) */ body { font-size: 75%; color: #222; background: #fff; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } /* Headings -------------------------------------------------------------- */ h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; margin:8px 0; font-weight: bold;} h1 { font-size: 18px;} h2 { font-size: 16px; } h3 { font-size: 14px;} h4 { font-size: 12px;} h5 { font-size: 1em;} h6 { font-size: 1em;} h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { margin: 0; } /* Text elements -------------------------------------------------------------- */ p { margin: 0 0 1.5em; } p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; } p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; } a:focus, a:hover { color: #000; } a { color: #009; text-decoration: underline; } blockquote { margin: 1.5em; color: #666; font-style: italic; } strong { font-weight: bold; } em,dfn { font-style: italic; } dfn { font-weight: bold; } sup, sub { line-height: 0; } abbr, acronym { border-bottom: 1px dotted #666; } address { margin: 0 0 1.5em; font-style: italic; } del { color:#666; } pre,code { margin: 1.5em 0; white-space: pre; } pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } /* Lists -------------------------------------------------------------- */ li ul, li ol { margin:0 1.5em; } ul, ol { margin: 0 1.5em 1.5em 1.5em; list-style:none} dl { margin: 0 0 1.5em 0; } dl dt { font-weight: bold; } dd { margin-left: 1.5em;} /* Misc classes -------------------------------------------------------------- */ .small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; } .large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; } .hide { display: none; } .quiet { color: #666; } .loud { color: #000; } .highlight { background:#ff0; } .added { background:#060; color: #fff; } .removed { background:#900; color: #fff; } .first { margin-left:0; padding-left:0; } .last { margin-right:0; padding-right:0; } .top { margin-top:0; padding-top:0; } .bottom { margin-bottom:0; padding-bottom:0; } /* 字体向右对齐 */ td.textright,a.textright,span.textright,li.textright,div.textright,p.textright{text-align:right;} /* 字体向左对齐 */ td.textleft,a.textleft,span.textleft,li.textleft,div.textleft,p.textleft,colgroup.textleft{text-align:left;} /* 字体居中对齐 */ td.textcenter,a.textcenter,span.textcenter,li.textcenter,div.textcenter,p.textcenter,colgroup.textcenter{text-align:center;} /* 容器内文字不换行 */ td.textnowrap,a.textnowrap,span.textnowrap,li.textnowrap,div.textnowrap,p.textnowrap{white-space:nowrap;} /* 容器内文字可以换行 */ td.textwrap,a.textwrap,span.textwrap,li.textwrap,div.textwrap,p.textwrap{white-space:normal;} /* 设置元素既有inline属性又有block属性 */ td.inline-block{display:inline-block;display:-moz-inline-stack;*display:inline;zoome:1;} /* 设置字体大小 -------------------------------------------------------------- */ .font11px{ font-size:11px;} .font12px{ font-size:12px;} .font14px{ font-size:14px;} .font16px{ font-size:16px;} .font18px{ font-size:18px;} .font20px{ font-size:20px;} /* 设置字体是否粗体 -------------------------------------------------------------- */ .fontbold{ font-weight:700;} .fontnormal{ font-weight:normal;} /* 设置字体颜色 -------------------------------------------------------------- */ .fontcolorRed{ color:#CC0000} .fontcolorGreen{ color:#618605} .fontcolorOrange{ color:#f90;} .fontcolorBlack{ color:#000;} .fontcolorGray{ color:#666;} .fontcolorBlue{ color:#369;} /* 设置元素的边框效果 -------------------------------------------------------------- */ .borderdown{border-top: 1px solid #bec6ce; border-left: 1px solid #bec6ce; border-right: 1px solid #fff; border-bottom: 1px solid #fff;} .borderup{border-top: 1px solid #fff; border-left: 1px solid #fff; border-right: 1px solid #bec6ce; border-bottom: 1px solid #bec6ce;}