Play icon on video files
This commit is contained in:
@@ -311,6 +311,28 @@ $legend-color: #222;
|
||||
width: 100%;
|
||||
line-height: 0;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
|
||||
&.video {
|
||||
@extend .fa;
|
||||
@extend .fa-play;
|
||||
overflow: hidden;
|
||||
|
||||
&:hover::before {
|
||||
color: white;
|
||||
}
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
color: #CCC;
|
||||
left: 50%;
|
||||
text-shadow: 0px 1px 1px rgba(0,0,0,0.8);
|
||||
font-size: 3em;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
|
||||
Reference in New Issue
Block a user