Skip to content

Commit

Permalink
🐛 Fix: img style can effect custom image on footer (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheey committed Feb 15, 2020
1 parent 165f338 commit e7b2a04
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions source/css/_layout/post.styl
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,15 @@ a.fancybox
text-align: center
text-decoration: none

img
padding: $img-border-padding
max-width: 100%
border: 1px solid $img-border-color
transition: all 0.2s
.content, #sidebar
img
padding: $img-border-padding
max-width: 100%
border: 1px solid $img-border-color
transition: all 0.2s

&:hover
box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5)
&:hover
box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5)

.code-area-wrap
position: relative
Expand Down

0 comments on commit e7b2a04

Please sign in to comment.