Improve toolbar accessibility
Some checks failed
Core Repos/Homepage/pipeline/pr-master There was a failure building this commit
Some checks failed
Core Repos/Homepage/pipeline/pr-master There was a failure building this commit
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
span {
|
||||
a {
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
-webkit-transition: color 300ms;
|
||||
@@ -8,13 +8,20 @@ span {
|
||||
transition: color 300ms;
|
||||
}
|
||||
|
||||
span:hover {
|
||||
color: var(--nord7);
|
||||
cursor: pointer;
|
||||
a:hover {
|
||||
color: var(--nord13);
|
||||
}
|
||||
|
||||
@media (max-width: 425px) {
|
||||
span {
|
||||
font-size: 14px;
|
||||
a {
|
||||
font-size: 15px;
|
||||
margin-left: .8em;
|
||||
margin-right: .8em;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--nord4);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<mat-sidenav-container>
|
||||
<mat-toolbar>
|
||||
<span routerLink="/home" routerLinkActive="active">Home</span>
|
||||
<span routerLink="/resume" routerLinkActive="active">Resume</span>
|
||||
<span routerLink="/projects" routerLinkActive="active">Projects</span>
|
||||
<span routerLink="/contact" routerLinkActive="active">Contact</span>
|
||||
</mat-toolbar>
|
||||
</mat-sidenav-container>
|
||||
<mat-toolbar>
|
||||
<mat-toolbar-row>
|
||||
<a routerLink="/home" routerLinkActive="active">Home</a>
|
||||
<a routerLink="/resume" routerLinkActive="active">Resume</a>
|
||||
<a routerLink="/projects" routerLinkActive="active">Projects</a>
|
||||
<a routerLink="/contact" routerLinkActive="active">Contact</a>
|
||||
</mat-toolbar-row>
|
||||
</mat-toolbar>
|
||||
|
||||
Reference in New Issue
Block a user