Skip to content

Commit

Permalink
fix: style of footnote-icon, drop-cap
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Feb 15, 2020
1 parent 223b67b commit ac0684c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/scss/_common/single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ blockquote {

.drop-cap {
float: left;
font-size: $fontSize * 3 + 2px;
font-size: $fontSize * 3;
margin-right: $lineHeight * $fontSize - $fontSize;
margin-top: $fontSize / 2;
margin-top: $fontSize / $lineHeight;
line-height: $lineHeight * $fontSize;
}

Expand Down
1 change: 1 addition & 0 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
.footnote-icon {
fill: alpha(var(--color-contrast-high), 0.5);
transition: fill $duration;
margin-bottom: 0.3em;
&:hover {
fill: var(--color-primary);
}
Expand Down
Loading

0 comments on commit ac0684c

Please sign in to comment.