-
Notifications
You must be signed in to change notification settings - Fork 0
/
css.css
105 lines (88 loc) · 4.75 KB
/
css.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
@import "lesshat";
#Clouds {
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
margin: auto;
height: 30%;
overflow: hidden;
animation: FadeIn 3s ease-out;
user-select: none;
}
@keyframes FadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@duration: 120s;
.Cloud {
position: absolute;
width: 100%;
//outline: solid 1px #F00;
background-repeat: no-repeat;
background-size: auto 100%;
height: 70px;
animation-duration: @duration;
animation-iteration-count: infinite;
animation-fill-mode: forwards;
animation-timing-function: linear;
animation-name: Float, FadeFloat;
z-index: 1;
}
@height: 10%;
.Cloud.Foreground {
height: @height;
min-height: 20px;
z-index: 3;
}
.Cloud.Background {
height: @height / 1.1;
min-height: 8px;
animation-duration: @duration * 1.75;
//animation-delay: -2s;
}
@keyframes Float {
from { transform: translateX(100%) translateZ(0); }
to { transform: translateX(-15%) translateZ(0); }
}
/*
@keyframes Float {
from { transform: translateX(100%) translateY(-100%) translateZ(0); }
50% { transform: translateX(55%) translateY(0) translateZ(0); }
to { transform: translateX(-5%) translateY(-100%) translateZ(0); }
}
*/
@keyframes FadeFloat {
0%, 100% { opacity: 0; }
5%, 90% { opacity: 1; }
}
.Cloud-Loop (@delay, @i) when (@i > 0) {
.Cloud:nth-child(@{i}) {
animation-delay: (@delay * @i );
top: unit( @i * 6 ,%);
}
.Cloud.Foreground:nth-child(@{i}) {
animation-duration: (@duration - (@i * 4));
height: (@height + (@i * 2.5));
}
.Cloud.Background:nth-child(@{i}) {
animation-duration: (@duration * 1.25 - (@i * 4));
//animation-duration: ((@duration * 1.75) - (@i * 2) );
height: ((@height / 1.1) - (@i * 1.25));
}
.Cloud-Loop(@delay, (@i - 1)); // Keep Looping
}
.Cloud-Loop (0) {} // End loop
.Cloud-Loop ((@duration / 6.5 ) * -1, 10);
.Cloud {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAABgCAYAAACTzNnjAAAFCklEQVR42u3d34uVRRjA8YMsEi0iSwhdRBGhSJgZiNRFIkWhQVEXBipKUVBBLCF6k0h4UxFkBLq4QT/Qiyi80EgxCjXMWqOMtqy0bBNja92yXatN3c3pGc9sHU/v+X3emWfe93vx+QN23u+e95x5Z94pmNWFQo5NEytErzgoBsSIOCf+FqbEBTEhzophcVTsFxvFEjE152PZHGMukbcB6BAPij0uqgtl0bXCBvyjeFPcS2wEWc0y0ec++Ywnf7rwbyc8grQ6RY8Y9RhhJT+Jde4TmghzFuR08bo4ryDEpE/N58QUYsx+kFPcD4yzCkMsZz+1uwkyu0HeKYYiCLHcN2I2QWYnSPudbHubfy37NuFu4wQZeZD2k2Uw4hDLHRZdBBnnH3K/5ykcX86IeQQZl6civ0XXYv/RlhJkHLZkOMTypz7dBKnbyzmJsfTZeTdB6vRszmIsjXI5QeryWMa/M9ZinzjdTJA63CLGcxzjpD/ElQQZfq3iKDFe8lSHIAPqI8L/6SHIMB4nvorTQQsI0v+teoz4KjpBkH7tIrqaNhCkH9cnbK5C8q/uywiSHzKabCLIdM3K+QR4o8YysfVWcZDvElnD1hNkOi5XuilLu5MlOyzni3vESnGfWCRuIMjm1zgSWPM7GWvNXdonXkdM8Q0dCwmytu8Iy/vK9B3iRoJMnghnqifc8jb7yXkXQf5nLWGo2WR2HUGuLrxPDKq25D6d9yBPE4I6/e6rVO6CnMpkuFq/eLmFKwtyMRde/dOg2XkKkvlH/X5P9ZNSWZBvcMGjMJza6iJlQe7nYkfjozwE+TkXOiprsx7kES5yVOzLYK/IcpA/cJGj806Wg/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ud72+PH2eu2f47Ndv7+V5/nee/G6bh5MWmIV9iEMWvkGjfiADD7AHk9BU6+PSNK0kPAINwwXkC6KU6gvC4HVyKB/clhHHCDnbTqHbSaEaYIv+OK3KyBk274RQrXBXg0B6B/QPkTIUiZTiEIm5gkbZQjXTJ5nG2ZFsocJ1iMQEZQk1VcdIGl2L9Yoeitwj3uocirgRPVRAgEjMoMihkgKFStIzK063QVHYhKF6h/IKFMlKGpaNlhM8Qq1JFIp5gQHeoSIShmJPST/PUElJQ7FN9hivUGmJQxE56OQRKiN5qL/NNY9QKQeEIpdgR7VC9cEqHeGeUyEHXHrMUiWhyKx6BV4dEsNMtNxQI4Ls33h5LidUoEYjXKEXoXZDLbgsEBOzE8qne8fmJhE7oWIujUQcwhyMmy0VSKRRF0cyWlclYMYo1LEKZOgRugpDpVWUot5ZLI8LlwN23bNQKoY1vwpVmmsS6kOFsPRJQl2qENZIqGkVwnp9xb5nUksEcxm2hZlQMcy3OYXTgx0VpOi2pl8/jwqpMP9sF5twBl08ctE7I/dws5l5D5y4OBj51HvdzluYdlik0RL06cjkKpSlB1Span5x/AQb5Hfrxyy/oU5ISeVw53AAAAAASUVORK5CYII=);
}
// Presentational
html, body { margin: 0; padding: 0; }
html { height: 100%; } body { min-height: 100%; }
body {
color: #FFF;
background-color: #FD940A;
background-image: radial-gradient(circle, #F9A72B 0%, #FA9026 70%, #FB6C1F 100%);
}