Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 1198edd

Browse files
authored
Merge pull request #1216 from appirio-tech/dev
Put back standard logo and members page mobile fixes
2 parents e22a49e + 363a7b0 commit 1198edd

File tree

1 file changed

+79
-19
lines changed

1 file changed

+79
-19
lines changed

assets/css/community/members.scss

+79-19
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,27 @@
4747
margin-bottom: 6px;
4848
height: 70px;
4949
font-family: "Sofia Pro",Arial,Helvetica,sans-serif;
50+
@media only screen and (max-width: 768px) {
51+
height: auto;
52+
}
5053

5154
.stat {
5255
float: left;
5356
width: 25% ;
5457
text-align: center;
58+
@media only screen and (max-width: 768px) {
59+
width: 100%;
60+
float: none;
61+
margin-bottom: 10px;
62+
}
5563
}
5664

5765
.statVal {
5866
color: #3d3d3d;
5967
font-size: 32px;
68+
@media only screen and (max-width: 768px) {
69+
font-size: 16px;
70+
}
6071
margin-bottom: 7px;
6172
position: relative;
6273
}
@@ -66,7 +77,7 @@
6677
font-size: 12px;
6778
font-weight: 400;
6879
@media only screen and (max-width: 768px) {
69-
font-size: 5vw;
80+
font-size: 12px;
7081
}
7182
}
7283
}
@@ -236,9 +247,15 @@
236247
overflow-x: scroll;
237248
flex-direction: row;
238249
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) {
240257
overflow-x: auto;
241-
justify-content: center;
258+
justify-content: flex-start;
242259
}
243260
@media only screen and (min-width: 1070px) {
244261
padding-bottom: 33px;
@@ -268,6 +285,14 @@
268285
margin-left: 33px;
269286
}
270287
}
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+
}
271296
}
272297
.avatar-wrapper,
273298
.avatar-wrapper img {
@@ -334,35 +359,67 @@
334359
overflow-x: scroll;
335360
flex-direction: row;
336361
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;
340364
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;
341370
}
342371
.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;
346377
&:first-child {
347-
margin-left: 15px;
378+
margin-left: 14px;
348379
}
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;
353392
&: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;
355402
}
356403
}
357404
}
358405
.avatar-wrapper,
359406
.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+
}
362415
}
363416
.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+
}
366423
}
367424
.user-country {
368425
font-size: 11px;
@@ -640,6 +697,9 @@
640697

641698
.user-name {
642699
font-size: 15px;
700+
@media screen and (max-device-width: 320px) {
701+
font-size: 12px;
702+
}
643703
}
644704
}
645705
}

0 commit comments

Comments
 (0)