-
Notifications
You must be signed in to change notification settings - Fork 0
/
MMM-Rijks.css
82 lines (74 loc) · 1.21 KB
/
MMM-Rijks.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
.region.fullscreen #RIJKS {
position: absolute;
top: 0;
left: 0;
}
#RIJKS {
width: 100%;
height: 100%;
opacity: 100%;
}
#RIJKS_COPYRIGHT {
/* Don't hide. this is defined in terms of usage */
color: #fff;
position: absolute;
bottom: 10px;
left: 10px;
font-size: 12px;
line-height: 100%;
}
#RIJKS_IMAGE {
height: 100%;
width: 100%;
background-position: center;
background-size: contain;
background-repeat: no-repeat;
transition: background-image 1s ease 1s;
}
#RIJKS_DESCRIPTION {
position: absolute;
bottom: 0;
left: 0;
right: 0;
width: 100%;
font-size: 14px;
background-color: rgba(0, 0, 0, 0.5);
line-height: 120%;
text-align: right;
}
#RIJKS_DESCRIPTION * {
padding-right: 15px;
}
#RIJKS_DESCRIPTION .title {
font-weight: bold;
font-size: 16px;
color: #fff;
}
#RIJKS_DESCRIPTION .description {
margin-top: 10px;
padding-left: 30%;
}
#RIJKS_IMAGE_PRELOAD {
display: none;
}
.noshow {
opacity: 0;
}
.fade {
opacity: 1;
animation-name: fadeOpacity;
animation-iteration-count: 1;
animation-timing-function: ease-in;
animation-duration: 10s;
}
@keyframes fadeOpacity {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}