.core-team-container { width: 100%; } .core-team { width: var(--max-width); margin: 0 auto; padding: 3rem var(--root-padding-x); } .center-stage { background-color: #f1f1f1; display: flex; flex-direction: column; align-items: center; } @media (min-width: 768px) { .center-stage { flex-direction: row; align-items: flex-start; } } .center-stage .stage-img { width: 100%; margin: 1rem auto; flex-shrink: 0; max-width: 25rem; overflow: hidden; } @media (min-width: 640px) { .center-stage .stage-img { max-width: 25rem; } } @media (min-width: 768px) { .center-stage .stage-img { margin: 0; max-width: 16.3rem; } } .center-stage .stage-img img { width: 100%; transition: all 2s; } .center-stage .stage-img:hover img { transform: scale(1.2); } .center-stage .stage-desc { width: 100%; padding: 3rem 2.5rem; } .center-stage .stage-desc .name { color: #222; font-size: 1.5rem; font-weight: 700; } .center-stage .stage-desc .abs { color: #222; font-size: 0.9rem; margin: 1.2rem 0; display: block; } .center-stage .stage-desc .icon { width: 1.51rem; height: 4px; background: #2a76bf; display: block; } .center-stage .stage-desc .info-p { font-size: 0.75; font-weight: 400; color: #444; line-height: 1.8rem; margin-top: 1.6rem; } .team-list { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; --item-space: 1.6rem; gap: var(--item-space); } .team-list .team-item { max-width: 100%; position: relative; height: 350px; } .team-list .team-item img{ width: 100%; height: 100%; object-fit:cover; } .team-list .info-mask { background-color: #0000004d; transition: background-color 0.3s; position: absolute; width: 100%; height: 100%; top: 0; left: 0; padding: 2rem 1rem; color: #fff; overflow: hidden; } .team-list .info-mask .head { display: flex; align-items: flex-end; margin-top:10px; } .team-list .info-mask .head > h5 { font-size: 1.2rem; font-weight: 700; margin-right: 0.5rem; } .team-list .info-mask .head > span { font-size: 0.8rem; } .team-list .info-mask .sapce { width: 1.3rem; height: 3px; background: #ffffff; display: block; margin-top: 1rem; margin-bottom: 1.5rem; } .team-list .info-mask .p { font-size: 0.7rem; font-weight: 400; color: #fff; line-height: 1.6rem; opacity: 0; pointer-events: none; word-break: break-all; height: 17.6rem; overflow: auto; margin-bottom: 1rem; } .team-list .info-mask .p::-webkit-scrollbar { width: 5px; height: 5px; } .team-list .info-mask .p::-webkit-scrollbar-thumb { background-color: #0075cf; } .team-list .info-mask .p::-webkit-scrollbar-track { background-color: #eeeeee; } .team-list .team-item:hover .info-mask { background-color: #2879cfe6; } .team-list .team-item:hover .p { opacity: 1; pointer-events: all; } .show{ background-color: #2879cfe6 !important; } .show .p{ opacity: 1 !important; pointer-events: all !important; } @media (min-width: 768px) { .team-list { grid-template-columns: repeat(3, 1fr); } .team-list .team-item { height: 380px; } } @media (min-width: 1024px) { .team-list .info-mask .head{ margin-top:30px; } .team-list .info-mask .p{margin-bottom: 0;} .team-list { grid-template-columns: repeat(4, 1fr); } .team-list .team-item { height: 460px; } } @media (min-width: 1280px) { .team-list .info-mask .head{ margin-top:0px; } } @media (max-width: 768px) { .team-list .team-item { height: 290px; } } .core-list{} .core-list dl{} .core-list dl dt{} .core-list dl dd{} .core-list dl dd .title{ font-size: 18px; line-height: 42px; font-weight: bold; color: #000; } .core-list dl dd .desc{ line-height: 24px; font-size: 14px; color: #666; } @media (min-width: 768px) { .core-list dl{ margin-bottom: 30px; display: flex; } .core-list dl dt{ width: 50%; box-sizing: border-box; display: flex; justify-content: center; flex-direction:column; } .core-list dl dt img{ cursor: pointer; } .core-list dl dd{ width: 50%; box-sizing: border-box; padding-left: 60px; display: flex; justify-content: center; flex-direction:column; } .core-list dl:nth-of-type(2n+2){ flex-direction:row-reverse; } .core-list dl:nth-of-type(2n+2) dd{ padding-left: 0px; padding-right : 60px; } } @media (min-width: 1280px) { .core-list dl dd .title{ font-size: 32px; margin-bottom: 20px; } .core-list dl dd .desc{ font-size: 16px; line-height: 28px; } } @media (min-width: 1536px) { .core-list dl{ margin-bottom: 60px; } .core-list dl dd{ padding-left: 120px; } .core-list dl:nth-of-type(2n+2) dd{ padding-left: 0px; padding-right : 120px; } .core-list dl dd .title{ font-size: 40px; margin-bottom: 30px; } .core-list dl dd .desc{ font-size: 18px; line-height: 36px; } }