.python-container { padding: 50px 8px 29px; background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/h5/python-bg.png'); background-size: cover; } .python-container--page { // padding-top: 50px; } .python-header { position: relative; height: 100px; padding-top: 36px; box-sizing: border-box; .iconfont { position: absolute; top: 10px; right: 40px; font-size: 38px; color: #fff; width: 50px; height: 38px; background: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/h5/share_arrow.png') center center no-repeat; background-size: 100% 100%; } } .python-wechat__title { margin: 0; font-size: 17px; color: #FFF; text-align: center; line-height: 1; } .python-content { padding-bottom: 37px; background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/h5/python-content-bg.png'); background-size: cover; } .python-user { position: relative; margin: 0 5px; padding-top: 45px; border-bottom: 1px dashed #000; } .python-user__portrait { position: absolute; top: -30px; left: 0; right: 0; width: 60px; height: 60px; margin: auto; padding: 5px; border-radius: 50%; box-sizing: border-box; background-color: #fff; background-size: cover; img { display: block; width: 100%; } } .python-user__id { margin: 0; font-size: 15px; font-weight: 500; color: #111; text-align: center; line-height: 1; } .python-user__desc { height: 48px; margin: 4px 0; font-size: 16px; color: #333; text-align: center; span { color: #2D57F0; } } .python-code__title { position: relative; margin: 32px 16px 21px; padding-left: 16px; font-size: 17px; font-weight: 600; color: #2D56F0; line-height: 1; &:after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; height: 12px; margin: auto 0; background-color: #2D56F0; } } .python-code__content { position: relative; height: 171px; margin: 0 16px; padding: 0 10px; border-radius: 5px; border: 1px solid #67E4FF; box-sizing: border-box; font-size: 14px; color: #fff; background-color: #272822; } .python-button { padding: 0; border-style: none; cursor: pointer; outline: none; } .python-button__study { display: block; width: 233px; height: 44px; margin: 35px auto 0; border-radius: 22px; font-size: 16px; font-weight: 500; color: #2D56F0; line-height: 44px; text-align: center; background-color: #FFF95B; box-shadow: 0px 5px 0px rgba(255,210,0,1); } .python-button__tip { margin: 35px 0 0; font-size: 15px; font-weight: 500; color: #fff; line-height: 44px; text-align: center; } .python-button__execute { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 110px; height: 32px; margin: auto; border-radius: 16px; font-size: 15px; color: #fff; line-height: 32px; background-color: #0099FF; } .python-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, .6); z-index: 99; } .ace_mobile-menu { display: none; }