Skip to content

Commit

Permalink
update (styles) : improvements (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
codexarama committed May 27, 2021
1 parent 7ddf27f commit e6ac231
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 13 deletions.
3 changes: 2 additions & 1 deletion css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 42 additions & 12 deletions sass/layout/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,56 @@
font-size: $s;
border-radius: 25px;
border: solid 1px $secondaire-border;
background-color: white;
margin: 0 2px;
padding: 0 5px;
color: $secondaire-txt;
}

& li a:hover,
& li a:focus {
cursor: pointer;
border-radius: 25px;
border: solid 1px $primaire-border;
background-color: $primaire-bg;
color: $primaire-a;
}
&.selected,
&:hover,
&:focus {
cursor: pointer;
border-radius: 25px;
border: solid 1px $primaire-border;
background-color: $primaire-bg;
color: $primaire-a;
}

& li a:focus {
outline: none;
box-shadow: 0 0 0 2px white, 0 0 0 4px $primaire-bg;
&:focus {
outline: none;
box-shadow: 0 0 0 2px white, 0 0 0 4px $primaire-bg;
}
}
}

// .tags {
// li a {
// text-align: center;
// font-size: $s;
// border-radius: 25px;
// border: solid 1px $secondaire-border;
// background-color: white;
// margin: 0 2px;
// padding: 0 5px;
// color: $secondaire-txt;
// }

// & li a.selected,
// & li a:hover,
// & li a:focus {
// cursor: pointer;
// border-radius: 25px;
// border: solid 1px $primaire-border;
// background-color: $primaire-bg;
// color: $primaire-a;
// }

// & li a:focus {
// outline: none;
// box-shadow: 0 0 0 2px white, 0 0 0 4px $primaire-bg;
// }
// }

@media only screen and (max-width: 426px) {
.tags {
li a {
Expand Down

0 comments on commit e6ac231

Please sign in to comment.