Skip to content

Commit fae1f24

Browse files
committed
add new slider
1 parent 7cf0a3d commit fae1f24

File tree

2 files changed

+156
-113
lines changed

2 files changed

+156
-113
lines changed

css/main.css

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@
122122
src: local("Gotham XLight Italic"), url("Gotham-XLightItalic.woff") format("woff"); }
123123

124124
/* servises styles */
125-
* {
126-
-webkit-box-sizing: border-box;
127-
box-sizing: border-box; }
128-
129125
html {
130126
overflow-x: hidden; }
131127

@@ -306,11 +302,10 @@ body {
306302
margin: auto;
307303
text-align: center;
308304
margin-top: 1.5rem;
309-
color: #fff;
305+
color: #000;
310306
text-transform: uppercase;
311307
font-family: "Gotham Black Regular", Arial, Helvetica, sans-serif;
312308
letter-spacing: 0.25rem;
313-
-webkit-text-stroke: 1px #FFDD40;
314309
opacity: 0; }
315310
@media screen and (max-height: 600px) {
316311
.play-video__text {
@@ -1163,6 +1158,12 @@ body {
11631158
-webkit-justify-content: space-around;
11641159
-ms-flex-pack: distribute;
11651160
justify-content: space-around; }
1161+
@media screen and (max-width: 600px) {
1162+
.work-page-menu {
1163+
max-width: 250px;
1164+
-webkit-flex-wrap: wrap;
1165+
-ms-flex-wrap: wrap;
1166+
flex-wrap: wrap; } }
11661167

11671168
.work-page-menu__item {
11681169
color: #000;
@@ -1173,7 +1174,8 @@ body {
11731174

11741175
.work-page-menu__link {
11751176
text-decoration: none;
1176-
color: #000; }
1177+
color: #000;
1178+
pointer-events: none; }
11771179

11781180
.work-page-menu__item_selected {
11791181
opacity: 1;
@@ -1191,7 +1193,11 @@ body {
11911193
float: left;
11921194
width: 480px;
11931195
height: 582px;
1194-
margin-top: 10px; }
1196+
padding-top: 25px;
1197+
padding-right: 25px;
1198+
-webkit-transition: all ease .8s;
1199+
-o-transition: all ease .8s;
1200+
transition: all ease .8s; }
11951201
.work-page-portfolio__item:hover .work-page-popover {
11961202
opacity: 1;
11971203
visibility: visible; }
@@ -1205,11 +1211,11 @@ body {
12051211
height: 300px;
12061212
width: 240px; } }
12071213

1208-
.work-page-portfolio__item:nth-child(odd) {
1209-
margin-right: 10px; }
1210-
12111214
.work-page-portfolio__item_offset {
1212-
margin-top: 10rem; }
1215+
padding-top: 10rem; }
1216+
@media screen and (max-width: 600px) {
1217+
.work-page-portfolio__item_offset {
1218+
padding-top: 25px; } }
12131219

12141220
.work-page-popover {
12151221
opacity: 0;

0 commit comments

Comments
 (0)