-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
52 lines (46 loc) · 1.27 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.MMM-SimpleBGSlideshow,
.MMM-SimpleBGSlideshow .wrapper::after,
.MMM-SimpleBGSlideshow .module-content,
.MMM-SimpleBGSlideshow .wrapper,
.MMM-SimpleBGSlideshow .images,
.MMM-SimpleBGSlideshow img {
position: absolute;
width:100%;
height:100%
}
.MMM-SimpleBGSlideshow .wrapper::after {
content: "";
}
.MMM-SimpleBGSlideshow .wrapper.linearGradient::after {
background: linear-gradient(
var(--grad-linear-angle, 0deg),
rgba(0, 0,0, var(--gradientOpacity, .75)) 0%,
rgba(0,0,0,0) var(--linearGradientTopOrLeft, 40%),
rgba(0,0,0,0) var(--linearGradientBottomOrRight, 80%),
rgba(0, 0,0, var(--gradientOpacity, .75)) 100%
);
}
.MMM-SimpleBGSlideshow .wrapper.linearGradient.horizontal{
--grad-linear-angle: 90deg
}
.MMM-SimpleBGSlideshow .wrapper.radialGradient::after {
background: radial-gradient(
closest-side,
rgba(0,0,0,0) var(--radialGradientStart, 80%),
rgba(0,0,0,var(--gradientOpacity, .75)) 142%
);
}
.MMM-SimpleBGSlideshow img{
object-fit: cover;
}
.MMM-SimpleBGSlideshow img.animate{
animation: fadein var(--fadeInTime, 2s);
}
body.brighterColors{
--color-text: #e6e6e6;
--color-text-dimmed: #bfbcbc;
}
@keyframes fadein {
from {opacity: 0;}
to {opacity: 1;}
}