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