@media screen and (min-width: 768px) { .main { .about { padding: 120px 0; background: #fff; .title { font-size: 34px; text-align: center; margin-bottom: 32px; } .description { font-size: 16px; color: #505050; text-align: center; line-height: 32px; } .content { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; margin-top: 80px; .item { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 380px; height: 387px; -webkit-box-sizing: border-box; box-sizing: border-box; border: 1px solid #e8e8e8; padding: 40px 30px; img { display: block; width: 72px; height: 72px; margin-top: 20px; } .tip { font-size: 18px; color: #505050; font-weight: bold; margin-top: 32px; } .desc { margin-top: 32px; font-size: 16px; color: #505050; line-height: 32px; text-align: center; } } } } .profile { background: #f7f7f7; padding: 60px 0; .cover { width: 470px; height: 479px; overflow: hidden; background-color: pink; img { display: block; width: 100%; height: 100%; } } .content { width: 672px; margin-left: 50px; .title { font-size: 34px; } .subtitle { font-size: 34px; color: #0688d2; margin: 40px 0 16px; span { font-size: 24px; color: #272727; margin-left: 12px; } } .tags { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; font-size: 0; span { font-size: 16px; } i { display: block; height: 12px; width: 1px; background: #505050; margin: 0 24px; } } .line { width: 100%; height: 1px; background: #e8e8e8; position: relative; margin: 20px 0 40px; &::before { content: ''; display: block; width: 24px; height: 2px; background: #0688d2; position: absolute; left: 0; bottom: 0; } } .description { font-size: 16px; color: #999; line-height: 32px; text-align: justify; } } } .team { padding: 120px 0; background: #fff; .title { font-size: 34px; text-align: center; } .content { margin-top: 80px; .item { width: 388px; height: 340px; float: left; margin-right: 17px; margin-top: 18px; overflow: hidden; &:first-child { position: relative; background: #eff9ff; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; .cover { width: 160px; .line { width: 18px; height: 3px; background: #0688d2; margin: 18px 0 24px; } .tip { font-size: 34px; } .desc { font-size: 16px; color: #999; } } } &:nth-child(-n + 3) { margin-top: 0; } &:nth-child(3), &:nth-child(5), &:nth-child(8), &:nth-child(10) { margin-right: 0; } &:nth-child(5), &:nth-child(9) { width: 795px; } img { display: block; width: 100%; -webkit-transition: all 0.4s; transition: all 0.4s; } &:hover { img { -webkit-transform: scale(1.2); transform: scale(1.2); } } } } } .development { padding: 100px 0; background: #f7f7f7; .title { font-size: 34px; text-align: center; } .content { position: relative; margin-top: 80px; width: 2px; margin: 0 auto; background: #e8e8e8; .item { position: relative; width: 2px; margin-top: 60px; &::before { content: ''; position: absolute; width: 10px; height: 10px; -webkit-box-sizing: border-box; box-sizing: border-box; border: 1px solid #999999; background: #fff; border-radius: 50%; left: -4px; z-index: 5; top: 32px; } &:last-child { &::before { background: #0688d2; border-color: #fff; } .time { border: 1px solid #0688d2; border-left: 0; color: #0688d2; } .node { background: #0688d2; dt, .tip, .subtip { color: #ffffff; } } } &.with-time-left { .time { position: absolute; left: -16px; top: 0; -webkit-transform: translateX(-100%); transform: translateX(-100%); } .node { padding-left: 44px; margin-left: -16px; } } &.with-time-right { .time { position: absolute; top: 0; left: 16px; } .node { position: relative; -webkit-transform: translate(-100%); transform: translate(-100%); text-align: right; padding-right: 44px; right: -16px; } } .time { font-size: 34px; color: #505050; white-space: nowrap; padding: 20px 24px; height: 100%; -webkit-box-sizing: border-box; box-sizing: border-box; span { font-size: 14px; margin-left: 10px; } } .node { width: 526px; margin: 0; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 20px 24px; dd, dt { margin-left: 0; } dt { font-size: 34px; color: #505050; } dd { font-size: 14px; color: #505050; margin-top: 24px; .tip { margin-bottom: 8px; } } } } } } .honor { padding: 120px 0; padding-bottom: 0; background: #fff; .title { font-size: 32px; text-align: center; } .content { margin-top: 80px; .item { width: 288px; height: 330px; float: left; margin-right: 15px; &:nth-child(4n) { margin-right: 0; } } } } } } @media screen and (max-width: 768px) { .main { .about { padding: 1.2rem 0; background: #fff; .title { font-size: 0.34rem; text-align: center; margin-bottom: 0.4rem; } .description { width: 6.24rem; margin: 0 auto; font-size: 0.26rem; color: #505050; text-align: center; line-height: 0.48rem; word-break: break-all; } .content { margin-top: 0.4rem; padding-bottom: 0.24rem; &::-webkit-scrollbar { width: 2px; height: 2px; background-color: #f5f5f5; } &::-webkit-scrollbar-thumb { border-radius: 2px; background-color: #cccecf; } .item { display: inline-block; width: 5.96rem; height: 5.62rem; -webkit-box-sizing: border-box; box-sizing: border-box; border: 1px solid #e8e8e8; padding: 0 0.3rem 0.4rem; margin-left: 0.32rem; vertical-align: top; &:last-child { margin-right: 0.32rem; } img { display: block; width: 1.4rem; height: 1.4rem; margin: 0.5rem auto 0; } .tip { font-size: 0.3rem; color: #505050; font-weight: bold; margin-top: 0.4rem; text-align: center; } .desc { margin-top: 0.32rem; font-size: 0.26rem; color: #505050; line-height: 0.48rem; text-align: center; white-space: initial; } } } } .profile { background: #f7f7f7; padding: 0.8rem 0 6.98rem; position: relative; .cover { position: absolute; width: 5.46rem; height: 5.46rem; overflow: hidden; bottom: 0.7rem; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); img { display: block; width: 100%; height: 100%; } } .content { width: 5.52rem; margin-left: 50px; .title { font-size: 0.34rem; text-align: center; } .subtitle { font-size: 0.34rem; color: #0688d2; text-align: center; margin-top: 0.2rem; span { font-size: 0.24rem; color: #272727; margin-left: 12px; } } .tags { font-size: 0; text-align: center; span { display: block; font-size: 0.26rem; margin-top: 0.16rem; } i { display: block; } } .line { width: 100%; height: 1px; background: #e8e8e8; position: relative; margin: 0.48rem 0; } .description { font-size: 0.24rem; color: #999; line-height: 0.48rem; text-align: center; } } } .team { padding: 1.2rem 0; background: #fff; padding-left: 0.32rem; .title { font-size: 0.34rem; text-align: center; } .content { margin-top: 0.4rem; .item { width: 2.2rem; height: 1.94rem; float: left; margin-right: 0.12rem; margin-top: 0.12rem; overflow: hidden; &:first-child { position: relative; background: #eff9ff; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; .cover { width: 1.8rem; .line { width: 0.16rem; height: 0.03rem; background: #0688d2; margin: 0.24rem 0; } .tip { font-size: 0.26rem; } .desc { font-size: 0.18rem; color: #999; } } } &:nth-child(-n + 3) { margin-top: 0; } &:nth-child(3), &:nth-child(5), &:nth-child(8), &:nth-child(10) { margin-right: 0; } &:nth-child(5), &:nth-child(9) { width: 4.52rem; } img { display: block; width: 100%; -webkit-transition: all 0.4s; transition: all 0.4s; } } } } .development { padding: 0.8rem 0; background: #f7f7f7; .title { font-size: 0.34rem; text-align: center; } .content { position: relative; margin-top: 0.8rem; width: 0.02rem; margin: 0 auto; background: #e8e8e8; .item { position: relative; width: 2px; margin-top: 0.6rem; &::before { content: ''; position: absolute; width: 0.12rem; height: 0.12rem; -webkit-box-sizing: border-box; box-sizing: border-box; border: 0.01rem solid #999999; background: #fff; border-radius: 50%; left: -0.04rem; z-index: 5; } &.with-time-left { .time { position: absolute; top: 0; -webkit-transform: translateX(-100%); transform: translateX(-100%); left: -0.3rem; } .node { margin-left: 0.3rem; } } &.with-time-right { .time { position: absolute; top: 0; left: 0.3rem; } .node { position: relative; -webkit-transform: translate(-100%); transform: translate(-100%); text-align: right; margin-left: -0.3rem; } } .time { font-size: 0.26rem; color: #505050; white-space: nowrap; height: 100%; -webkit-box-sizing: border-box; box-sizing: border-box; span { font-size: 0.2rem; margin-left: 0.1rem; } } .node { width: 3rem; margin: 0; -webkit-box-sizing: border-box; box-sizing: border-box; dd, dt { margin-left: 0; } dt { font-size: 0.26rem; color: #505050; } dd { font-size: 0.2rem; color: #505050; margin-top: 0.16rem; line-height: 1.2; .subtip { margin-top: 0.04rem; } } } } } } .honor { padding: 1.2rem 0; padding-bottom: 0; background: #fff; padding-left: 0.32rem; .title { font-size: 32px; text-align: center; } .content { margin-top: 0.8rem; .item { width: 2.2rem; height: 3.52rem; float: left; margin-right: 0.13rem; margin-bottom: 0.13rem; img { display: block; width: 100%; height: 100%; } &:nth-child(3n) { margin-right: 0; } } } } } }