Skip to content

Commit e99d287

Browse files
committed
Revert "#1092: new year design"
This reverts commit 883a988.
1 parent 635ba23 commit e99d287

File tree

1 file changed

+7
-47
lines changed

1 file changed

+7
-47
lines changed

src/styles/main.scss

+7-47
Original file line numberDiff line numberDiff line change
@@ -78,46 +78,22 @@ body {
7878
width: 100%;
7979

8080
height: 200px;
81-
/*background: url("../images/rectangle1.svg") 0 -110px no-repeat, url("../images/rectangle2.svg") 100% 60px no-repeat;*/
82-
background: url("../images/snow.svg") 50% 50% repeat, url("../images/ny_toys.png") 60px 0 no-repeat, url("../images/ny_toys.png") calc(100% - 60px) 0 no-repeat, url("../images/rectangle1.svg") 0 -110px no-repeat, url("../images/rectangle2.svg") 100% 60px no-repeat;
81+
background: url("../images/rectangle1.svg") 0 -110px no-repeat, url("../images/rectangle2.svg") 100% 60px no-repeat;
8382
background-color: #372f9d;
84-
85-
/* for newyear style */
86-
@media only screen and (max-device-width: 1150px), only screen and (max-width: 1150px) {
87-
background: url("../images/snow.svg") 50% 50% repeat, url("../images/ny_toys.png") 10px 0 no-repeat, url("../images/ny_toys.png") calc(100% - 5px) 0 no-repeat, url("../images/rectangle1.svg") 0 -110px no-repeat, url("../images/rectangle2.svg") 100% 60px no-repeat;
88-
background-color: #372f9d;
89-
}
90-
/* /for newyear style */
91-
92-
/* for newyear style */
93-
@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
94-
background: url("../images/ny_toys_small.png") 21px -9px no-repeat, url("../images/ny_toys_small.png") calc(100% - 21px) -9px no-repeat, url("../images/snow_small.svg") 50% 50% repeat, url("../images/rectangle1.svg") 0 -110px no-repeat, url("../images/rectangle2.svg") 100% 60px no-repeat;
95-
background-color: #372f9d;
96-
}
97-
/* /for newyear style */
9883
}
9984
}
10085

10186
.background-header {
102-
/*background: url("../images/rectangle1.svg") 0 -185px no-repeat, url("../images/rectangle2.svg") 100% 35px no-repeat;*/
103-
background: url("../images/snow.svg") 50% 50% repeat, url("../images/rectangle1.svg") 0 -185px no-repeat, url("../images/rectangle2.svg") 100% 35px no-repeat;
87+
background: url("../images/rectangle1.svg") 0 -185px no-repeat, url("../images/rectangle2.svg") 100% 35px no-repeat;
10488
background-color: #372f9d;
10589

10690
padding: 26px 0;
10791
margin: 0 0 26px 0;
108-
109-
/* for newyear style */
110-
@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
111-
background: url("../images/snow_small.svg") 50% 50% repeat, url("../images/rectangle1.svg") 0 -185px no-repeat, url("../images/rectangle2.svg") 100% 35px no-repeat;
112-
background-color: #372f9d;
113-
}
114-
/* /for newyear style */
11592
}
11693

11794
.background-main-page {
118-
/*background: url("../images/rectangle1.svg") 0 -110px no-repeat,
119-
url("../images/rectangle2.svg") calc(100% + 30px) calc(100% + 75px) no-repeat;*/
120-
background: url("../images/snowtree.svg") calc(100% - 70px) 100% no-repeat, url("../images/snow.svg") 50% 50% repeat, url("../images/ny_toys.png") 60px 0 no-repeat, url("../images/ny_toys.png") calc(100% - 60px) 0 no-repeat, url("../images/rectangle1.svg") 0 -110px no-repeat, url("../images/rectangle2.svg") calc(100% + 30px) calc(100% + 75px) no-repeat;
95+
background: url("../images/rectangle1.svg") 0 -110px no-repeat,
96+
url("../images/rectangle2.svg") calc(100% + 30px) calc(100% + 75px) no-repeat;
12197
background-color: #372f9d;
12298

12399
padding: 0 0 24px 0;
@@ -132,18 +108,10 @@ body {
132108
}
133109
}
134110

135-
/* for newyear style */
136-
@media only screen and (max-device-width: 1150px), only screen and (max-width: 1150px) {
137-
background: url("../images/snowtree.svg") calc(100% - 20px) 100% no-repeat, url("../images/snow.svg") 50% 50% repeat, url("../images/ny_toys.png") 10px 0 no-repeat, url("../images/ny_toys.png") calc(100% - 5px) 0 no-repeat, url("../images/rectangle1.svg") 0 -110px no-repeat, url("../images/rectangle2.svg") calc(100% + 30px) calc(100% + 75px) no-repeat;
138-
background-color: #372f9d;
139-
}
140-
/* /for newyear style */
141-
142111
@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
143112
padding-bottom: 20px;
144-
/*background: url("../images/rectangle1.svg") -70px -170px no-repeat,
145-
url("../images/rectangle2.svg") calc(100% + 30px) calc(100% + 275px) no-repeat;*/
146-
background: url("../images/snowtree_small.svg") calc(100% - 18px) 100% no-repeat, url("../images/ny_toys_small.png") 21px -9px no-repeat, url("../images/ny_toys_small.png") calc(100% - 21px) -9px no-repeat, url("../images/snow_small.svg") 50% 50% repeat, url("../images/rectangle1.svg") -70px -170px no-repeat, url("../images/rectangle2.svg") calc(100% + 30px) calc(100% + 275px) no-repeat;
113+
background: url("../images/rectangle1.svg") -70px -170px no-repeat,
114+
url("../images/rectangle2.svg") calc(100% + 30px) calc(100% + 275px) no-repeat;
147115
background-color: #372f9d;
148116
}
149117
}
@@ -159,8 +127,7 @@ body {
159127
}
160128

161129
.background-content {
162-
/*background: url("../images/rectangle1.svg") 0 -80px no-repeat, url("../images/rectangle2.svg") 100% 110px no-repeat;*/
163-
background: url("../images/snow.svg") 50% 50% repeat, url("../images/rectangle1.svg") 0 -80px no-repeat, url("../images/rectangle2.svg") 100% 110px no-repeat;
130+
background: url("../images/rectangle1.svg") 0 -80px no-repeat, url("../images/rectangle2.svg") 100% 110px no-repeat;
164131
background-color: #372f9d;
165132

166133
padding: 26px 20px 70px 20px;
@@ -170,13 +137,6 @@ body {
170137
&_fix-height {
171138
height: 100%;
172139
}
173-
174-
/* for newyear style */
175-
@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
176-
background: url("../images/snow_small.svg") 50% 50% repeat, url("../images/rectangle1.svg") 0 -80px no-repeat, url("../images/rectangle2.svg") 100% 110px no-repeat;
177-
background-color: #372f9d;
178-
}
179-
/* /for newyear style */
180140
}
181141

182142
.gentium {

0 commit comments

Comments
 (0)