style.css 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. /* common css ============================================== */
  2. /* div{text-align:left;}
  3. :focus{outline:none;}
  4. h4,h3,h2,h1{font-size:14px; margin:0;}
  5. form,ul,ol,dl,dd,p{margin:0; padding:0;}
  6. li{list-style-type:none;}
  7. img{border:none; vertical-align:middle;}
  8. button,input,select,textarea{font-size:1em; margin:0; font-family:tahoma, arial, simsun, sans-serif; color:#484848;}
  9. a{color:#f27f02; text-decoration:none;}
  10. a:hover{text-decoration:underline;}
  11. sup{vertical-align:text-top;}
  12. sub{vertical-align:text-bottom;}
  13. del{color:#686868;}
  14. table{border-collapse:collapse; border-spacing:0;}
  15. for font & text & tag ===================================
  16. .red{
  17. color:red!important;
  18. }
  19. .gray{
  20. color:#686868!important;
  21. }
  22. .hasDefaultText{color:#999;}
  23. .orange{
  24. color:#f60!important;
  25. }
  26. .green{
  27. color:#79a605!important;
  28. }
  29. .blue{
  30. color:#0057b0!important;
  31. }
  32. b{font-weight:normal; display:inline-block; margin:0 8px; color:#f27f02;}
  33. for margin & padding | width & height ===================
  34. .mb10{
  35. margin-bottom:10px;
  36. }
  37. .mb18{margin-bottom:18px;}
  38. .mb22{margin-bottom:22px;}
  39. .mt10{
  40. margin-top:10px;
  41. }
  42. .mr20{
  43. margin-right:20px;
  44. }
  45. .p10{padding:10px;}
  46. .tl { text-align: left}
  47. .tr { text-align: right}
  48. .tc { text-align: center}
  49. .ml10 {margin-left: 10px;}
  50. .mr10 {margin-right: 10px;}
  51. class css ============================ class css ========
  52. .fl{
  53. float:left;
  54. display:inline;
  55. }
  56. .fr{
  57. float:right;
  58. display:inline;
  59. }
  60. .clear{clear:both; height:0; overflow:hidden;}
  61. .lireset li {
  62. background: url("images/arrow1.gif") no-repeat left 8px;
  63. margin-bottom: 4px;
  64. padding-left: 15px;
  65. }
  66. .lireset2 li {
  67. background: url("images/arrow2.gif") no-repeat left 8px;
  68. margin-bottom: 4px;
  69. padding-left: 15px;
  70. }
  71. .download{
  72. padding:6px 0 6px 70px;
  73. line-height:26px;
  74. height:64px;
  75. font-size:16px;
  76. font-family:"microsoft yahei";
  77. background:url(images/download.png) no-repeat;
  78. }
  79. .donate{
  80. padding:15px 5px 6px 72px;
  81. height:55px;
  82. width:213px;
  83. display:block;
  84. color:#8b6300;
  85. border:5px solid #F27F02;
  86. background:url(images/donate.png) 3px center no-repeat #fae4ae;
  87. }
  88. .donate:hover{
  89. text-decoration:none;
  90. background-color:#fff79f;
  91. }
  92. --find height for float elements --------------------------
  93. .cls:after{content:"";font-size:0;display:block;height:0;clear:both;visibility:hidden;}
  94. * html .cls{ zoom: 1; } IE6
  95. *:first-child+html .cls{ zoom: 1; } IE7
  96. .wraper{
  97. width:980px;
  98. margin-left:auto;
  99. margin-right:auto;
  100. }
  101. .header{background:url(images/header-bg.gif) repeat-x left bottom;}
  102. .header h1 {
  103. font-size:34px;
  104. line-height:52px;
  105. font-weight:normal;
  106. padding:6px 0 8px 0;
  107. }
  108. .header h1 a{color:#fff;}
  109. .header .wraper{height:72px; position:relative;}
  110. .header .nav {
  111. position:absolute;
  112. right:-1px;
  113. top:0;
  114. font-family:"microsoft yahei";
  115. }
  116. .header .nav li {
  117. float:left;
  118. }
  119. .header .nav li a {
  120. font-size:20px;
  121. color:#fff;
  122. height:67px;
  123. line-height:67px;
  124. text-decoration:none;
  125. padding-left:15px;
  126. padding-right:15px;
  127. text-align:center;
  128. float:left;
  129. margin-right:1px;
  130. background:url(images/navbg.gif) repeat-x;
  131. }
  132. .header .nav li a.current, .header .nav li a:hover {
  133. border-bottom:5px solid #f27f02;
  134. }
  135. .gallery{
  136. height:496px;
  137. overflow:hidden;
  138. background:url(images/gallerry-bg.gif) 0 0 repeat-x #ccc;
  139. border-bottom:5px solid #EAEAEA;
  140. }
  141. .gallery li{background-color:#fff; overflow:hidden;}
  142. .roundabout-holder {
  143. width:646px;
  144. height:496px;
  145. margin:0 auto;
  146. }
  147. .roundabout-moveable-item {
  148. width: 646px;
  149. height: 416px;
  150. cursor: pointer;
  151. border:3px solid #ccc;
  152. border:3px solid rgba(255,255,255,0.5);
  153. border-radius:4px;
  154. -moz-border-radius:4px;
  155. -webkit-border-radius:4px;
  156. }
  157. .roundabout-moveable-item img{
  158. width:100%;
  159. }
  160. .roundabout-in-focus {
  161. cursor:default;
  162. border:3px solid rgba(255,255,255,0.8);
  163. }
  164. .main{background-color:#fff; color:#424242; padding:20px 0 30px; line-height:22px;}
  165. .aside{width:300px;}
  166. .main h3,
  167. .main h2{
  168. color: #212222;
  169. font-size:26px;
  170. font-weight: normal;
  171. line-height: 1.2em;
  172. margin-bottom: 22px;
  173. font-family:"microsoft yahei";
  174. }
  175. .main h3 span,
  176. .main h2 span{
  177. color: #888;
  178. }
  179. .content{width:650px;}
  180. .main p{
  181. margin-bottom: 18px;
  182. }
  183. .latestcomment li{max-height:36px; line-height:18px; overflow:hidden; margin-bottom:16px; color:#000;}
  184. .latestcomment a{
  185. color:#8a8a8a;
  186. text-decoration:underline;
  187. }
  188. .latestcomment a:hover{text-decoration:none;}
  189. .footer {
  190. color:#fff;
  191. height:20px;
  192. padding:20px 0 22px 0;
  193. border-top:5px solid #eee;
  194. }
  195. .commentlist cite, .commentlist em {
  196. font-style: normal;
  197. }
  198. .comment .tit {
  199. border-bottom: 1px dashed #CCCCCC;
  200. font-weight: bold;
  201. margin-bottom: 10px;
  202. padding-bottom: 6px;
  203. }
  204. .comment .tit span.gray {
  205. font-weight: normal;
  206. }
  207. .comment .comment-meta a{color:#999; cursor:default;}
  208. .comment .comment-meta a:hover{text-decoration:none;}
  209. .commentlist p {
  210. color: #333333;
  211. line-height: 23px;
  212. margin: 8px 0;
  213. }
  214. .commentlist li {
  215. color: #666666;
  216. float: none;
  217. height: auto;
  218. margin: 0;
  219. min-height: 50px;
  220. padding: 10px 10px 10px 72px;
  221. position: relative;
  222. width: 898px;
  223. }
  224. .commentlist li.graybg {
  225. background-color: #eee;
  226. }
  227. .commentlist li img {
  228. border: 1px solid #DDDDDD;
  229. height: 32px;
  230. left: 10px;
  231. padding: 4px;
  232. position: absolute;
  233. top: 13px;
  234. width: 32px;
  235. }
  236. .commentlist li .said {
  237. margin: 10px 0;
  238. }
  239. .sendcomment li {
  240. padding: 5px 0;
  241. }
  242. .sendcomment .inputxt {
  243. border: 1px solid #CCCCCC;
  244. padding: 5px;
  245. width: 230px;
  246. }
  247. .sendcomment textarea {
  248. border: 1px solid #CCCCCC;
  249. height: 160px;
  250. overflow: auto;
  251. padding: 5px;
  252. width: 566px;
  253. }
  254. .sendcomment .btn_sub {
  255. cursor: pointer;
  256. padding: 8px 20px;
  257. }
  258. .pagenav{
  259. padding:10px 0;
  260. }
  261. .pagenav a{
  262. display:inline-block;
  263. border:1px solid #ddd;
  264. padding:0 4px 1px;
  265. }
  266. .pagenav b{
  267. color:red;
  268. }
  269. .pagenav *{
  270. margin-right:6px;
  271. }
  272. .wp_syntax{margin-bottom:22px!important;}
  273. .post p{margin-bottom:8px;}
  274. .questionlist dt,
  275. .questionlist dd{padding:3px 15px;}
  276. .questionlist dt{
  277. margin-bottom:10px;
  278. background:url("images/arrow1.gif") no-repeat 5px 12px;
  279. }
  280. .questionlist .now{margin-bottom:4px;}
  281. .questionlist .now a{font-weight:bold; color:#f27f02}
  282. .questionlist dt a{color:#79a605;}
  283. .questionlist dd{display:none; background-color:#f1f1f1; padding:6px 15px 8px; margin-bottom:10px;}
  284. .questionlist p{margin:8px 0;} */
  285. /*==========以下部分是Validform必须的===========*/
  286. .Validform_checktip{
  287. margin-left:8px;
  288. line-height:20px;
  289. height:20px;
  290. overflow:hidden;
  291. color:#999;
  292. font-size:12px;
  293. }
  294. .Validform_right{
  295. color:#71b83d;
  296. padding-left:20px;
  297. background:url(images/right.png) no-repeat left center;
  298. }
  299. .Validform_wrong{
  300. color:red;
  301. padding-left:20px;
  302. white-space:nowrap;
  303. background:url(images/error.png) no-repeat left center;
  304. }
  305. .Validform_loading{
  306. padding-left:20px;
  307. background:url(images/onLoad.gif) no-repeat left center;
  308. }
  309. .Validform_error{
  310. background-color:#ffe7e7;
  311. }
  312. #Validform_msg{color:#7d8289; font: 12px/1.5 tahoma, arial, \5b8b\4f53, sans-serif; width:280px; -webkit-box-shadow:2px 2px 3px #aaa; -moz-box-shadow:2px 2px 3px #aaa; background:#fff; position:absolute; top:0px; right:50px; z-index:99999; display:none;filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#999999');}
  313. #Validform_msg .iframe{position:absolute; left:0px; top:-1px; z-index:-1;}
  314. #Validform_msg .Validform_title{line-height:25px; height:25px; text-align:left; font-weight:bold; padding:0 8px; color:#fff; position:relative; background-color:#000;}
  315. #Validform_msg a.Validform_close:link,#Validform_msg a.Validform_close:visited{line-height:22px; position:absolute; right:8px; top:0px; color:#fff; text-decoration:none;}
  316. #Validform_msg a.Validform_close:hover{color:#cc0;}
  317. #Validform_msg .Validform_info{padding:8px;border:1px solid #000; border-top:none; text-align:left;}