Skip to content

Commit c3c4f64

Browse files
Merge pull request #1093 from nataliauvarova/staging
#1092: new year design
2 parents 25cf9f5 + 883a988 commit c3c4f64

File tree

1 file changed

+47
-7
lines changed

1 file changed

+47
-7
lines changed

src/styles/main.scss

+47-7
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,46 @@ 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;
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;
8283
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 */
8398
}
8499
}
85100

86101
.background-header {
87-
background: url("../images/rectangle1.svg") 0 -185px no-repeat, url("../images/rectangle2.svg") 100% 35px no-repeat;
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;
88104
background-color: #372f9d;
89105

90106
padding: 26px 0;
91107
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 */
92115
}
93116

94117
.background-main-page {
95-
background: url("../images/rectangle1.svg") 0 -110px no-repeat,
96-
url("../images/rectangle2.svg") calc(100% + 30px) calc(100% + 75px) no-repeat;
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;
97121
background-color: #372f9d;
98122

99123
padding: 0 0 24px 0;
@@ -108,10 +132,18 @@ body {
108132
}
109133
}
110134

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+
111142
@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
112143
padding-bottom: 20px;
113-
background: url("../images/rectangle1.svg") -70px -170px no-repeat,
114-
url("../images/rectangle2.svg") calc(100% + 30px) calc(100% + 275px) no-repeat;
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;
115147
background-color: #372f9d;
116148
}
117149
}
@@ -127,7 +159,8 @@ body {
127159
}
128160

129161
.background-content {
130-
background: url("../images/rectangle1.svg") 0 -80px no-repeat, url("../images/rectangle2.svg") 100% 110px no-repeat;
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;
131164
background-color: #372f9d;
132165

133166
padding: 26px 20px 70px 20px;
@@ -137,6 +170,13 @@ body {
137170
&_fix-height {
138171
height: 100%;
139172
}
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 */
140180
}
141181

142182
.gentium {

0 commit comments

Comments
 (0)