IE70Fixes.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /* 7.0 - only fixes */
  2. /* content area */
  3. /* workaround for various ie float bugs */
  4. /* This bit is needed to make links clickable... WTF */
  5. div#column-content .mw-body {
  6. margin-left: 12.2em;
  7. margin-top: 3em;
  8. height: 1%;
  9. }
  10. .rtl div#column-content .mw-body {
  11. margin-right: 12.2em;
  12. margin-left: 0;
  13. }
  14. .rtl div#column-one {
  15. /* For some reason it tries to inherit the padding-top into every div,
  16. * and I can't figure out how to get it back off.
  17. * Margin works correctly for this use, though.
  18. */
  19. padding-top: 0;
  20. margin-top: 160px;
  21. }
  22. /* These elements also have padding-left: 20px; in main.css, but in RTL mode this is flipped.
  23. * That's good in normal browsers, but in IE7 it needs to not be flipped for some daft reason.
  24. * Also clear the right margin (originally margin-left: 1em)
  25. */
  26. li#pt-userpage,
  27. li#pt-anonuserpage,
  28. li#pt-login {
  29. padding-left: 20px;
  30. margin-right: 0;
  31. }
  32. .rtl a.feedlink {
  33. background-position: right;
  34. padding-right: 0;
  35. padding-left: 16px;
  36. }
  37. /* the tabs */
  38. #p-cactions {
  39. z-index: 3;
  40. }
  41. #p-cactions li {
  42. padding-bottom: 0 !important; /* stylelint-disable-line declaration-no-important */
  43. border: 0;
  44. background-color: transparent;
  45. cursor: default;
  46. float: none !important; /* stylelint-disable-line declaration-no-important */
  47. }
  48. #p-cactions li a {
  49. display: inline-block !important; /* stylelint-disable-line declaration-no-important */
  50. vertical-align: top;
  51. padding-bottom: 0;
  52. border: solid #aaa;
  53. border-width: 1px 1px 0;
  54. }
  55. #p-cactions li.selected a {
  56. border-color: #fabd23;
  57. padding-bottom: 0.17em;
  58. }
  59. #p-cactions li a:hover {
  60. padding-bottom: 0.17em;
  61. }
  62. #p-navigation a {
  63. display: inline-block;
  64. width: 100%;
  65. }
  66. #portal-personaltools {
  67. padding-bottom: 0.1em;
  68. }
  69. textarea {
  70. width: 96%;
  71. }
  72. /*
  73. #catlinks,
  74. div.tright,
  75. div.tleft {
  76. position: relative;
  77. }
  78. */
  79. #footer li {
  80. /* Work around bug with inline <li> tags with right margins and nowrap */
  81. margin-right: 0;
  82. }