Skip to content

Commit 42008f2

Browse files
Update _base.scss
1 parent cee5794 commit 42008f2

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

_sass/_base.scss

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,28 @@ ul.task-list input[type="checkbox"] {
207207
}
208208
}
209209

210+
/* About profile image hover swap */
211+
.profile-hover-swap{
212+
position: relative;
213+
display: inline-block;
214+
}
215+
216+
.profile-hover-swap .hover-img{
217+
position: absolute;
218+
inset: 0;
219+
opacity: 0;
220+
transition: opacity 200ms ease-in-out;
221+
}
222+
223+
.profile-hover-swap:hover .hover-img{
224+
opacity: 1;
225+
}
226+
227+
.profile-hover-swap figure{
228+
margin: 0;
229+
}
230+
/* figure.liquid가 figure 마진을 주는 경우 대비 (있으면 점프/어긋남 방지) */
231+
210232
.profile.float-right {
211233
margin-left: 1rem;
212234
}

0 commit comments

Comments
 (0)