Changeset 0fbc805 in OpenWorkouts-current for ow/static/less/modules/workout.less


Ignore:
Timestamp:
Feb 14, 2019, 1:46:26 PM (5 years ago)
Author:
Segundo Fdez <segun.2@…>
Branches:
current, feature/docs, master
Children:
5cf7630
Parents:
eb20dc8
Message:

FIx #50

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/static/less/modules/workout.less

    reb20dc8 r0fbc805  
    11.workout-content {
    22    padding: 2em  1em;
     3    display: flex;
     4    flex-direction: column;
    35    @media (min-width: @screen-s){
    46        padding: 2em 6em;
    57    }
    6      @media (min-width: @screen-m){
     8    @media (min-width: @screen-m){
    79        display: flex;
     10        flex-direction: row;
    811        justify-content:space-between;
    912    }
     
    1720        font-weight: 300;
    1821        margin: 0 0 1.5em;
     22    }
     23    order: 2;
     24    @media (min-width: @screen-m){
     25        order: 1;
    1926    }
    2027    /* provisional layout, replace this with grid layout system based on final content */
     
    8794.workout-info {
    8895    display: flex;
    89     align-items:center;
     96    flex-flow: row wrap;
     97    //align-items:center;
    9098    margin: .25em 0;
    9199    li{
    92100        color: @color-main-medium;
     101        margin-bottom: .25em;
    93102        &:after{
    94103            content: "|";
    95             margin:0 .5em;
     104            margin: 0 .5em;
    96105        }
    97106        &:last-child{
     
    156165.workout-aside{
    157166    width: 100%;
    158     @media (min-width: @screen-m){
     167    order: 1;
     168    @media (min-width: @screen-m){
     169        order: 2;
    159170        max-width: 300px;
    160171        padding-left: 1.5em;
     
    184195        .font-size(13);
    185196        color: @color-main-dark;
     197    }
     198    a {
     199        text-decoration: none;
     200        color: @color-main;
     201        &:hover {
     202            color: @color-main-medium;
     203        }
    186204    }
    187205}
Note: See TracChangeset for help on using the changeset viewer.