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