diff --git a/styles/flashy.css b/styles/flashy.css index 6fa6464..4b20c35 100644 --- a/styles/flashy.css +++ b/styles/flashy.css @@ -65,20 +65,16 @@ ul.side-nav.fixed li a { } .card-overlay { - height: calc(3 * 5vw); left: 0; - max-height: calc(3 * 60px); - max-width: calc(5 * 60px); - min-height: calc(3 * 50px); - min-width: calc(5 * 50px); opacity: 0; position: absolute; top: 0; transition: visibility 0s cubic-bezier(0, 0, 0.6, 1) 0.2s, - opacity 0.2s cubic-bezier(0, 0, 0.6, 1); + opacity 0.2s cubic-bezier(0, 0, 0.6, 1); /* animation effect to appear on off-hover */ visibility: hidden; - width: calc(5 * 5vw); + height: 100%; + width: 100%; } .card-overlay i {