LEFT | RIGHT |
1 html | 1 html |
2 { | 2 { |
3 position: relative; | 3 position: relative; |
4 min-height: 100%; | 4 min-height: 100%; |
5 } | |
6 | |
7 header | |
8 { | |
9 width: 1000px; | |
10 border-radius: 0 0 5px 5px; | |
11 margin-left: auto; | |
12 margin-right: auto; | |
13 | |
14 } | |
15 | |
16 header nav | |
17 { | |
18 padding: 40px 12px 10px 140px; | |
19 line-height: 1; | |
20 } | |
21 | |
22 html[dir="rtl"] header nav | |
23 { | |
24 padding: 40px 140px 10px 12px; | |
25 } | |
26 | |
27 header nav ul, | |
28 html[dir="rtl"] header nav ul * | |
29 { | |
30 text-align: right; | |
31 white-space: nowrap; | |
32 } | |
33 | |
34 header nav ul *, | |
35 html[dir="rtl"] header nav ul | |
36 { | |
37 text-align: left; | |
38 } | |
39 | |
40 header nav li | |
41 { | |
42 display: inline-block; | |
43 vertical-align: middle; | |
44 } | |
45 | |
46 header nav li | |
47 { | |
48 height: 18px; | |
49 border-left: 1px dotted #848484; | |
50 border-right-width: 0; | |
51 margin-left: 8px; | |
52 margin-right: 0; | |
53 padding: 2px 0 2px 12px; | |
54 } | |
55 | |
56 html[dir="rtl"] header nav li | |
57 { | |
58 border-right: 1px dotted #848484; | |
59 border-left-width: 0; | |
60 margin-right: 8px; | |
61 margin-left: 0; | |
62 padding: 2px 12px 2px 0; | |
63 } | |
64 | |
65 html[dir] header nav li.first, html[dir] .language-entry | |
66 { | |
67 border-left-width: 0; | |
68 border-right-width: 0; | |
69 margin-left: 0; | |
70 margin-right: 0; | |
71 padding-left: 0; | |
72 padding-right: 0; | |
73 } | |
74 | |
75 /* Needs to be duplicated because IE6 ignores the above rule */ | |
76 header nav li.first, .language-entry | |
77 { | |
78 border-left-width: 0; | |
79 border-right-width: 0; | |
80 margin-left: 0; | |
81 margin-right: 0; | |
82 padding-left: 0; | |
83 padding-right: 0; | |
84 } | |
85 | |
86 #language | |
87 { | |
88 position: relative; | |
89 cursor: pointer; | |
90 } | |
91 | |
92 #language-arrow | |
93 { | |
94 width: 16px; | |
95 height: 9px; | |
96 background-position: -31px -190px; | |
97 } | |
98 | |
99 #language-selector | |
100 { | |
101 display: none; | |
102 position: absolute; | |
103 right: -12px; | |
104 left: auto; | |
105 margin-top: 2px; | |
106 min-width: 100%; | |
107 padding: 5px 5px 5px 5px; | |
108 background: white; | |
109 border: 1px solid #D9D9D9; | |
110 border-radius: 5px; | |
111 } | |
112 | |
113 html[dir="rtl"] #language-selector | |
114 { | |
115 left: -12px; | |
116 right: auto; | |
117 } | |
118 | |
119 #language-selector.visible | |
120 { | |
121 display: block; | |
122 } | |
123 | |
124 .language-entry | |
125 { | |
126 display: block; | |
127 margin: 4px; | |
128 white-space: nowrap; | |
129 } | |
130 | |
131 #logo | |
132 { | |
133 top: -5px; | |
134 left: 10px; | |
135 right: auto; | |
136 } | |
137 | |
138 html[dir="rtl"] #logo | |
139 { | |
140 right: 25px; | |
141 left: auto; | |
142 } | 5 } |
143 | 6 |
144 #content | 7 #content |
145 { | 8 { |
146 margin-top: 71px; | 9 margin-top: 71px; |
147 } | 10 } |
148 | 11 |
149 #anwiki-admin | 12 #anwiki-admin |
150 { | 13 { |
151 position: absolute; | 14 position: absolute; |
(...skipping 15 matching lines...) Expand all Loading... |
167 margin-left: -150px; | 30 margin-left: -150px; |
168 margin-right: -150px; | 31 margin-right: -150px; |
169 width: 980px; | 32 width: 980px; |
170 } | 33 } |
171 | 34 |
172 #globalnav | 35 #globalnav |
173 { | 36 { |
174 margin-top: 5px; | 37 margin-top: 5px; |
175 margin-bottom: 5px; | 38 margin-bottom: 5px; |
176 } | 39 } |
LEFT | RIGHT |