-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNewYearTheme.css
More file actions
191 lines (181 loc) · 4.62 KB
/
NewYearTheme.css
File metadata and controls
191 lines (181 loc) · 4.62 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
body {
background-image: url('https://sitespectr.ru/test/sneg/img/snow.png'),
url('https://sitespectr.ru/test/sneg/img/snow3.png'),
url('https://sitespectr.ru/test/sneg/img/snow2.png');
-webkit-animation: snow 10s linear infinite;
-moz-animation: snow 10s linear infinite;
-ms-animation: snow 10s linear infinite;
animation: snow 10s linear infinite;
}
@keyframes snow {
0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
30% {background-position: 150px 200px, 100px 100px, 100px 100px;}
60% {background-position: 350px 600px, 250px 250px, 200px 200px;}
100% {background-position: 500px 1000px, 400px 400px, 300px 300px;}
}
@-moz-keyframes snow {
0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
30% {background-position: 150px 200px, 100px 100px, 100px 100px;}
60% {background-position: 350px 600px, 250px 250px, 200px 200px;}
100% {background-position: 500px 1000px, 400px 400px, 300px 300px;}
}
@-webkit-keyframes snow {
0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
30% {background-position: 150px 200px, 100px 100px, 100px 100px;}
60% {background-position: 350px 600px, 250px 250px, 200px 200px;}
100% {background-position: 500px 1000px, 400px 400px, 300px 300px;}
}
@-ms-keyframes snow {
0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
30% {background-position: 150px 200px, 100px 100px, 100px 100px;}
60% {background-position: 350px 600px, 250px 250px, 200px 200px;}
100% {background-position: 500px 1000px, 400px 400px, 300px 300px;}
}
.no-snow {
background-image: none; /* Убираем фоновое изображение снега */
animation: none;
}
#santa {
display:none;
height: 100px;
width: 100px;
position: absolute;
transition: 0.5s ease-in-out; /* Увеличено время и изменена функция */
z-index: 20;
}
#santa img {
width: 80px;
filter: drop-shadow(0 0 20px rgba(1, 1, 42, 0.2)); /* Исправлено на rgba для корректного использования */
}
.snowman {
display:none;
background: transparent url("img/snowman.png") no-repeat scroll right top / 140px auto;
bottom: 0;
display: block;
height: 150px;
position: fixed;
right: 2%;
width: 150px;
}
.snow-layer {
display:none;
background: transparent url("img/snow-layer.png") repeat-x scroll center top / auto 20px;
bottom: 0;
display: block;
height: 20px;
position: fixed;
width: 100%;
z-index: 1;
}
@media screen and (max-width: 1024px){
.snowman, .snow-layer {display: none;}
}
.snow-cont
{
position: absolute;
top: 80px;
/* left: 50%; */
/* width: 200px; */
/* transform: translateX(-50%); */
text-align: center;
z-index:0;
}
.tree-cont {
display: none; /* Скрываем элемент по умолчанию */
position: fixed; /* Фиксируем элемент */
left: 0; /* Прикрепляем к левому краю */
bottom: 0; /* Прикрепляем к нижнему краю */
/* Дополнительные стили для настройки внешнего вида */
width: 100px; /* Ширина элемента */
height: auto; /* Высота автоматически */
padding: 10px; /* Отступы внутри элемента */
}
#tree {
width: 80px;
display: block;
margin: 0 auto;
}
.st0 {
fill:#332C28;
}
.st1 {
fill:#0f690f;
}
.st2 {
fill:#388f38;
}
.st3 {
fill:#a60505;
}
.st4 {
fill:#d90000;
}
.red-md {
fill: #aa1231;
animation: 0.6s red-flash ease-in-out infinite;
}
@keyframes red-flash {
40% {
fill: #ea385c;
}
80% {
fill: #aa1231;
}
}
.gold-lt {
fill: #c1881c;
animation: 0.6s gold-lt-flash ease-in-out infinite;
}
@keyframes gold-lt-flash {
40% {
fill: #e7b75c;
}
80% {
fill: #c1881c;
}
}
.blue-lt {
fill: #1f3e64;
animation: 0.6s blue-lt-flash ease-in-out infinite;
}
@keyframes blue-lt-flash {
40% {
fill: #386fb1;
}
80% {
fill: #1f3e64;
}
}
.blue-dk {
fill: #0f1f2f;
animation: 0.6s blue-dk-flash ease-in-out infinite;
}
@keyframes blue-dk-flash {
40% {
fill: #28527c;
}
80% {
fill: #0f1f2f;
}
}
.gold-dk {
fill: #69512a;
animation: 0.6s gold-dk-flash ease-in-out infinite;
}
@keyframes gold-dk-flash {
40% {
fill: #b28947;
}
80% {
fill: #69512a;
}
}
.g1 {
animation-delay: 0s;
}
.g2 {
animation-delay: 0.4s;
}
.g3 {
animation-delay: 0.8s;
}