Skip to content

Commit

Permalink
fix: update style of article side nav links according to design
Browse files Browse the repository at this point in the history
  • Loading branch information
mancristiana committed Mar 1, 2022
1 parent b79e595 commit 78af755
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
12 changes: 2 additions & 10 deletions style.css
Expand Up @@ -1913,17 +1913,9 @@ ul {
}

.sidenav-item {
border-radius: 4px;
color: $text_color;
display: block;
margin-bottom: 10px;
padding: 10px;
}

.sidenav-item.current-article, .sidenav-item:hover {
background-color: $brand_color;
color: $brand_text_color;
text-decoration: none;
margin-top: 10px;
margin-bottom: 16px;
}

.recent-articles li,
Expand Down
13 changes: 2 additions & 11 deletions styles/_article.scss
Expand Up @@ -197,18 +197,9 @@
}

&-item {
border-radius: 4px;
color: $text_color;
display: block;
margin-bottom: 10px;
padding: 10px;

&.current-article,
&:hover {
background-color: $brand_color;
color: $brand_text_color;
text-decoration: none;
}
margin-top: 10px;
margin-bottom: 16px;
}
}

Expand Down

0 comments on commit 78af755

Please sign in to comment.