|
47 | 47 | margin-bottom: 6px;
|
48 | 48 | height: 70px;
|
49 | 49 | font-family: "Sofia Pro",Arial,Helvetica,sans-serif;
|
| 50 | + @media only screen and (max-width: 768px) { |
| 51 | + height: auto; |
| 52 | + } |
50 | 53 |
|
51 | 54 | .stat {
|
52 | 55 | float: left;
|
53 | 56 | width: 25% ;
|
54 | 57 | text-align: center;
|
| 58 | + @media only screen and (max-width: 768px) { |
| 59 | + width: 100%; |
| 60 | + float: none; |
| 61 | + margin-bottom: 10px; |
| 62 | + } |
55 | 63 | }
|
56 | 64 |
|
57 | 65 | .statVal {
|
58 | 66 | color: #3d3d3d;
|
59 | 67 | font-size: 32px;
|
| 68 | + @media only screen and (max-width: 768px) { |
| 69 | + font-size: 16px; |
| 70 | + } |
60 | 71 | margin-bottom: 7px;
|
61 | 72 | position: relative;
|
62 | 73 | }
|
|
66 | 77 | font-size: 12px;
|
67 | 78 | font-weight: 400;
|
68 | 79 | @media only screen and (max-width: 768px) {
|
69 |
| - font-size: 5vw; |
| 80 | + font-size: 12px; |
70 | 81 | }
|
71 | 82 | }
|
72 | 83 | }
|
|
236 | 247 | overflow-x: scroll;
|
237 | 248 | flex-direction: row;
|
238 | 249 | display: flex;
|
239 |
| - @media screen and (min-device-width: 992px) { |
| 250 | + padding-bottom: 0; |
| 251 | + @media screen and (max-width: 768px) { |
| 252 | + overflow-x: none; |
| 253 | + flex-wrap: wrap; |
| 254 | + justify-content: space-around; |
| 255 | + } |
| 256 | + @media screen and (min-width: 769px) { |
240 | 257 | overflow-x: auto;
|
241 |
| - justify-content: center; |
| 258 | + justify-content: flex-start; |
242 | 259 | }
|
243 | 260 | @media only screen and (min-width: 1070px) {
|
244 | 261 | padding-bottom: 33px;
|
|
268 | 285 | margin-left: 33px;
|
269 | 286 | }
|
270 | 287 | }
|
| 288 | + @media screen and (max-width: 768px) { |
| 289 | + margin-bottom: 10px; |
| 290 | + width: 43%; |
| 291 | + margin-right: 0; |
| 292 | + &:first-child { |
| 293 | + margin-left: 0; |
| 294 | + } |
| 295 | + } |
271 | 296 | }
|
272 | 297 | .avatar-wrapper,
|
273 | 298 | .avatar-wrapper img {
|
|
334 | 359 | overflow-x: scroll;
|
335 | 360 | flex-direction: row;
|
336 | 361 | display: flex;
|
337 |
| - @media screen and (min-device-width: 992px) { |
338 |
| - overflow-x: auto; |
339 |
| - justify-content: center; |
| 362 | + @media screen and (max-width: 768px) { |
| 363 | + overflow-x: none; |
340 | 364 | flex-wrap: wrap;
|
| 365 | + justify-content: space-around; |
| 366 | + } |
| 367 | + @media screen and (min-width: 769px) { |
| 368 | + overflow-x: auto; |
| 369 | + justify-content: flex-start; |
341 | 370 | }
|
342 | 371 | .user-tile {
|
343 |
| - min-width: 246px; |
344 |
| - margin-right: 15px; |
345 |
| - padding: 39px 20px 40px; |
| 372 | + min-width: 150px; |
| 373 | + width: 180px; |
| 374 | + max-width: 365px; |
| 375 | + margin-right: 14px; |
| 376 | + padding: 20px 0 44.5px; |
346 | 377 | &:first-child {
|
347 |
| - margin-left: 15px; |
| 378 | + margin-left: 14px; |
348 | 379 | }
|
349 |
| - @media only screen and (min-device-width: 992px) { |
350 |
| - width: 272px; |
351 |
| - margin: 0 6px 14px; |
352 |
| - padding: 31px 20px 49px; |
| 380 | + @media only screen and (min-width: 992px) { |
| 381 | + width: 280px; |
| 382 | + } |
| 383 | + @media only screen and (min-width: 1070px) { |
| 384 | + padding: 20px 30px 28px; |
| 385 | + } |
| 386 | + @media only screen and (min-width: 1290px) { |
| 387 | + width: 365px; |
| 388 | + padding: 20px 30px 28px; |
| 389 | + } |
| 390 | + @media only screen and (min-width: 1367px) { |
| 391 | + margin-right: 33px; |
353 | 392 | &:first-child {
|
354 |
| - margin-left: 6px; |
| 393 | + margin-left: 33px; |
| 394 | + } |
| 395 | + } |
| 396 | + @media screen and (max-width: 768px) { |
| 397 | + margin-bottom: 10px; |
| 398 | + width: 43%; |
| 399 | + margin-right: 0; |
| 400 | + &:first-child { |
| 401 | + margin-left: 0; |
355 | 402 | }
|
356 | 403 | }
|
357 | 404 | }
|
358 | 405 | .avatar-wrapper,
|
359 | 406 | .avatar-wrapper img {
|
360 |
| - height: 80px; |
361 |
| - width: 80px; |
| 407 | + height: 62px; |
| 408 | + width: 62px; |
| 409 | + display: block; |
| 410 | + margin: 0 auto; |
| 411 | + @media only screen and (min-width: 1070px) { |
| 412 | + height: 90px; |
| 413 | + width: 90px; |
| 414 | + } |
362 | 415 | }
|
363 | 416 | .user-name {
|
364 |
| - font-size: 20px; |
365 |
| - padding-top: 19px; |
| 417 | + font-size: 15px; |
| 418 | + padding-top: 11px; |
| 419 | + @media only screen and (min-width: 1070px) { |
| 420 | + font-size: 15px; |
| 421 | + padding-top: 10px; |
| 422 | + } |
366 | 423 | }
|
367 | 424 | .user-country {
|
368 | 425 | font-size: 11px;
|
|
640 | 697 |
|
641 | 698 | .user-name {
|
642 | 699 | font-size: 15px;
|
| 700 | + @media screen and (max-device-width: 320px) { |
| 701 | + font-size: 12px; |
| 702 | + } |
643 | 703 | }
|
644 | 704 | }
|
645 | 705 | }
|
|
0 commit comments