Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[分享] 简简单单的修改同样可以造就漂亮风格,演示

[复制链接]
折宝亭 发表于 2007-6-23 07:21:54 | 显示全部楼层 |阅读模式
用DZ自带的default风格.选择这个是因为它比另外一个风格大气,虽然不好看,可是没关系,大家看我修改的结果.只修改了一下CSS和部分布局
http://www.th9th.com/
代码共享:
  1. /*
  2. SupeSite 官方模板
  3. (C) 2001-2006 Comsenz Inc.
  4. [url]http://www.supesite.com[/url]
  5. */
  6. /*综合设置-------------------------------------------------------------------------------------------综合设置*/
  7. * { word-break: break-all; } /*在IE中实行强制换行*/
  8. body { margin: 0; padding: 0; background: #FFF; color: #333; text-align: center; font: 12px Arial, Helvetica, sans-serif; }
  9. #wrap { margin: 0 auto; text-align: left; width: 778px; padding: 0 4px; w\idth: 770px; }
  10. /*链接样式*/
  11. a { color: #000; text-decoration: none; }
  12. a:hover { text-decoration: underline; color: #000098; }
  13.   a:visited { color: #666;}
  14. a img { border: none; }
  15. /*文章列表中的作者、日期*/
  16. li cite { font-style: normal; font-size: 12px; float: right; width: 4em; color: #999; }
  17. li cite a { color: #999; font-size: 12px !important; }
  18.   li cite a:visited { color: #999; }
  19. /*用于AJAX调用的DIV*/
  20. .xspace-ajaxdiv { position:absolute; padding: 5px; border: 1px solid #BBB; background: #FCFFEF; text-align: left; }
  21. .xspace-ajaxdiv h5 { line-height: 24px; font-size: 1em; margin: 0; }
  22.   .xspace-ajaxdiv h5 a { float: right; font-weight: normal; }
  23. .xspace-ajaxcontent { background: #FFF; border: 1px solid #EEE; }
  24.   .xspace-ajaxcontent form { margin: 0; }
  25. /*分页*/
  26. .pages { text-align: right; background: url(../images/dotline_h.gif) repeat-x top; height: 32px; }
  27. .xspace-page { float: right; margin: 5px 5px 0 0; }
  28.   .xspace-page
  29. a, .xspace-page span { float: left; display: inline; margin-right: 3px;
  30. line-height: 20px; padding: 0 5px; border: 1px solid; border-color:
  31. #CEE3EA #90AAB4 #90AAB4 #CEE3EA; background: #fefbf1; }
  32.    span.xspace-totlerecord, span.xspace-totlepages { color: #090; }
  33.     span.xspace-totlerecord { margin-right: 0; border-right: none; }
  34.    span.xspace-current { background: #F90; border-color: #0A0 #060 #060 #0A0; color: #FFF; font-weight: bold; }

  35. #notice
  36. { margin: 200px auto 0; background: #FFF; border-style: solid;
  37. border-color: #ffaa29 #dae0e0 #dae0e0; border-width: 4px 1px 1px; }
  38. #notice_message { padding: 1.5em 1em; font-size: 1.17em; }
  39. #notice_message.warning { color:red; }
  40. #notice_links { margin: 0; line-height: 2em; border-top: 1px solid #F5F5F5; background: #fefbf1; padding: 0 1em; }
  41.   #notice_links a { margin: 0 2px; }


  42. /*选项卡*/
  43. h3.tabs { background-color: #ff7808 !important; height: 26px; padding-left: 0 !important; }
  44. .tab { font-weight: normal; float: left; padding: 0 10px; cursor: pointer; border-right: 1px solid #fec602; }
  45.   .curtab { background: #FFF; border-right-color: #dae0e0; font-weight: bold; }
  46. /*表单通用样式-----------------------------------------------------------------------------------表单通用样式*/
  47. form { margin: 0; }
  48. input, textarea, button, select { font: 1em Arial, Helvetica, sans-serif; }
  49. button { height: 1.8em; padding: 0 0.3em; background: #ffd429; cursor: pointer; border: 1px solid;
  50.   border-top-color: #C9E3F0; border-right-color: #ffaa29; border-bottom-color: #ffaa29; border-left-color: #C9E3F0; }
  51. label { cursor: pointer; margin-right: 0.5em; }
  52. /*头部风格-----------------------------------------------------------------------------------头部风格*/
  53. /*顶部导航*/
  54. #topmenu { background: #ff7808; border-bottom: 4px solid #fefbf1; text-align: right; line-height: 2em; }
  55. #topmenu ul { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #fec602; }
  56.   #topmenu li { display: inline; border-left: 1px solid #fec602; padding-left: 1em; padding-right: 0.5em; }
  57.    #topmenu a { color: #ffffff; }
  58. #pagetitle { padding: 8px 0; height: 76px; he\ight: 60px; border-bottom: 4px solid #fefbf1; overflow: hidden; }
  59. #logo { border-right: 1px solid #ffaa29; padding: 0 10px; margin-right: 10px; }
  60. .banner468 { float: right; }
  61. /*主导航*/
  62. #menu
  63. { border-top: 3px solid #ffaa29; border-bottom: 1px solid #ffaa29;
  64. line-height: 25px; background: url(../images/menu_bg.gif); width:
  65. 770px; overflow: hidden; }
  66. #menu ul { list-style: none; margin: 0 1em; padding: 0; width: 100%; overflow: hidden; }
  67.   #menu li { float: left; margin: 0 2px; width: 6em; overflow: hidden; white-space: nowrap; }
  68. /*首页导航*/
  69. #menu dl { margin: 0 1.5em; padding: 0; height: 25px; overflow: hidden; }
  70.   #menu dt { float: left; width: 4em; white-space: nowrap; }
  71.    #menu dt a { color: #ff6600 !important; }
  72.   #menu dd { float: left; width: 6em; margin: 0 2px; overflow: hidden; white-space: nowrap; }
  73. /*您的位置导航*/
  74. #navigation { padding: 1.2em 0; }
  75. #navigation p { margin: 0;}
  76.   #navigation p a, #navigation p strong { margin: 0 0.5em; }
  77. #searchform { float: right; }
  78.   #searchform * { vertical-align: top; }
  79.   #searchform button { margin-left: 0.5em; }
  80. /*简单页面的位置导航*/

  81. #navigation.simplepage { padding: 0; border-top: 3px solid #ffaa29;
  82. border-bottom: 1px solid #ffaa29; height: 26px; line-height: 30px;
  83. overflow: hidden; background: #fffdef url(../images/title_icon.gif)
  84. no-repeat 10px 6px;; margin-bottom: 1em; }
  85.   #navigation.simplepage p { float: right; margin-right: 0.5em; }
  86.   #navigation.simplepage h1, #navigation.simplepage h2 { margin: 0; font-size: 1.2em; padding-left: 32px; }
  87. /*-----------------------------------------------------------------------------------布局*/
  88. .content, .contentL, .contentR { width: 100%;}

  89. /*\*/ * html .content, * html .contentL, * html .contentR { height: 1%;
  90. } /**/ *>.content, *>.contentL, *>.contentR { overflow:
  91. hidden; }
  92. /*侧边样式*/
  93. .sideL { width: 210px; float: left; overflow: hidden; }
  94. .sideR { width: 190px; float: right; overflow: hidden; }
  95. /*中间部分样式*/
  96. .mainarea { margin: 0 4px; width: 362px; float: left; }
  97. .contentL .mainarea { margin: 0 0 0 4px; width: 556px; }
  98. .contentR .mainarea { margin: 0 6px 0 0; width: 574px; }
  99. /*-----------------------------------------------------------------------------------各版块样式*/
  100. /*版块标题*/
  101. .blocktitle { border-top: 3px solid #ffaa29; padding: 1px 0 0; margin-bottom: 6px; line-height: 30px; }

  102. .blocktitle h2 { font-size: 1.17em; margin: 0; padding-left: 32px;
  103. background: #ffd429 url(../images/title_icon.gif) no-repeat 10px 6px; }
  104. .blocktitle a.more { margin-top: 2px; }
  105. /*侧边版块*/
  106. .block { margin: 0 0 6px; border: 1px solid #dae0e0; background: #FFF; }

  107. .block h3 { margin: 1px 0 0; font-size: 1em; color: #ff6600;
  108. line-height: 26px; padding-left: 0.5em; background:
  109. url(../images/dotline_h.gif) repeat-x bottom; }
  110.   .block h3 a { color: #000000; }
  111.   /*\*/ * html .sideblock h3 { height: 1%; } /**/
  112. .blockintro { margin: 8px; line-height: 1.6em; }
  113.   .blockintro a { color: #ff6600; }
  114. .blockintroimg { float: right; margin: 5px 0 2px 5px; width: 80px; height: 80px; border: 4px solid #ffd429; }
  115. /*侧边多行列表*/
  116. .block dl { margin: 0; padding: 5px 0 10px; line-height: 1.5em; width: 100%; overflow: hidden; }
  117.   .block dt { margin: 0 5px; padding: 5px 0 0 8px; background: url(../images/list_icon.gif) no-repeat 0 12px; }
  118.    .block dt a { color: #ff6600; }
  119.   .block dd { color: #999; margin: 0 5px; padding: 0 0 5px 8px; background: url(../images/dotline_h.gif) repeat-x bottom; }
  120.    .block dd a { color: #999; }
  121. /*简单版块*/
  122. .cleanblock { background: #fefbf1; }
  123. /*居顶部的版块*/
  124. .topblock { border-top: 3px solid #ffaa29; !important; }
  125. /*头条信息*/
  126. #headline { padding: 5px; height: 70px; he\ight: 58px; overflow: hidden; }
  127. #headline strong { font-size: 1.2em; }
  128. #headline p { margin: 0.3em 0; }
  129. #headline img { float: right; width: 48px; height: 48px; border: 4px solid #FFF; }
  130. /*单行信息列表*/
  131. .msgtitlelist { margin: 0; padding: 0; list-style: none; line-height: 1.8em; }

  132. .msgtitlelist li { height: 1.8em; overflow: hidden; padding-left:
  133. 0.8em; background: url(../images/list_icon.gif) no-repeat 3px 0.68em; }
  134. .block .msgtitlelist { padding: 3px 5px; }
  135. .linelist li { height: 2.03em; line-height: 2.03em; }
  136.   .linelist li a { font-size: 1.17em; }
  137.    .linelist strong, .linelist strong a { font-size: 12px; color: #fde623 !important; }
  138. /*单行两列信息列表*/
  139. .list2col
  140. { margin: 0; padding: 10px 0; list-style: none; line-height: 1.8em;
  141. background: url(../images/dotline_v.gif) repeat-y center; }
  142. /*\*/ * html .list2col { height: 1%; } /**/ *>.list2col { overflow: hidden; }

  143. .list2col li { height: 1.8em; overflow: hidden; background:
  144. url(../images/list_icon.gif) no-repeat 3px 7px; float: left; display:
  145. inline; margin: 0 5px; padding-left: 10px; width: 275px; w\idth: 265px;
  146. }
  147. /*多行带摘要信息列表*/
  148. .messagelist { margin: 0; padding: 5px 8px; list-style: none; line-height: 1.6em; }
  149. .messagelist li { margin: 5px 0 25px;}
  150.   .messagelist
  151. h4 { margin: 5px 0; font-size: 1.17em; line-height: 2em; padding-left:
  152. 5px; background: #dae0e0 url(../images/dotline_h.gif) repeat-x bottom; }
  153.    .messagelist h4 em { float: right; font-style: normal; padding-right: 5px; }
  154.    .messagelist h4 a { color: #ff6600; }
  155.     .messagelist h4 a:visited { font-weight: normal; }
  156.    .messagelist p { margin: 5px 0; }
  157.     .messagelist p a { color: #ff6600; }
  158. /*资讯列表*/
  159. .newslist { margin: 0; padding: 0; list-style: none; line-height: 2.2em; }
  160. .newslist li { padding-left: 1em; font-size: 1.17em; background: url(../images/list_icon.gif) no-repeat 8px 0.7em; }

  161. /*信息列表(收起摘要时的状态)*/
  162. .cleanlist { margin: 0; padding: 5px 8px; list-style: none; line-height: 1.6em; }  
  163. .cleanlist h4 { background: url(../images/dotline_h.gif) repeat-x bottom; margin: 0; font-size: 1.17em; line-height: 2em; }
  164.   .cleanlist h4 em { float: right; font-style: normal; }
  165.   .cleanlist h4 a { font-weight: normal; background: url(../images/list_icon.gif) no-repeat 0 0.4em; padding-left: 10px; }
  166.    .cleanlist h4 em a { background-image: none; padding-left: 0; }
  167. .cleanlist p { display: none; }
  168. /*带缩略图的信息列表*/
  169. .thumbmsglist { margin: 0; padding: 10px; list-style: none; }
  170. .thumbmsglist li { padding-left: 100px; height: 100px; }
  171.   .thumbmsglist
  172. li div { float: left; display: inline; margin-left: -100px; text-align:
  173. center; border: 1px solid #DFDFDF; padding: 5px; width: 87px; w\idth:
  174. 75px; height: 87px; he\ight: 75px; position: relative; }

  175. .thumbmsglist li div img { max-height: 75px; max-width: 75px; width:
  176. expression(this.width > 75 && this.height < this.width ?
  177. 75: true); height: expression(this.height > 75 ? 75: true); }
  178.   .thumbmsglist li p { margin: 0; }
  179.   .thumbmsglist li em { float: right; font-style: normal; margin-top: 6px; }
  180.    .thumbmsglist li em strong { color: #090; }
  181.   .thumbmsglist li h4 { margin: 0; line-height: 26px; height: 26px; overflow: hidden; font-size: 1em; padding-left: 5px; }
  182.    .thumbmsglist li h4 a { color: #0954A6; }
  183.   .msgintro { background: #fffdf5; padding: 15px 5px 0; height: 29px; he\ight: 14px; overflow: hidden; }
  184.   .thumbmsglist .msginfo { background: #fffdf5 url(../images/dotline_h.gif) repeat-x bottom; padding: 5px 5px 10px; }

  185. /*热门话题*/
  186. #hottag { overflow: hidden;  }
  187. #hottag div { padding: 0.5em; overflow: hidden; line-height: 1.8em; }
  188.   #hottag a { margin-right: 0.2em; white-space: nowrap; }
  189.    #hottag a em { color: #999; font-style: normal; }
  190. /*热门文章*/
  191. #hotarticle div { height: 226px; overflow: hidden; }
  192. /*同城空间*/
  193. #cityspace form { width: 10.5em; margin: 0 auto; padding: 7px 0; }
  194. #cityspace select { margin: 2px 0; }
  195. #cityspace button { float: right; margin-top: 4px; width: 3.5em; height: 3.5em; }
  196. /*排行*/
  197. .stat
  198. ol { margin: 0 5px; padding: 0; line-height: 21px; background:
  199. url(../images/hotspace_bg.gif) no-repeat 5px 5px; list-style: none; }
  200. .stat li { height: 21px; overflow: hidden; padding-left: 28px; background: url(../images/dotline_h.gif) repeat-x 0 20px; }
  201. .stat em { float: right; font-style: normal; font-size: 9px; color: #999; width: 40px; margin-left: 5px; }
  202. /*图片列表*/
  203. .imgthumblist { margin: 0; padding: 0; list-style: none; padding-bottom: 6px; }
  204. /*\*/ * html .imgthumblist { height: 1%; }/**/ *>.imgthumblist { overflow: hidden; }
  205.   .imgthumblist
  206. li { float: left; display: inline; background: #FFF; text-align:
  207. center; width: 123px; height: 135px; w\idth: 115px; he\ight: 125px;
  208. overflow: hidden; border: 1px solid #EEE; padding: 3px; margin: 6px 0 0
  209. 4px; }
  210.    .imgthumblist p { margin: 0; line-height: 22px; }

  211. .imgthumblist div { line-height: 90px; font-size: 90px; height: 106px;
  212. display: table; background: url(../images/dotline_h.gif) repeat-x
  213. bottom; }
  214.     .imgthumblist div a { display: table-cell !important; display: block; width: 115px; vertical-align: middle; }

  215.    .imgthumblist div img { vertical-align: middle; max-width: 100px;
  216. max-height: 100px; width: expression(this.width >100 &&
  217. this.height < this.width ? 100: true); height:
  218. expression(this.height > 100 ? 100: true); font-size: 10px; }
  219.      @media all and (min-width: 0px){ .imgthumblist div img { width: 100px; height: 100px; } } /*for Opera Only*/
  220.    li.smallthumb { width: 88px; height: 105px; w\idth: 81px; he\ight: 97px; border-color: #DFDFDF; margin: 0 0 6px 4px; }
  221.     li.smallthumb div { line-height: 65px; font-size: 65px; height: 80px; }
  222.      li.smallthumb div a { width: 80px; }

  223.     li.smallthumb div img {  max-width: 75px; max-height: 75px; width:
  224. expression(this.width >75 && this.height < this.width ?
  225. 75: true); height: expression(this.height > 75 ? 75: true); }   
  226.       @media all and (min-width: 0px){ li.smallthumb div img { width: 75px; height: 75px; } } /*for Opera Only*/
  227. /*通栏图片列表*/
  228. .throughgallery { width: 100%; clear: both; margin-bottom: 5px; padding-bottom: 3px; background: #ffd429; }
  229.   .throughgallery .imgthumblist { margin: 0; }
  230.   .throughgallery .imgthumblist li { height: 128px; he\ight: 120px; margin: 3px 1px; }
  231. /*带缩略图的信息列表*/
  232. .imgtitlelist { margin: 10px 0; padding: 0; list-style: none; }
  233.   .imgtitlelist li { padding-left: 85px; padding-bottom: 5px; margin: 5px 0; border-bottom: 1px solid #ffd429; }
  234.   /*\*/ * html .imgtitlelist li { height: 1%; } /**/ .imgtitlelist>li { overflow: hidden; }
  235.    .imgtitlelist li h4 { margin: 0.3em 0; font-size: 1em; }

  236. .imgtitlelist li img { float: left; margin-left: -85px; width: 70px;
  237. height: 70px; padding: 3px; background: #FFF; border: 1px solid
  238. #DFDFDF; }
  239.    .imgtitlelist li p { margin: 0; line-height: 1.5em; }
  240. .block .imgtitlelist li { padding-left: 65px; }
  241.   .block
  242. .imgtitlelist li img { width: auto; height: auto; max-width: 48px;
  243. max-height: 48px; width: expression(this.width > 48 &&
  244. this.width > this.height ? 48 : true); height:
  245. expression(this.height > 48 ? 48 : true); margin-left: -60px; }

  246. .categoods img { width: 120px; height: 120px; }

  247. .coverlist { margin: 0; padding: 0; list-style: none; }
  248. /*\*/ * html .coverlist { height: 1%; } /**/ *>.coverlist { overflow: hidden; }
  249.   .coverlist li { float: left; display: inline; width: 260px; height: 120px; margin: 5px 10px; overflow: hidden; }

  250. .cover { float: left; display: table; text-align: center; border: 1px
  251. solid #DFDFDF; padding: 5px; width: 110px; height: 110px; w\idth:
  252. 100px; he\ight: 100px; line-height: 85px; font-size: 85px; overflow:
  253. hidden; }
  254.     .cover a { display: table-cell; vertical-align: middle; text-align: center; width: 100px; }

  255.    .cover img { max-height: 100px; max-width: 100px; width:
  256. expression(this.width >100 && this.height < this.width ?
  257. 100: true); height: expression(this.height > 100 ? 100: true);
  258. vertical-align: middle; font-size: 10px; }
  259.       @media all and (min-width: 0px){ .cover img { width: 90px; height: 100px; } } /*for Opera Only*/
  260.    .coverlist li ul { margin: 10px 0 0 120px; padding: 0; list-style: none; line-height: 18px; }
  261.     .coverlist li li { float: none; display: list-item; width: auto; height: auto; margin: 0; }
  262.    .coverlist h4 { margin: 0; font-size: 1em; font-weight: normal; }
  263.     .coverlist h4 a { color: #ff6600; }
  264. .videoscrlist { margin: 0; padding: 0; list-style: none; }
  265. /*\*/ * html .videoscrlist { height: 1%; } /**/ *>.videoscrlist { overflow: hidden; }
  266.   .videoscrlist li { float: left; display: inline; width: 260px; height: 120px; margin: 5px 10px; overflow: hidden; }

  267. .videoscr { float: left; display: table; text-align: center; border:
  268. 1px solid #DFDFDF; padding: 5px; width: 110px; height: 85px; w\idth:
  269. 100px; he\ight: 75px; line-height: 60px; font-size: 65px; overflow:
  270. hidden; }
  271.     .videoscr a { display: table-cell; vertical-align: middle; text-align: center; width: 100px; }

  272.    .videoscr img { max-height: 75px; max-width: 100px; width:
  273. expression(this.width >100 && this.height/this.width <
  274. 0.75 ? 100: true); height: expression(this.height > 75 ? 75: true);
  275. vertical-align: middle; font-size: 10px; }
  276.       @media all and (min-width: 0px){ .videoscr img { width: 90px; height: 100px; } } /*for Opera Only*/
  277.    .videoscrlist li ul { margin: 10px 0 0 120px; padding: 0; list-style: none; line-height: 18px; }
  278.     .videoscrlist li li { float: none; display: list-item; width: auto; height: auto; margin: 0; }
  279.    .videoscrlist h4 { margin: 0; font-size: 1em; font-weight: normal; }
  280.     .videoscrlist h4 a { color: #316AA5; }
  281. #commendbox { overflow: hidden; position: relative; height: 160px; background: #fefbf1; }
  282. #commendbox .scrollr { z-index: 2; position: absolute; height: 220px; right: 0; top: 0; }
  283. #commendbox .scrolll { z-index: 3; position: absolute; height: 220px; left: 0; top: 0; }
  284.   #commendbox .scrollr img, #commendbox .scrolll img { margin-top: 40px; }
  285. .avatarlist { margin: 0; padding: 0; list-style: none; }
  286. /*\*/ * html .avatarlist { height: 1%; }  /**/ *>.avatarlist { overflow: hidden; }
  287. .avatarlist li { float: left; width: 113px; padding: 0; overflow: hidden; text-align: center; }
  288.   .avatarlist
  289. li div { border: 1px solid #DFDFDF; padding: 5px; width: 87px; w\idth:
  290. 75px; height: 87px; he\ight: 75px; margin: 8px auto; position:
  291. relative; display: table; }
  292.    .avatarlist li div a { display: table-cell; vertical-align: middle; font-size: 65px; line-height: 65px; }

  293.   .avatarlist li div img { vertical-align: middle; font-size: 10px;
  294. max-height: 75px; max-width: 75px; width: expression(this.width > 75
  295. && this.height < this.width ? 75: true); height:
  296. expression(this.height > 75 ? 75: true); }
  297.      @media all and (min-width: 0px){ .avatarlist li div img { width: 75px; height: 75px; } } /*for Opera Only*/
  298.   .avatarlist
  299. li ul { margin: 0 0 10px 0; padding: 0; list-style: none; line-height:
  300. 1.4em; background: url(../images/dotline_v.gif) repeat-y right 0; }
  301.    .avatarlist li li { float: none; padding: 0; height: 17px; overflow: hidden; }

  302. /*.joingroup { position: absolute; left: 0; bottom: 0; width: 85px;
  303. height: 18px; font-size: 12px !important; line-height: 18px; overflow:
  304. hidden; text-align: left; text-indent: -200px; background:
  305. url(../images/link_icons.gif) no-repeat 0 -100px; }
  306.     .joingroup:hover { background-color: #FFF; text-indent: 20px; opacity: 0.95; filter: alpha(opacity=95); }*/
  307. /*栏目区块列表*/
  308. .category {  margin: 4px 0 10px 0; }
  309. .category h3 { margin: 0 0 5px; font-size: 1.2em; line-height: 1.8em; height: 1.8em; border-bottom: 1px solid #ffaa29; }
  310.   .category h3 strong { background: #E9ECEF; float: left; padding: 0 8px; }
  311.    .category h3 strong a { color: #333; text-decoration: none; }
  312. .blockcategorylist
  313. { border: 1px solid #dae0e0; border-top: none; margin-bottom: 6px;
  314. overflow: hidden; background: url(../images/dotline_v.gif) repeat-y
  315. center; }
  316. /*\*/ * html .blockcategorylist { height: 1%; } /**/
  317. .blockcategory { float: left; width: 286px; border-top: 1px solid #dae0e0; height: 260px; overflow: hidden; }
  318.   .blockcategory
  319. h3 { line-height: 26px; background: #fcfdda
  320. url(../images/dotline_h.gif) repeat-x bottom; margin: 1px 0 0;
  321. font-size: 1em; height: 26px; }
  322.    .blockcategory h3 strong {
  323. background: #FFF; border-right: 1px solid #dae0e0; float: left;
  324. padding: 0 10px; max-width: 180px; height: 26px; overflow: hidden; }
  325.     .blockcategory h3 strong a { color: #ff6600; }
  326.    .blockcategory .msgtitlelist { margin: 5px; }
  327. .block3col { background: url(../images/dotline_v_3col.gif) repeat-y 255px 0 !important; }
  328. .catefocus { margin: 0 2px; border-bottom: 1px solid #fffcf0; }
  329. /*\*/ * html .catefocus { height: 1%; } /**/ *>.catefocus { overflow: hidden; }
  330. .catefocus img { float: left; margin: 4px 10px 4px 0; width: 75px; height: 75px; border: 1px solid #ffaa29; }
  331. .catefocus h4 { margin: 3px 0; font-size: 1em; line-height: 2em; }
  332. .catefocus ul { margin: 0; padding: 0; list-style: none; }
  333. .blockcategory .msgtitlelist { font-size: 1em; }
  334. /*栏目封面图片*/
  335. .catepic { text-align: center; background: url(../images/dotline_h.gif) repeat-x bottom; }

  336. .catepic img { margin-top: 10px; max-width: 170px; max-height: 170px;
  337. width: expression(this.width > 170 && this.height <
  338. this.width ? 170: true); height: expression(this.height > 170 ? 170:
  339. true); }
  340. .catepic p { text-align: left; padding: 10px; margin: 0; }
  341. /*专题列表*/
  342. #subjectlist { border-color: #ffaa29; padding: 2px; }
  343. #subjectlist h3 { border: none; background: #9FC8DF; }
  344. #subjectlist li { border-bottom: 1px solid #ffd429; text-align: center; padding: 3px; }
  345.   #subjectlist p { margin: 0; line-height: 1.2em; }
  346. /*-----------------------------------------------------------------------------------文章显示页面*/
  347. .articletitle { font-size: 1.33em; margin: 1em 0 0.5em; text-align: center; }
  348.   .articletitle a { color: #ff6600; }
  349. .articleinfo { margin: 0 8px !important; background: url(../images/dotline_h.gif) repeat-x bottom; }
  350. .articlectrl { float: right; }
  351. #custominfo { background: #fefcef url(../images/dotline_h.gif) repeat-x bottom; margin: 0 8px; padding: 8px 0; }
  352. #custominfo h5 { margin: 0; line-height: 2.2em; font-size: 1.2em; color: #ff6600; padding-left: 30px; }
  353. #custominfo ul { line-height: 1.6em; padding: 0; margin: 0; list-style: none; }
  354.   #custominfo li { padding: 0 30px 5px; background: url(../images/list_icon.gif) no-repeat 22px 7px; }
  355.    #custominfo strong { color: #ff6600; }


  356. #articlebody { width: 97%; margin: 0 auto; padding: 1em 0; overflow:
  357. hidden; overflow-y: hidden; line-height: 1.8em; font-size: 1.17em; }
  358.   #articlebody * { line-height: normal; }
  359.    #articlebody  p, #articlebody  div { line-height: 1.8em !important; margin: 10px 0; }
  360.     #articlebody  p *, #articlebody  div * { line-height: normal !important; }

  361. /*自定义信息*/
  362. #articlebody .addoninfo { border: 1px solid #EEE; }
  363.   #articlebody
  364. .addoninfo h5 { font-size: 1em; margin: 0; line-height: 2em !important;
  365. border-bottom: 1px solid #EEE; padding-left: 1em; }
  366.   #articlebody .addoninfo ul { margin: 0.5em 0 0.5em 2em; padding: 0; }
  367.    #articlebody .addoninfo li { line-height: 1.6em !important; }

  368. #articlebody img { width: expression(this.width > 500 ? 500: true); max-width: 500px;  }
  369.   .imglogolist { margin: 0; padding: 0; list-style: none; text-align: center; }


  370. #articlebody kbd.showvideo, #articlebody kbd.showflash { font: 1em
  371. Arial, Helvetica, sans-serif; cursor: pointer; text-decoration:
  372. underline; }
  373. /*评论列表 */
  374. .commentlist { margin: 0; padding: 10px; list-style: none; }
  375. .commentlist li { padding-bottom: 20px; }
  376.   .commentlist
  377. h4 { padding: 0 6px; font-size: 1em; margin: 0 0 10px; line-height:
  378. 26px; background: #ff7808 url(../images/dotline_h.gif) repeat-x bottom;
  379. }
  380. .commentlist img { width: expression(this.width > 500 ? 500: true); max-width: 500px;  }
  381. /*发表评论*/
  382. #comment form { margin: 0; padding: 5px 15px; }
  383. #comment p { margin: 0.3em 0; }
  384.   .seccodeline * { vertical-align: middle; }
  385.   #xspace-rates { text-align: center; height: 50px; background: #FFF; padding: 20px 0; border-bottom: none; margin-bottom: 0; }
  386.   #xspace-rates-bg { width: 210px; height: 30px; margin: 0 auto 5px; background: url(../../../images/base/rate_star.gif); }
  387.    #xspace-rates-star { height: 30px; background: url(../../../images/base/rate_star.gif) 0 -30px; margin: 0 auto 0 0; }
  388.    #xspace-rates-a { height: 30px; margin-top: -30px; }

  389. #xspace-rates a { float: left; text-align: left; width: 30px; height:
  390. 30px; text-indent: -999px; overflow: hidden; background-color:
  391. transparent !important; }
  392.    .xspace-rates-5 { width: 30px; }
  393.    .xspace-rates-3 { width: 60px; }
  394.    .xspace-rates-1 { width: 90px; }
  395.    .xspace-rates0 { width: 120px; }
  396.    .xspace-rates1 { width: 150px; }
  397.    .xspace-rates3 { width: 180px; }
  398.    .xspace-rates5 { width: 210px; }
  399.   
  400.   #message { border: 1px solid #dae0e0; padding: 5px; vertical-align: text-top; height: 8em; width: 490px; }
  401.   #seccode { border: 1px solid #dae0e0; height: 23px; line-height: 23px; padding: 0 5px; }
  402. /*-----------------------------------------------------------------------------------用户相关*/
  403. #panel { width: 600px; overflow: hidden; margin: 1em auto; }
  404. #userpanel fieldset, #loginform fieldset { border: none; margin: 0; padding: 0; }
  405. #userpanel legend, #loginform legend { display: none; }
  406. /*内嵌登录面板*/
  407. #userpanel { height: 8.8em; overflow: hidden; }
  408. #userpanel form { margin: 5px auto; width: 150px; }
  409.   #userpanel input { width: 90px; }
  410.   #userpanel p { margin: 0.5em 0; }
  411.   #userpanel #dologin { float: right; }
  412.   #userpanel form a { line-height: 2em; color: #B353B3; border-right: 1px solid #ffaa29; padding-right: 5px; }
  413. /*登录后*/
  414. #userpanel ul { margin: 0 5px; }

  415. #userpanel li { border-bottom: 1px solid #EEE; background:
  416. url(../images/list_icon.gif) no-repeat 0.3em 0.8em; padding-left: 12px;
  417. }
  418. /*登录页面*/
  419. .loginarea { width: 300px; float: left; }
  420. .tips { width: 299px; float: left; border-left: 1px solid #D5E9F8; line-height: 1.8em; }
  421. /*申请个人空间*/
  422. /*#signform p { border-bottom: 1px solid #D5E9F8; height: 1%; overflow: hidden; margin: 0; padding: 0.3em; line-height: 20px; }
  423. #signform p strong { float: left; width: 10em; }
  424.   #signform li p { height: auto; border: none; }
  425. #signform button { line-height: 30px; height: 30px; padding: 0 5em; }*/
  426. /*快捷面板*/
  427. .quicklink { overflow: hidden; margin: 0 0 5em; padding: 0; list-style: none; }
  428. .quicklink li { float: left; width: 33.3%; text-align: center; }

  429. .quicklink li a { display: block; border: 1px solid #CCC; width: 180px;
  430. margin: 10px auto; height: 50px; text-align: left; line-height: 50px;
  431. text-indent: 65px; background-image: url(../images/panel_icons.gif);
  432. background-repeat: no-repeat; }
  433.   .sitehome { background-position: 10px 7px; }
  434.   .bbs { background-position: 10px -83px; }
  435.   .myspace { background-position: 10px -173px; }
  436.   .spacemng { background-position: 10px -263px; }
  437.   .spacesignup { background-position: 10px 7px; }
  438.   .sitemng { background-position: 10px -443px; }
  439.   .logout { background-position: 10px -533px; }
  440.   .login { background-position: 10px -173px; }
  441.   .register { background-position: 10px -353px; }
  442. .quicklink li a:hover { border-color: #ffaa29; background-color: #fefbf1; text-decoration: none; }
  443. /*-----------------------------------------------------------------------------------其他页面*/
  444. /*站点地图*/
  445. #sitemap ul { height: 1%; overflow: hidden; margin: 0.5em 0; padding: 0; list-style: none; line-height: 24px; }
  446. #sitemap li { float: left; margin: 0 1em; white-space: nowrap; }
  447. /*友情链接*/
  448. #friendlink ul { height: 1%; overflow: hidden; margin: 1em 1.5em; padding: 0; list-style: none; }

  449. #friendlink li { float: left; margin: 2px; width: 100px; height: 24px;
  450. line-height: 24px; text-align: center; overflow: hidden; }
  451. .imglink { border-bottom: 1px solid #00C8DC; padding-bottom: 1em !important; }
  452.   .imglink li { height: 31px !important; }
  453.   .imglink li img { width: 88px; height: 31px; }
  454. /*投票*/
  455. #pollform legend { font-weight: bold; }
  456. #pollsummary { line-height: 1.8em; margin: 0.3em 0; background: #fffdef; padding: 0.5em }
  457. #pollresult { border: 1px solid #D5E9F8; margin: 1em 0; padding: 0.5em; }
  458. #pollresult ul { margin: 0; padding: 0; list-style: none; }
  459. #pollresult li { overflow: hidden; }
  460.   #pollresult li p { margin: 2px 0 5px 0; background: #F2F2F2; height: 18px; }
  461.   .pollpercent { float: left; width: 80%; }
  462.    .pollpercent span { background: #8ED4F7; border-right: 1px solid #009DEA; float: left; height: 18px; }
  463.   .pollnum { float: right; width: 20%; }
  464. #dopoll { border: 1px solid #D5E9F8; margin: 1em 0; padding: 0.5em; text-align: center; }
  465.   #dopoll ul { margin: 0; padding: 0; list-style: none; line-height: 2em; text-align: left; }
  466. /*搜索*/
  467. #search { width: 600px; margin: 4em auto; }
  468. #search form { text-align: center; margin: 4em 0; }
  469. #search .open { text-align: left !important; line-height: 30px; margin: 2em !important; }
  470.   #search .open div div { clear: both; padding-left: 7em; }
  471.   #search .open label { float: left; width: 7em; }
  472.    #search .open div label { margin-left: -7em; }
  473.   #search .open  button { float: right; }
  474. #search .open fieldset { border: none; margin: 0; padding: 0; }
  475.   #search .open fieldset label { float: none; margin: auto; white-space: nowrap; margin-right: 1em; }
  476. /*-----------------------------------------------------------------------------------页脚 Footer*/
  477. #footer
  478. { clear: both; border-top: 2px solid #ffaa29; padding-top: 1em;
  479. padding-bottom: 2em; text-align: center; font: 100% Verdana, Arial,
  480. Helvetica, sans-serif; }
  481. #footer p { margin: 0.3em 0; color: #999; }
  482. #footer strong { color: #ED1C24; text-transform: uppercase; }
  483.   #footer strong span { color: #0954A6; }
  484. #footer em { font-style: normal; font-weight: bold; color: #96A800; }
  485. #copyright { font-size: 0.83em; }
  486. .smalltxt { font-size: 12px; color: #999; font-weight: normal; }
  487. .smalltxt a, .smalltxt a:visited { color: #999 !important; }
  488. .msgheader {
  489. margin: 0 2em;
  490. font-weight: bold;
  491. background: #F3F8D7;
  492. padding: 5px;
  493. color: #ff6600
  494. }
  495. .msgborder {
  496. margin: 0 2em;
  497. padding: 10px;
  498. border: 1px solid #DEDEB8;
  499. word-wrap: break-word;
  500. background: #FDFFF2;
  501. overflow: hidden;
  502. }
  503. .nums { background: url(../images/icon_nums.gif) no-repeat left; padding-left: 10px; }
  504. #slideimg { padding-top: 7px; }
  505. #slidefooter
  506. { background: #ffd429; border: solid #fefbf1; border-width: 5px 0;
  507. height: 27px; margin: 0 auto; overflow: hidden; }
  508. #slideprev {
  509. background: url(../images/slide_prev.gif); width: 25px; height: 27px;
  510. text-indent: -9999px; float: left; overflow: hidden; }
  511. #slidenext {
  512. background: url(../images/slide_next.gif); width: 25px; height: 27px;
  513. text-indent: -9999px; float: right; overflow: hidden; }
  514. #slidetext { margin: 0; line-height: 29px; height: 27px; overflow: hidden; }
  515. #slideplay
  516. { background: url(../images/slide_play.gif); width: 46px; height: 27px;
  517. text-indent: -9999px; float: right; overflow: hidden; }

  518. a.more {
  519. float: right; height: 26px; line-height: 26px; color: #000000;
  520. background: transparent url(../images/link_icons.gif) no-repeat 0 7px;
  521. padding: 0 10px 0 15px; font-weight: normal; }
  522. a.minus { background-position: 0 -10px; }
  523. a.quote { background: url(../images/link_icons.gif) no-repeat 0 -52px; }
  524. a.del { background: url(../images/link_icons.gif) no-repeat 0 -115px; }
  525. a.author, a.author:visited { color: #090 !important; }
  526. strong.price { color: #090; }
  527. .goodrate { background: url(../images/link_icons.gif) no-repeat 0 -39px; padding: 0 5px 0 16px; }
  528. .replynum { background: url(../images/link_icons.gif) no-repeat 0 -57px; padding: 0 5px 0 16px; }
  529. .users { background: url(../images/link_icons.gif) no-repeat 0 -77px; padding: 0 5px 0 16px; }
  530. .joingroup { background: url(../images/link_icons.gif) no-repeat 0 -99px; padding-left: 16px; }

  531. .joingroupbtn { background: url(../images/link_icons.gif) no-repeat 1px
  532. -97px; padding-left: 16px; float: right; display: inline; margin-right:
  533. 10px; width: 16px; w\idth: 0; height: 20px; overflow: hidden; }


  534. .xspace-quote { margin: 10px 5px 10px 50px; border-left: 4px solid #dae0e0; background: #fefbf1; padding: 10px; }
  535. #msg-joingroup
  536. { display: block; width: 120px; height: 35px; line-height: 35px;
  537. text-decoration: none; background: #F6AB20; color: #FFF; font-size:
  538. 12px; font-weight: bold; border: 1px solid; border-color: #FFD68B
  539. #B1A682 #B1A682 #FFD68B; }
复制代码


问题更新:http://www.th9th.com/bbs/thread-1017-1-1.html

首次自己动手做滑动门,还算满意.

[ 本帖最后由 折宝亭 于 2007-7-21 11:50 编辑 ]

评分

1

查看全部评分

renju 发表于 2007-6-23 07:32:38 | 显示全部楼层
很漂亮,顶你以下!
回复

使用道具 举报

5to20 发表于 2007-6-23 08:39:06 | 显示全部楼层
确实不错~~~~~~~~~~~~~~~~~~~~~~~~~
回复

使用道具 举报

 楼主| 折宝亭 发表于 2007-6-23 08:59:29 | 显示全部楼层
谢谢,呵呵.....
回复

使用道具 举报

爱恨天界 发表于 2007-6-23 09:14:42 | 显示全部楼层
顶了~
关键不熟悉代码啊。。。。不晓得怎么改
回复

使用道具 举报

chr673673673 发表于 2007-6-23 09:18:23 | 显示全部楼层
关键是不会改 :L
回复

使用道具 举报

easyker 发表于 2007-6-23 09:27:36 | 显示全部楼层
:) :) :)
回复

使用道具 举报

imcko 发表于 2007-6-23 10:02:59 | 显示全部楼层
想知道你具体改的是那里
因为我也想达到这样简单修改的目的
谢谢
回复

使用道具 举报

autolst 发表于 2007-6-23 11:09:28 | 显示全部楼层
说一下具体怎么改的吧!
回复

使用道具 举报

 楼主| 折宝亭 发表于 2007-6-23 12:47:34 | 显示全部楼层
不是不会改,不是不好改,而是因为你们根本就没有动手过,我比你们还菜.
SS的原装代码,都有注释,你们看过吗?
熟悉SS,只需要认真的看三个小时的代码,你们浪费过这三个小时吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-12-27 02:50 , Processed in 0.039050 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表