feat: improve link styles

This commit is contained in:
Adrien Marquès 2022-10-05 16:50:49 +02:00
parent 28aebf9abc
commit 013380545a
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
1 changed files with 12 additions and 10 deletions

View File

@ -73,24 +73,22 @@ export default class App extends Vue {
background: #fff;
}
a {
a, a:visited {
display: inline-block;
position: relative;
color: #fff;
color: #cbcbcb;
cursor: pointer;
&:visited {
color: #fefefa;
}
transition: color .2s ease-in-out;
&:after {
content: '';
display: block;
position: absolute;
margin-left: 5%;
width: 90%;
margin-left: 0%;
width: 100%;
height: .15rem;
background: #3333be;
@ -100,9 +98,13 @@ export default class App extends Vue {
transform-style: preserve-3d;
}
&:hover:after {
margin-left: 0;
width: 100%;
&:hover{
color: #fff;
&:after {
margin-left: 5%;
width: 90%;
}
}
}
</style>