worked on links

This commit is contained in:
newick 2019-08-12 17:40:11 +02:00
parent e91c66eef4
commit f0da02371d

View File

@ -1,33 +1,56 @@
@charset "UTF-8";
nav {
a {
a {
display: inline-block;
position: relative;
font-family: $default_font;
font-weight: 600;
font-size: 1.6rem;
color: $black;
text-decoration: none;
color: $font_color;
&::before {
&,
&:hover {
text-decoration: none;
}
&::before,
&::after {
content: "";
}
&.next::before,
&.prev::after {
position: absolute;
top: 0;
bottom: 0;
bottom: 0.7rem;
display: block;
width: 100%;
height: 6px;
margin: auto;
height: 0.6rem;
background-color: $primary_color;
z-index: -1;
}
&::after {
content: ">";
&.next::after,
&.prev::before {
display: inline-block;
width: 1rem;
height: 1rem;
border-bottom: 2px solid #000;
}
}
}
.home_link {
text-decoration: none;
&.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);
}
span {
padding-right: 1rem;
padding-left: 1rem;
}
}