Skip to content

Commit

Permalink
fix: style of text-decoration, scrollbar, code
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Feb 16, 2020
1 parent ac0684c commit b553842
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions assets/scss/_common/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ h6 {
a {
color: var(--color-contrast-high);
text-decoration: none;
transition: color $duration;
transition: all $duration;
&:hover {
color: var(--color-primary);
}
Expand All @@ -81,8 +81,8 @@ a {
}

::-webkit-scrollbar {
width: 0.4em;
height: 0.2em;
width: $fontSize * 0.4;
height: $fontSize * 0.2;
}
::-webkit-scrollbar-track {
background-color: var(--color-bg);
Expand Down
5 changes: 4 additions & 1 deletion assets/scss/_common/single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
margin-top: 5em !important;
a {
text-decoration: underline;
text-decoration-color: var(--color-contrast-low);
&:hover {
text-decoration-color: alpha(var(--color-primary), 0.5);
}
}
}

Expand Down Expand Up @@ -174,7 +178,6 @@ dd {
code {
padding: ($fontSize / 8) ($fontSize / 4);
background-color: var(--color-contrast-lower);
border-radius: 3px;
font-size: 80%;
}
pre {
Expand Down
Loading

0 comments on commit b553842

Please sign in to comment.