funky-framadate-front/src/assets/scss/atoms/_links.scss

64 lines
987 B
SCSS
Raw Normal View History

@charset "UTF-8";
2019-08-12 17:40:11 +02:00
a {
display: inline-block;
position: relative;
font-family: $default_font;
font-weight: 600;
font-size: 1.6rem;
color: $font_color;
&,
&:hover {
text-decoration: none;
2019-08-12 17:40:11 +02:00
}
2019-08-12 12:20:50 +02:00
2019-08-12 17:40:11 +02:00
&::before,
&::after {
content: "";
2019-08-12 12:20:50 +02:00
}
2019-08-12 17:40:11 +02:00
&.next::before,
&.prev::after {
position: absolute;
bottom: 0.7rem;
display: block;
width: 100%;
height: 0.6rem;
background-color: $primary_color;
z-index: -1;
}
&.next::after,
&.prev::before {
display: inline-block;
width: 1rem;
height: 1rem;
border-bottom: 2px solid #000;
}
&.next::after {
margin-right: 1rem;
border-right: 2px solid #000;
transform: rotate(-45deg);
}
&.prev::before {
margin-left: 1rem;
border-left: 2px solid #000;
transform: rotate(45deg);
}
2019-08-12 17:52:08 +02:00
&:hover {
&.next::before,
&.prev::after {
background-color: $secondary_color;
}
}
2019-08-12 17:40:11 +02:00
span {
padding-right: 1rem;
padding-left: 1rem;
}
}