source: OpenWorkouts-current/ow/static/less/pages/profile.less @ cf12619

currentfeature/docs
Last change on this file since cf12619 was cf12619, checked in by Segundo Fdez <segun.2@…>, 5 years ago

basic changes on profile less

  • Property mode set to 100644
File size: 1.6 KB
Line 
1.user-profile {
2    .workout-options {
3        .font-size(13);
4                margin-right: 2em;
5    }
6}
7
8.user-profile-account {
9        background-color: @color-main-xtralight;
10        border-bottom: 1px solid @color-main-light;
11    padding: 2em  1em;
12    @media (min-width: @screen-s){
13        padding: 2em 6em;
14    }
15    >div {
16        display: flex;
17        align-items: center;
18    }
19    img {
20        width: 140px;
21        height: 140px;
22        object-fit: cover;
23        border-radius: 50%;
24        margin-bottom: .5em;
25        margin-right: 1em;
26    }
27        h2 {
28                margin: 0 0 .15em 0;
29                .font-size(21);
30                font-weight: 400;
31        }
32        p{
33                color: @color-main-dark;
34                .font-size(14);
35                margin: 0;
36                span {
37                        color: @color-main-medium;
38                }
39        }
40}
41.total-workouts {
42        .font-size(13);
43        font-weight: bold;
44}
45
46.profile-data {
47        list-style-type: none;
48        padding: 0;
49        .font-size(14);
50        background-color: white;
51        padding: .5em .75em;
52        border-radius: 4px;
53        border: 1px solid @color-main-light;
54        li {
55                display: flex;
56                justify-content: space-between;
57                color: @color-main-medium;
58                &:not(:last-child) {
59                        margin-bottom: .5em;
60                        padding-bottom: .5em;
61                        border-bottom: 1px solid @color-main-light;
62                }
63                span {
64                        font-weight: bold;
65                        color: @color-main;
66                }
67        }
68}
69
70.profile-bio {
71        margin: .5em 0;
72        .font-size(14);
73}
74
75.month-stats,
76.latest-workouts {
77        max-width: 700px
78}
79
80.center {
81        text-align: center;
82}
83
84.month-stats {
85        margin-bottom: 4em;
86}
87
88.latest-workouts {
89        h4 {
90                margin:0;
91                a {
92                        color: @color-main;
93                        text-decoration: none;
94                }
95        }
96        >span {
97                .font-size(13);
98        }
99        p {
100                margin-top: .25em;
101                color: @color-main-medium;
102                .font-size(13);
103        }
104}
Note: See TracBrowser for help on using the repository browser.