diff --git a/assets/sass/pages/_experience.sass b/assets/sass/pages/_experience.sass index b3aaef90..f889190f 100644 --- a/assets/sass/pages/_experience.sass +++ b/assets/sass/pages/_experience.sass @@ -1,30 +1,34 @@ .experience margin-bottom: $padding-large-vertical * 3 - position: relative +clearfix - +breakpoint(max-width $screen-tablet) - h2 - font-size: 1.5em - margin-top: 0 - - p:last-of-type - margin-bottom: 0 - &__website display: inline-block margin-bottom: 2px &__role color: $gray-light - margin-bottom: 10px + margin-bottom: .625rem -.experience--with-logo - .experience + &__logo + margin-left: 1.5em + margin-top: 25px + max-width: 25% + + img + height: auto + width: 100% + + p:last-of-type + margin-bottom: 0 + + +breakpoint(30rem) &__logo - @extend .pull-right - margin: 0 0 0 2em - max-width: 20% + max-width: 15% - @include breakpoint($screen-md-min) - max-width: 15% +.experience.has-logo + display: flex + justify-content: flex-start + + .inner + flex: 1 diff --git a/source/_partials/experience-item.html.twig b/source/_partials/experience-item.html.twig new file mode 100644 index 00000000..85b7fe12 --- /dev/null +++ b/source/_partials/experience-item.html.twig @@ -0,0 +1,36 @@ +{% set classes = [ + 'experience', + company.logo ? 'has-logo', + experience.featured ? 'is-featured', +] %} + +
Drupal website development.
@@ -14,7 +14,7 @@ experiences: location: Remote role: 'Web Developer & System Administrator' start: 2007 - end: ~ + featured: true description: |Working on Drupal and Symfony development, maintenance and support projects in my spare time.
Administration of Debian, Ubuntu and CentOS servers, and configuration using Puppet, or more recently, Ansible.
@@ -84,30 +84,8 @@ experiences: