.banner { position: relative; } .banner img { width: 100%; } .banner .text { position: absolute; width: 100%; top: 46%; color: #fff; } .banner .text h2 { text-align: center; font-size: 2.3rem; font-weight: bold; letter-spacing: 1px; } .banner .text p { text-align: center; font-size: 1.2rem; letter-spacing: 1px; margin-top: 0.6rem; } .sub-nav { height: 4rem; border-bottom: 1px solid #ddd; overflow: hidden; position: relative; top: 0; background: #fff; width: 100%; border-top: 1px solid #ddd; z-index: 100; } .sub-nav .content .left { float: left; } .sub-nav .content .left h6 { line-height: 4rem; font-size: 1.3rem; font-weight: bold; } .sub-nav .content .left h6 span { font-size: 1rem; color: #9f223d; margin-left: 1rem; position: relative; top: -0.1rem; } .sub-nav .content .right { float: right; } .sub-nav .content .right > ul li { float: left; width: 4.6rem; height: 4rem; text-align: center; position: relative; } .sub-nav .content .right > ul li a { line-height: 4rem; font-size: 0.8rem; display: block; } .sub-nav .content .right > ul li:not(:last-child) { margin-right: 2rem; } .sub-nav .content .right > ul li:before { content: ''; width: 0; height: 3px; background: #9f223d; position: absolute; bottom: 0; left: 0; } .sub-nav .content .right > ul li.active:before { width: 100%; transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; } .sub-nav .content .right > ul li.active a { color: #9f223d; } .sub-nav .content .right > ul li:hover:before { width: 100%; transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; } .sub-nav .content .right > ul li:hover a { color: #9f223d; } .introduce .con-top { position: relative; } .introduce .con-top img { width: 100%; } .introduce .con-top .con { position: absolute; top: 28%; left: 0; width: 100%; } .introduce .con-top .con .text { color: #fff; } .introduce .con-top .con .text .middle h2 { font-size: 2.3rem; font-weight: bold; font-style: italic; } .introduce .con-top .con .text .middle h3 { font-size: 1.5rem; font-style: italic; margin-top: 0.4rem; } .introduce .con-top .con .text .middle .btn { margin-top: 4rem; } .introduce .con-top .con .text .middle .btn a { width: 7.9rem; height: 2.5rem; border-radius: 26px; border: 1px solid #fff; display: inline-block; text-align: center; line-height: 2.5rem; color: #fff; font-size: 0.8rem; } .introduce .con-top .con .text .middle .btn a:hover { background: #9f223d; border: 1px solid #9f223d; } .introduce .con-top .con .text .middle.right { float: right; } @media screen and (max-width: 1024px) { .introduce .con-top .con { top: 20%; } .banner { margin-top: 5.5rem; } .banner .text { top: 38%; } } @media screen and (max-width: 768px) { .banner .text { top: 30%; } .banner .text h2 { font-size: 18px; } .banner .text p { font-size: 13px; margin-top: 0.2rem; } .sub-nav .content .left { display: none; } .sub-nav .content .right { width: 100%; } .sub-nav .content .right > ul li { width: 20%; } .sub-nav .content .right > ul li a { font-size: 12px; } .sub-nav .content .right > ul li:not(:last-child) { margin-right: 0; } .introduce .con-top .con { top: 12%; } .introduce .con-top .con .text { padding: 0 20px; } .introduce .con-top .con .text .middle h2 { font-size: 16px; } .introduce .con-top .con .text .middle h3 { font-size: 13px; } .introduce .con-top .con .text .middle .btn { margin-top: 1rem; } .introduce .con-top .con .text .middle .btn a { font-size: 14px; } } /*# sourceMappingURL=about_join.css.map */