127 lines
2.2 KiB
CSS
127 lines
2.2 KiB
CSS
|
|
.yuedong_about_video_main {
|
||
|
|
position: relative;
|
||
|
|
width: 100%;
|
||
|
|
height: 20.15625rem;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_main a {
|
||
|
|
display: block;
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_bg {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_bg img {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
object-fit: cover;
|
||
|
|
transition: transform 0.4s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_main:hover .yuedong_about_video_bg img {
|
||
|
|
transform: scale(1.03);
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_overlay {
|
||
|
|
position: absolute;
|
||
|
|
inset: 0;
|
||
|
|
background-color: rgba(0, 0, 0, 0.15);
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_play {
|
||
|
|
position: absolute;
|
||
|
|
top: 50%;
|
||
|
|
left: 50%;
|
||
|
|
transform: translate(-50%, -50%);
|
||
|
|
z-index: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_circle {
|
||
|
|
width: 3.6875rem;
|
||
|
|
height: 3.6875rem;
|
||
|
|
border-radius: 50%;
|
||
|
|
background-color: rgba(217, 217, 217, 0.7);
|
||
|
|
border: 1px solid #ffffff;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
transition: transform 0.3s ease, background-color 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_main:hover .yuedong_about_video_circle {
|
||
|
|
transform: scale(1.1);
|
||
|
|
background-color: rgba(217, 217, 217, 0.9);
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_circle svg {
|
||
|
|
width: 1.5625rem;
|
||
|
|
height: 1.5625rem;
|
||
|
|
margin-left: 0.1875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media screen and (max-width: 1400px) {
|
||
|
|
.yuedong_about_video_main {
|
||
|
|
height: 17.5rem;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media screen and (max-width: 1200px) {
|
||
|
|
.yuedong_about_video_main {
|
||
|
|
height: 15rem;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media screen and (max-width: 992px) {
|
||
|
|
.yuedong_about_video_main {
|
||
|
|
height: 12.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_circle {
|
||
|
|
width: 2.8125rem;
|
||
|
|
height: 2.8125rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_circle svg {
|
||
|
|
width: 1.1875rem;
|
||
|
|
height: 1.1875rem;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media screen and (max-width: 768px) {
|
||
|
|
.yuedong_about_video_main {
|
||
|
|
height: 9.375rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_circle {
|
||
|
|
width: 2.25rem;
|
||
|
|
height: 2.25rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_circle svg {
|
||
|
|
width: 0.9375rem;
|
||
|
|
height: 0.9375rem;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media screen and (max-width: 576px) {
|
||
|
|
.yuedong_about_video_main {
|
||
|
|
height: 6.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_circle {
|
||
|
|
width: 1.875rem;
|
||
|
|
height: 1.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.yuedong_about_video_circle svg {
|
||
|
|
width: 0.75rem;
|
||
|
|
height: 0.75rem;
|
||
|
|
}
|
||
|
|
}
|