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 {
position: relative;
font-family: $default_font;
font-weight: 600;
font-size: 1.6rem;
color: $black;
a {
display: inline-block;
position: relative;
font-family: $default_font;
font-weight: 600;
font-size: 1.6rem;
color: $font_color;
&,
&:hover {
text-decoration: none;
}
&::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
display: block;
width: 100%;
height: 6px;
margin: auto;
background-color: $primary_color;
z-index: -1;
}
&::before,
&::after {
content: "";
}
&::after {
content: ">";
}
&.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);
}
span {
padding-right: 1rem;
padding-left: 1rem;
}
}
.home_link {
text-decoration: none;
}