// @page Pattern Library/Articles // @name Base article // // @description // Article listings for news are important on the landing pages. // // @markup //
// //
//
//

Car insurance guides

//

// A quarter of 18-34 year olds believe that tech companies could offer better financial services than banks //

// //
//
// //
//
//
//
$article-border-color: $c-grey !default; $article-padding: $gutter-width !default; $article-description-color: $c-dark-grey !default; .us-article { position: relative; padding: $article-padding*.75; border: 1px solid $article-border-color; @include respond-to(desktop, true) { padding: $article-padding/2 $article-padding; } } .us-article__link { display: block; -webkit-tap-highlight-color: rgba(0,0,0,0); text-decoration: none; &:hover { .us-article__title { text-decoration: underline; } } } .us-article__link, .us-article__link:hover, .us-article__link:visited { color: inherit; } .us-article__title { @include heading(4); @include respond-to(tablet, true) { @include heading(3, $extend: false); } @include respond-to(desktop, true) { padding-top: $article-padding*.25; } } .us-article__meta { color: $c-uswitch-navy; font-size: .875em; position: absolute; bottom: $article-padding*.75; @include respond-to(desktop, true) { bottom: $article-padding; } } .us-article__description { color: $article-description-color; margin-bottom: 1em; padding-bottom: 2em; @include respond-to(tablet, true) { font-size: 1.125em; } } .us-article__image { display: none; @include respond-to(desktop, true) { display: block; } }