Commit 391cd72f authored by Ruslan Karimov's avatar Ruslan Karimov

#2299. Арт Проект. Правки по кейсу Юнармии

parent c905bd6d
...@@ -3291,3 +3291,62 @@ ...@@ -3291,3 +3291,62 @@
} }
} }
.army_p1{
left: -400px;
transform: translate(0, 0) !important;
}
.army_p2{
left: -300px;
width: 300px;
transform: translate(0, 0) !important;
}
.army_p3{
right: -400px;
transform: translate(0, 0) !important;
}
.army_p4{
width: 280px;
right: -300px;
transform: translate(0, 0) !important;
}
.army_item_small, .army_item{
display: block;
}
.army_item img{
max-width: 100%;
}
.army_item_video{
background-size: cover;
position: relative;
}
.army_item_video::before{
content: '';
width: 98px;
height: 98px;
background: url(../images_army/youtube_play.png) no-repeat center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transition: 0.3s;
}
.army_item_video:hover::before{
opacity: 0.7;
transition: 0.3s;
}
@media only screen and (max-width: 1600px) and (min-width: 1301px){
.army_p1{
left: -300px;
}
.army_p2{
left: -300px;
}
.army_p3{
right: -400px;
}
.army_p4{
right: -200px;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment