widthauto.css 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. Discuz! X3.0 X3.1 X3.2 (C) ¼Çʱ¾
  7. http://www.wfdsoft.com
  8. ---------------------------------- */
  9. .wp { width:1180px; }
  10. #hd .wp, #wp { min-width:1180px; }
  11. .ct2 { margin-right: 235px; }
  12. .ct2 .sd { margin-right: -235px; }
  13. .ie7 .ct2 .sd { margin-left: 15px; }
  14. .ie6 .ct2 .sd { padding-left: 15px; position: relative; }
  15. .ct2 .mn { width: 100%; }
  16. .ct2 #chart, .ct2 #an { margin-right: -235px; }
  17. .ie6 .ct2 #chart, .ie6 .ct2 #an { position: relative; }
  18. .ct2_a { padding-left: 150px; }
  19. .ct2_a .appl { margin-left: -150px; }
  20. .ie6 .ct2_a .appl { position: relative; display: inline; }
  21. .ct2_a .mn { width: 99%; }
  22. #nv_userapp .ct2_a .mn, .ct2_a_r .mn { width: 99%; }
  23. .ct3_a { padding: 0 240px 0 160px; }
  24. .ct3_a .appl { margin-left: -160px; }
  25. .ie6 .ct3_a .appl, .ie6 .ct3_a .sd { display: inline; }
  26. .ct3_a .sd { margin-right: -240px; }
  27. .ct3_a .mn { margin: 0; width: 100%; }
  28. #nv, #mu { border-left: 1px solid {COMMONBORDER}; border-right: 1px solid {COMMONBORDER}; }
  29. #nv { background-repeat: repeat-x; background-position: 0 -33px; }
  30. #mu ul { border-bottom: 1px solid {COMMONBORDER}; background-image: none; background-color: {COMMONBG}; }
  31. .pg_post .ct2_a { margin-left: 0; padding-left: 0; }
  32. .pg_post .ct2_a .appl { margin-left: 0; background: none; }
  33. .pg_modcp .ct2_a, .pg_announcement .ct2_a { border: none; }
  34. .pg_modcp .ct2_a .mn, .pg_announcement .ct2_a .mn { margin-right: 0; padding-top: 0; }
  35. .tdats .tdat { width: 20%; }
  36. .tdats .tfxf { width: 79.5%; }
  37. .tdats .tfx, .tdats .tb, .tscr { width: 39.5%; }
  38. .tscr .tdat, .tscr .tdat th, .tscr .tdat td { width: 100%; }
  39. .widthauto #toptb #diy-tg_menu { margin: -7px 0 0 -1px; }
  40. .widthauto .switchwidth { background-position: 100% -18px; }
  41. .widthauto .switchwidth:hover { background: url({IMGDIR}/switch_width.png) no-repeat 100% -54px; }