Newer
Older
@include icon("arrow-right", before)
@include hover-translate-icon(before, 3)
text-decoration-color: transparent
.pages
.page
.title
a
@include icon("arrow-right", before)
@include hover-translate-icon(before, 3)
text-decoration-color: transparent
.pages
.page
.title
a
@extend .h3
p
@extend .small
margin-top: calc(#{$spacing1} / 2)
@include hover-translate-icon(before, 3)
text-decoration-color: transparent
&--cards
background-color: $block-pages-card-background
padding-bottom: $grid-gutter
padding-top: $grid-gutter
@include hover-translate-icon(after, 3)
@include stretched-link(before)
background-color: $block-pages-card-page-background
transition: background 0.3s, color 0.3s
&,
a
color: $block-pages-card-page-color
.title + p
margin-top: $spacing0
.media
margin-bottom: 0
// @extend .small
font-size: px2rem(16)
position: relative
text-decoration-line: underline
text-decoration-thickness: 1px
text-underline-offset: 3px
opacity: 0
position: absolute
right: 0
transform: translateX(-20px)
transition: 0.55s $arrow-ease-transition
&:hover
.more:after
opacity: 1
transform: translateX(0)
a,
.more
transition: text-decoration-color .3s ease, color .3s ease
flex-direction: column
.title
a
text-decoration: none
+ p:not(.more)
margin-bottom: 1rem
&:hover
background-color: $block-pages-card-page-background-hover
&,