Skip to content

Commit

Permalink
feat: icons
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Feb 19, 2018
1 parent 45e26f4 commit 4a42fa3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions _includes/icon/link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions _includes/icon/omit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
7 changes: 5 additions & 2 deletions _sass/components/_article.content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
margin-top: map-get($base, vertical-space-large) + .8rem;
& > .anchor {
@include link-text-colors($border-color, $main-color-1);
@include transform(translate(-100% ,0));
margin-left: .2rem;
visibility: hidden;
margin: .5rem;
text-decoration: none;
opacity: 0;
& > svg {
width: 1rem;
height: 1rem;
}
}
&:hover {
& > .anchor {
Expand Down
8 changes: 6 additions & 2 deletions _sass/components/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
color: $text-color-1;
}
.omit {
vertical-align: middle;
color: $text-color-l;
@include flexbox();
& > svg {
width: 1rem;
height: 1rem;
fill: $text-color-l
}
}
}
2 changes: 1 addition & 1 deletion _sass/layout/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
word-wrap: break-word;
margin: map-get($base, vertical-space-large) * 2 0 map-get($base, vertical-space-large) 0;
padding-top: map-get($base, vertical-space-large) / 2;
@include split-line(top);
@include split-line(top, 4px);
& > .article-previous, & > .article-next {
box-sizing: border-box;
width: 50%;
Expand Down

0 comments on commit 4a42fa3

Please sign in to comment.