diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-01-06 15:12:53 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-01-06 15:12:53 +0300 |
commit | db5494dff0b2b8b344f37a2fa1d2f8b9c450098f (patch) | |
tree | e4fc2d8c97abe0bd28a0527de6696025f6699b0d /_sass/_catalogue.scss | |
download | popov.link-db5494dff0b2b8b344f37a2fa1d2f8b9c450098f.tar.xz popov.link-db5494dff0b2b8b344f37a2fa1d2f8b9c450098f.zip |
Initial commit
Diffstat (limited to '_sass/_catalogue.scss')
-rw-r--r-- | _sass/_catalogue.scss | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/_sass/_catalogue.scss b/_sass/_catalogue.scss new file mode 100644 index 0000000..efc113c --- /dev/null +++ b/_sass/_catalogue.scss @@ -0,0 +1,39 @@ +.catalogue { + &-item { + border-bottom: 1px solid $grey-2; + color: $default-color; + display: inline-block; + padding: 2rem 0; + + &:hover .catalogue-line, + &:focus .catalogue-line { + width: 5rem; + } + + &:last-child { + border: 0; + } + } + + &-time { + color: $default-tint; + font-family: $serif-secondary; + letter-spacing: .5px; + } + + &-title { + color: $default-shade; + display: block; + font-family: $sans-serif; + font-size: 2rem; + font-weight: 700; + margin: .5rem 0; + } + + &-line { + @include transition(all .3s ease-out); + border-top: .2rem solid $default-shade; + display: block; + width: 2rem; + } +} |