source:
OpenWorkouts-current/ow/static/less/pages/profile.less
@
0fbc805
Last change on this file since 0fbc805 was 01674ff, checked in by Segundo Fdez <segun.2@…>, 5 years ago | |
---|---|
|
|
File size: 1.8 KB |
Rev | Line | |
---|---|---|
[594fbe8] | 1 | .user-profile { |
2 | .workout-options { | |
3 | .font-size(13); | |
[ffd6bb5] | 4 | margin-right: 2em; |
[594fbe8] | 5 | } |
6 | } | |
[67fc2ed] | 7 | |
8 | .user-profile-account { | |
9 | background-color: @color-main-xtralight; | |
[cf12619] | 10 | border-bottom: 1px solid @color-main-light; |
[67fc2ed] | 11 | padding: 2em 1em; |
12 | @media (min-width: @screen-s){ | |
13 | padding: 2em 6em; | |
[6993c72] | 14 | } |
[ffd6bb5] | 15 | >div { |
16 | display: flex; | |
17 | align-items: center; | |
18 | } | |
[6993c72] | 19 | img { |
20 | width: 140px; | |
21 | height: 140px; | |
22 | object-fit: cover; | |
23 | border-radius: 50%; | |
24 | margin-bottom: .5em; | |
[ffd6bb5] | 25 | margin-right: 1em; |
[67fc2ed] | 26 | } |
27 | h2 { | |
28 | margin: 0 0 .15em 0; | |
29 | .font-size(21); | |
[cf12619] | 30 | font-weight: 400; |
[67fc2ed] | 31 | } |
32 | p{ | |
33 | color: @color-main-dark; | |
34 | .font-size(14); | |
35 | margin: 0; | |
36 | span { | |
37 | color: @color-main-medium; | |
38 | } | |
39 | } | |
[6993c72] | 40 | } |
41 | .total-workouts { | |
42 | .font-size(13); | |
43 | font-weight: bold; | |
[01674ff] | 44 | span { |
45 | color: @color-main-medium; | |
46 | margin-right: .5em; | |
47 | &:first-child { | |
48 | color: @color-main; | |
49 | &:after { | |
50 | content: "|"; | |
51 | color: @color-main-light; | |
52 | margin-left: .5em; | |
53 | } | |
54 | } | |
55 | } | |
[67fc2ed] | 56 | } |
57 | ||
58 | .profile-data { | |
59 | list-style-type: none; | |
60 | padding: 0; | |
61 | .font-size(14); | |
[ffd6bb5] | 62 | background-color: white; |
63 | padding: .5em .75em; | |
64 | border-radius: 4px; | |
65 | border: 1px solid @color-main-light; | |
[67fc2ed] | 66 | li { |
[ffd6bb5] | 67 | display: flex; |
68 | justify-content: space-between; | |
69 | color: @color-main-medium; | |
70 | &:not(:last-child) { | |
71 | margin-bottom: .5em; | |
72 | padding-bottom: .5em; | |
73 | border-bottom: 1px solid @color-main-light; | |
74 | } | |
75 | span { | |
76 | font-weight: bold; | |
77 | color: @color-main; | |
78 | } | |
[67fc2ed] | 79 | } |
80 | } | |
81 | ||
82 | .profile-bio { | |
[ffd6bb5] | 83 | margin: .5em 0; |
84 | .font-size(14); | |
[67fc2ed] | 85 | } |
86 | ||
87 | .month-stats, | |
88 | .latest-workouts { | |
[ffd6bb5] | 89 | max-width: 700px |
90 | } | |
91 | ||
[cf12619] | 92 | .center { |
93 | text-align: center; | |
94 | } | |
95 | ||
[ffd6bb5] | 96 | .month-stats { |
97 | margin-bottom: 4em; | |
[67fc2ed] | 98 | } |
99 | ||
100 | .latest-workouts { | |
101 | h4 { | |
102 | margin:0; | |
103 | a { | |
104 | color: @color-main; | |
105 | text-decoration: none; | |
106 | } | |
107 | } | |
108 | >span { | |
109 | .font-size(13); | |
110 | } | |
111 | p { | |
112 | margin-top: .25em; | |
113 | color: @color-main-medium; | |
114 | .font-size(13); | |
115 | } | |
116 | } |
Note: See TracBrowser
for help on using the repository browser.