Skip to content

Commit

Permalink
feat(widget): accompanying CSS-tuning of hexo-component-inferno#18
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray-Eldath committed Feb 21, 2021
1 parent 1c22f56 commit ef8e161
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
13 changes: 7 additions & 6 deletions include/style/article.styl
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,13 @@ article
.level-item
@extend .mr-4

.icon
@extend .mr-1
width: 1.2em
height: 1.2em
font-size: 1.2em
vertical-align: bottom
.icons
.icon
@extend .ml-1
width: 1.2em
height: 1.2em
font-size: 1.2em
vertical-align: bottom

h6
@extend .is-size-7
Expand Down
5 changes: 5 additions & 0 deletions include/style/widget.styl
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@
background: $light-grey
color: $white-invert

&#toc
.card-content
max-height: 94vh
overflow-y: auto

.level.is-multiline
flex-wrap: wrap

0 comments on commit ef8e161

Please sign in to comment.