Difference between revisions of "Template:SB Infobox Compact"
Jump to navigation
Jump to search
m |
m (Added hover states) |
||
Line 46: | Line 46: | ||
background: linear-gradient(transparent,#3a808045); | background: linear-gradient(transparent,#3a808045); | ||
height: 10vw; | height: 10vw; | ||
position:relative; | |||
} | |||
.Infobox-Compact .SB-Infobox-Header::after { | |||
content: " "; | |||
background: linear-gradient(transparent,#3a80807d); | |||
transition: opacity .125s ease-in-out; | |||
opacity: 0; | |||
pointer-events: none; | |||
width: 100%; | |||
height: 100%; | |||
position: absolute; | |||
z-index:-1; | |||
} | |||
.Infobox-Compact .SB-Infobox-Header:hover:after{ | |||
opacity: 1; | |||
} | } | ||