widthauto.css 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* ----------------------------------
  2. Self-adaption Width CSS file for Discuz! X
  3. (C) Comsenz Inc.
  4. http://www.comsenz.com
  5. Created & Modified by Pony.
  6. ---------------------------------- */
  7. .wp { width: 98%; }
  8. #hd .wp, #wp { min-width: 960px; }
  9. .ct2 { margin-right: 235px; }
  10. .ct2 .sd { margin-right: -235px; }
  11. .ie7 .ct2 .sd { margin-left: 15px; }
  12. .ie6 .ct2 .sd { padding-left: 15px; position: relative; }
  13. .ct2 .mn { width: 100%; }
  14. .ct2 #chart, .ct2 #an { margin-right: -235px; }
  15. .ie6 .ct2 #chart, .ie6 .ct2 #an { position: relative; }
  16. .ct2_a { padding-left: 150px; }
  17. .ct2_a .appl { margin-left: -150px; }
  18. .ie6 .ct2_a .appl { position: relative; display: inline; }
  19. .ct2_a .mn { width: 99%; }
  20. #nv_userapp .ct2_a .mn, .ct2_a_r .mn { width: 99%; }
  21. .ct3_a { padding: 0 240px 0 160px; }
  22. .ct3_a .appl { margin-left: -160px; }
  23. .ie6 .ct3_a .appl, .ie6 .ct3_a .sd { display: inline; }
  24. .ct3_a .sd { margin-right: -240px; }
  25. .ct3_a .mn { margin: 0; width: 100%; }
  26. #nv, #mu { border-left: 1px solid {COMMONBORDER}; border-right: 1px solid {COMMONBORDER}; }
  27. #nv { background-repeat: repeat-x; background-position: 0 -33px; }
  28. #mu ul { border-bottom: 1px solid {COMMONBORDER}; background-image: none; background-color: {COMMONBG}; }
  29. .pg_post .ct2_a { margin-left: 0; padding-left: 0; }
  30. .pg_post .ct2_a .appl { margin-left: 0; background: none; }
  31. .pg_modcp .ct2_a, .pg_announcement .ct2_a { border: none; }
  32. .pg_modcp .ct2_a .mn, .pg_announcement .ct2_a .mn { margin-right: 0; padding-top: 0; }
  33. .tdats .tdat { width: 20%; }
  34. .tdats .tfxf { width: 79.5%; }
  35. .tdats .tfx, .tdats .tb, .tscr { width: 39.5%; }
  36. .tscr .tdat, .tscr .tdat th, .tscr .tdat td { width: 100%; }
  37. .widthauto #toptb #diy-tg_menu { margin: -7px 0 0 -1px; }
  38. .widthauto .switchwidth { background-position: 100% -18px; }
  39. .widthauto .switchwidth:hover { background: url({IMGDIR}/switch_width.png) no-repeat 100% -54px; }