$thumbnail-width: 99px; $thumbnail-height: 140px; $thumbnail-border-width: 5px; $thumbnail-background: govuk-colour("white"); $thumbnail-border-colour: rgba(11, 12, 12, .1); $thumbnail-shadow-colour: rgba(11, 12, 12, .4); $thumbnail-shadow-width: 0 2px 2px; $thumbnail-icon-border-colour: govuk-colour("mid-grey", $legacy: "grey-3"); .gem-c-attachment { @include govuk-font(19); @include govuk-clearfix; position: relative; .govuk-details__summary { @include govuk-font($size: 14); } } .gem-c-attachment__thumbnail { position: relative; width: auto; margin-right: govuk-spacing(5); margin-bottom: govuk-spacing(3); padding: $thumbnail-border-width; float: left; } .gem-c-attachment__thumbnail-image { display: block; width: auto; // for IE8 max-width: $thumbnail-width; height: $thumbnail-height; border: $thumbnail-border-colour; // for IE9 & IE10 outline: $thumbnail-border-width solid $thumbnail-border-colour; background: $thumbnail-background; box-shadow: $thumbnail-shadow-width $thumbnail-shadow-colour; fill: $thumbnail-icon-border-colour; stroke: $thumbnail-icon-border-colour; } .gem-c-attachment__details { padding-left: $thumbnail-width + $thumbnail-border-width * 2 + govuk-spacing(5); .gem-c-details { word-break: break-word; word-wrap: break-word; } } .gem-c-attachment__title { @include govuk-font($size: 27); margin: 0 0 govuk-spacing(3); } .gem-c-attachment__link { line-height: 1.29; } .gem-c-attachment__metadata { @include govuk-font($size: 14); margin: 0 0 govuk-spacing(3); &:last-of-type { margin-bottom: 0; } } .gem-c-attachment__abbr { text-decoration: none; cursor: help; }