diff --git a/assets/sass/pages/_experience.sass b/assets/sass/pages/_experience.sass index 144faaed..e4f1139d 100644 --- a/assets/sass/pages/_experience.sass +++ b/assets/sass/pages/_experience.sass @@ -1,17 +1,30 @@ .experience +clearfix + margin-bottom: $padding-large-vertical * 2 + position: relative - .experience__logo - @extend .pull-right - margin: 0 0 10px 10px - max-width: 25% + h2 + margin-top: 0 - @include breakpoint($screen-sm-min) - max-width: 20% + @include breakpoint(max-width $screen-tablet) + font-size: 1.5em - @include breakpoint($screen-md-min) - max-width: 15% + .experience__website + display: inline-block + margin-bottom: 2px .experience__role font-style: italic margin-bottom: 10px + +.experience--with-logo + .experience__logo + @extend .pull-right + margin: 3px 0 20px 20px + max-width: 25% + + @include breakpoint($screen-sm-min) + max-width: 20% + + @include breakpoint($screen-md-min) + max-width: 15% diff --git a/source/experience.html.twig b/source/experience.html.twig index ab0583d2..8fbe83e0 100644 --- a/source/experience.html.twig +++ b/source/experience.html.twig @@ -77,11 +77,11 @@ experiences: {% for experience in page.experiences %} {% set company = site.companies[experience.company] %} -
+