Commit deda25f61302fff90527f2ae3f2545beb20595fd
Merge branch 'test' of http://192.168.1.195:9998/web_developers/webportal into test
Showing
1 changed file
with
150 additions
and
11 deletions
css/services.css
... | ... | @@ -56,11 +56,11 @@ |
56 | 56 | float: left; |
57 | 57 | } |
58 | 58 | .part3 .hd,.part5 .hd{width: 500px!important; margin-top: 50px; overflow: hidden;margin-left:500px; background: #fff; z-index: 1000;} |
59 | -.part .hd h2{width: 110px !important; cursor: pointer; float: left; font-size: 20px; padding-bottom: 15px; margin-bottom: 0; text-align: center;} | |
59 | +.part .hd h2{width: 110px; cursor: pointer; float: left; font-size: 20px; padding-bottom: 15px; margin-bottom: 0; text-align: center;} | |
60 | 60 | .part .hd h2.active-nav{ border-bottom: solid 3px #3F9FFE;color:#3F9FFE; } |
61 | 61 | .part .bd{width: 100%;float: left;} |
62 | 62 | .part .line { |
63 | - width: 90%; | |
63 | + width: 100%; | |
64 | 64 | /* margin: 0 auto; */ |
65 | 65 | height: 1px; |
66 | 66 | background: #818181; |
... | ... | @@ -80,9 +80,9 @@ |
80 | 80 | .part .bd .img img { |
81 | 81 | /*border: solid 1px #b8b8b8;*/ |
82 | 82 | display: block; |
83 | - /*margin: 50px auto;*/ | |
84 | - width: 100%; | |
85 | - height: 100%; | |
83 | + margin: 0px auto; | |
84 | + width: 80%; | |
85 | + height: 80%; | |
86 | 86 | } |
87 | 87 | .part3 .bd .txt , .part5 .bd .txt {float: right; width: 500px;} |
88 | 88 | .part4 .bd .txt {float: left; width: 500px; margin-left: 0px;} |
... | ... | @@ -94,8 +94,8 @@ |
94 | 94 | .part3 .hd h2.icon3 .icon{ background:url(../images/service_bgsmallIco.png) -127px 0 no-repeat; } |
95 | 95 | .part3 .hd h2.icon3.active-nav .icon{ background:url(../images/service_bgsmallIco.png) -667px 0 no-repeat;} |
96 | 96 | .part3 .bd .img { |
97 | - width: 433.6px; | |
98 | - height: 395.2px; | |
97 | + /*width: 433.6px;*/ | |
98 | + /*height: 395.2px;*/ | |
99 | 99 | z-index: 1000; |
100 | 100 | margin: -50px 0 0 0%; |
101 | 101 | float: left; |
... | ... | @@ -121,8 +121,8 @@ |
121 | 121 | .part4 .hd h2.icon3 .icon{ background:url(../images/service_bgsmallIco.png) -305px 0 no-repeat; } |
122 | 122 | .part4 .hd h2.icon3.active-nav .icon{ background:url(../images/service_bgsmallIco.png) -845px 0 no-repeat;} |
123 | 123 | .part4 .bd .img { |
124 | - width: 433.6px; | |
125 | - height: 395.2px; | |
124 | + /*width: 433.6px;*/ | |
125 | + /*height: 395.2px;*/ | |
126 | 126 | z-index: 1000; |
127 | 127 | margin: -50px 0 0 30px; |
128 | 128 | float: left; |
... | ... | @@ -141,13 +141,152 @@ |
141 | 141 | .part5 .hd h2.icon3 .icon{ background:url(../images/service_bgsmallIco.png) -485px 0 no-repeat; } |
142 | 142 | .part5 .hd h2.icon3.active-nav .icon{ background:url(../images/service_bgsmallIco.png) -1025px 0 no-repeat;} |
143 | 143 | .part5 .bd .img { |
144 | - width: 433.6px; | |
145 | - height: 395.2px; | |
144 | + /*width: 433.6px;*/ | |
145 | + /*height: 395.2px;*/ | |
146 | 146 | z-index: 1000; |
147 | 147 | margin: -50px 0 0 0%; |
148 | 148 | float: left; |
149 | 149 | /*overflow: hidden;*/ |
150 | 150 | } |
151 | +@media screen and (min-width: 1000px) and (max-width: 2500px){ | |
152 | + .part .bd .img { | |
153 | + width: 433.6px; | |
154 | + height: 395.2px; | |
155 | + } | |
156 | +} | |
157 | + | |
158 | +@media screen and (min-width: 980px) and (max-width: 1000px){ | |
159 | + .part .bd .img { | |
160 | + width: 433.6px; | |
161 | + height: 395.2px; | |
162 | + } | |
163 | + .part3 .bd .txt, .part5 .bd .txt { | |
164 | + margin-right: 0px; | |
165 | + } | |
166 | + | |
167 | +} | |
168 | + | |
169 | +@media screen and (min-width: 767px) and (max-width: 980px){ | |
170 | + .container{width: 100% !important} | |
171 | + .part .bd .img { | |
172 | + width: 80%; | |
173 | + height: 80%; | |
174 | + } | |
175 | + .part{height: auto} | |
176 | + .part .con { | |
177 | + width: 100%; | |
178 | + margin-left: 0px; | |
179 | + margin-bottom: 50px; | |
180 | + } | |
181 | + .part .hd { | |
182 | + width:100%; | |
183 | + margin:20px auto 0; | |
184 | + text-align: center; | |
185 | + overflow: hidden; | |
186 | + } | |
187 | + .part .bd .p1 { | |
188 | + font-size:2.5rem; text-align: center; | |
189 | + | |
190 | + } | |
191 | + .part .bd .p2 { | |
192 | + font-size: 2.1rem; display: none | |
193 | + | |
194 | + } | |
195 | + .part .line{width: 100%;} | |
196 | + .part .hd h2 { | |
197 | + width: 80px; | |
198 | + float: none; display: inline-block; margin-left: -4px; | |
199 | + } | |
200 | + .part .bd .img { | |
201 | + font-size: 34px; | |
202 | + margin: 0 auto; float: none; | |
203 | + position: static; | |
204 | + | |
205 | + } | |
206 | + | |
207 | + | |
208 | + .part3 , .part4, .part5 { | |
209 | + height: 750px; | |
210 | + | |
211 | + } | |
212 | + .part .hd { | |
213 | + width: 100%; | |
214 | + margin: 30px auto 0; | |
215 | + | |
216 | + } | |
217 | + .part3 .bd .txt, .part5 .bd .txt { | |
218 | + float: none; | |
219 | + width: 100%; | |
220 | + margin:0 auto; | |
221 | + } | |
222 | + | |
223 | + .part4 .bd .txt { | |
224 | + float: none; | |
225 | + width: 100%; | |
226 | + margin-left: 0; | |
227 | + } | |
228 | + | |
229 | +} | |
230 | + | |
231 | +@media screen and (min-width: 320px) and (max-width: 767px){ | |
232 | + .container{ | |
233 | + width: 100% | |
234 | + } | |
235 | + .part{height: auto; width: 100%;} | |
236 | + .part .con { | |
237 | + width: 100%; | |
238 | + margin-left: 0px; | |
239 | + margin-bottom: 50px; | |
240 | + } | |
241 | + .part .hd { | |
242 | + width:100%; | |
243 | + margin:20px auto 0; | |
244 | + text-align: center; | |
245 | + overflow: hidden; | |
246 | + } | |
247 | + .part .bd .p1 { | |
248 | + font-size:2.5rem; text-align: center; | |
249 | + | |
250 | + } | |
251 | + .part .bd .p2 { | |
252 | + font-size: 2.1rem; display: none | |
253 | + | |
254 | + } | |
255 | + .part .line{width: 100%;} | |
256 | + .part .hd h2 { | |
257 | + width: 72px; | |
258 | + float: none; display: inline-block; margin-left: -4px; | |
259 | + } | |
260 | + .part .bd .img { | |
261 | + font-size: 34px; | |
262 | + margin: 0 auto; float: none; | |
263 | + position: static; | |
264 | + | |
265 | + } | |
266 | + | |
267 | + | |
268 | + .part3 , .part4, .part5 { | |
269 | + height: 550px; | |
270 | + width: 100%; | |
271 | + } | |
272 | + .part .hd { | |
273 | + width: 90% !important; | |
274 | + margin: 30px auto 0; | |
275 | + | |
276 | + } | |
277 | + .part3 .bd .txt, .part5 .bd .txt { | |
278 | + float: none; | |
279 | + width: 100%; | |
280 | + margin:0 auto; | |
281 | + } | |
282 | + | |
283 | + .part4 .bd .txt { | |
284 | + float: none; | |
285 | + width: 100%; | |
286 | + margin-left: 0; | |
287 | + } | |
288 | +} | |
289 | + | |
151 | 290 | |
152 | 291 | /*footer sta*/ |
153 | 292 | .services-foottit{ | ... | ... |