Title and other CSS fixes

This commit is contained in:
2020-02-20 19:03:47 +01:00
parent 2fe870847a
commit b084629b37
4 changed files with 34 additions and 11 deletions

View File

@@ -3,24 +3,33 @@
position: relative;
display: inline-block;
margin: 0 6px;
padding: 0 8px;
padding: 0 4px;
color: $color-secondary;
text-decoration: none;
transition: color 200ms $ease-cubic;
@include breakpoint (sm) {
padding: 0 8px;
}
// Line
&:after {
content: "";
position: absolute;
z-index: -1;
background-color: rgba($color-secondary, 0.22);
height: 14px;
width: 100%;
bottom: 5px;
height: 8px;
bottom: 3px;
left: 0;
border-radius: 50vh;
transition: all 200ms $ease-cubic;
transition-delay: 50ms;
@include breakpoint (sm) {
height: 14px;
bottom: 5px;
}
}
// Icon