From e5e173f1d42df527cce751670765eec550561c1b Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Tue, 5 Apr 2016 20:49:42 +0200 Subject: [PATCH] Create twotiles.scss --- _sass/twotiles.scss | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 _sass/twotiles.scss diff --git a/_sass/twotiles.scss b/_sass/twotiles.scss new file mode 100644 index 0000000..7e70648 --- /dev/null +++ b/_sass/twotiles.scss @@ -0,0 +1,45 @@ +/* ========================================================================== + Tiles + ========================================================================== */ + +.tile { + @include outer-container; + margin-bottom: $gutter; + @include media($micro) { + @include fill-parent; + } + @include media(new-breakpoint(min-width em(480) 12)) { + @include span-columns(3); + @include omega(2n); + } + .entry-date { + @include font-size(16,no); + color: lighten($text-color,25); + } + .post-title { + @include font-size(18,no); + } + .post-excerpt { + @include font-size(16); + } + .post-teaser { + position: relative; + display: block; + &:after { + content: ''; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + background: rgba($base-color,0); + pointer-events: none; + @include transition(background 0.3s); + } + &:hover { + &:after { + background: rgba($base-color,0.2); + } + } + } +}