File size: 1,590 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
83
84
85
86
87
88
89
90
91
92
93
94
95
.site-thumbnail {
	background-color: #f5f7f7;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	transition: background-color 1s ease-out;
	border: 1px solid rgb(238, 238, 238);
	box-sizing: content-box;
	border-radius: 4px;
}

.site-thumbnail__image {
	align-self: start;
	width: 100%;
}

.site-thumbnail__image-bg {
	animation: fadein 1s ease-out;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	width: 150%;
	height: 150%;
	will-change: opacity;
}

.site-thumbnail__image-blur-small {
	filter: blur(50px);
}

.site-thumbnail__image-blur-medium {
	filter: blur(150px);
}

.site-thumbnail-visible {
	animation: fadein 1.5s;
}

.site-thumbnail-loader::before {
	content: "";
	animation-duration: 2.4s;
	animation-fill-mode: forwards;
	animation-iteration-count: infinite;
	animation-name: shimmer;
	animation-timing-function: linear;
	background: linear-gradient(to top, transparent 8%, #f0f0f066 18%, transparent 33%);
	background-size: 100% 1200px;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	display: inline-table;
}

.site-thumbnail-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: absolute;
}


@-webkit-keyframes shimmer {
	0% {
		background-position: 0 -100%;
	}
	100% {
		background-position: 0 100%;
	}
}

@keyframes shimmer {
	0% {
		background-position: 0 -1200px;
	}
	100% {
		background-position: 0 1200px;
	}
}

@keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}