Changeset ffd6bb5 in OpenWorkouts-current for ow/static/less/pages/profile.less


Ignore:
Timestamp:
Feb 4, 2019, 5:48:44 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
d24a64a
Parents:
d52ba50
Message:

update profile header ui

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/static/less/pages/profile.less

    rd52ba50 rffd6bb5  
    22    .workout-options {
    33        .font-size(13);
     4                margin-right: 2em;
    45    }
    56}
     
    1112        padding: 2em 6em;
    1213    }
     14    >div {
     15        display: flex;
     16        align-items: center;
     17    }
    1318    img {
    1419        width: 140px;
     
    1722        border-radius: 50%;
    1823        margin-bottom: .5em;
     24        margin-right: 1em;
    1925    }
    2026        h2 {
     
    4046        padding: 0;
    4147        .font-size(14);
     48        background-color: white;
     49        padding: .5em .75em;
     50        border-radius: 4px;
     51        border: 1px solid @color-main-light;
     52        max-width: 200px;
    4253        li {
    43                 margin-bottom: .25em;
     54                display: flex;
     55                justify-content: space-between;
     56                color: @color-main-medium;
     57                &:not(:last-child) {
     58                        margin-bottom: .5em;
     59                        padding-bottom: .5em;
     60                        border-bottom: 1px solid @color-main-light;
     61                }
     62                span {
     63                        font-weight: bold;
     64                        color: @color-main;
     65                }
    4466        }
    4567}
    4668
    4769.profile-bio {
    48         margin: 1em 0;
     70        margin: .5em 0;
     71        .font-size(14);
    4972}
    5073
    5174.month-stats,
    5275.latest-workouts {
    53         max-width: 40vw;
    54         margin: 0 auto;
     76        max-width: 700px
     77}
     78
     79.month-stats {
     80        margin-bottom: 4em;
    5581}
    5682
Note: See TracChangeset for help on using the changeset viewer.