/* pc样式 */ @media screen and (min-width: 1024px){ .content-right-content { padding-top: 30px; } .sz-title{ height: 150px; background-color: #fff; border-bottom: 4px solid var(--zt_color--); box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.25); } .sz-title>h2{ padding-top: 25px; text-align: center; font-size: 20px; color: var(--zt_color--); } .sz-title>ul{ margin-top: 30px; display: flex; justify-content: space-around; align-items: center; } .sz-title>ul>li { cursor: pointer; font-size:20px; color: #333333; } .sz-title>ul>.m-all_btn { border-radius: 50%; color: #fff; width: 40px; height: 40px; background-color: var(--zt_color--); text-align: center; line-height: 40px; } .re_list { padding-top: 50px; display: flex; } .m-teachername { width: 30px; padding-left: 30px; line-height: 40px; font-size: 24px; font-weight: 700; color: var(--zt_color--); } .re_name { flex: 1; display: flex; flex-wrap: wrap; } .re_name>a { width: 60px; padding: 0 50px; font-size: 18px; line-height: 40px; color: #333333; } } /* 移动端样式 */ @media screen and (max-width: 1024px) { .content-right-content { padding-top: 30px; } .sz-title{ height: 150px; background-color: #fff; border-bottom: 4px solid var(--zt_color--); box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.25); } .sz-title>h2{ padding-top: 25px; text-align: center; font-size: 20px; color: var(--zt_color--); } .sz-title>ul{ margin-top: 30px; display: flex; justify-content: space-around; align-items: center; } .sz-title>ul>li { cursor: pointer; font-size:20px; color: #333333; } .sz-title>ul>.m-all_btn { border-radius: 50%; color: #fff; width: 40px; height: 40px; background-color: var(--zt_color--); text-align: center; line-height: 40px; } .re_list { padding-top: 50px; display: flex; } .m-teachername { padding-left: 30px; line-height: 40px; font-size: 24px; font-weight: 700; color: var(--zt_color--); } .re_name { flex: 1; display: flex; flex-wrap: wrap; } .re_name>a { padding: 0 35px; font-size: 18px; line-height: 40px; color: #333333; } } @media screen and (max-width: 600px) { .sz-title { height: 120px; } .sz-title>ul>.m-all_btn { } .sz-title>ul { margin-top: 15px; } .sz-title>ul>li { font-size: 14px; } .m-teachername { padding-left: 20px; line-height: 30px; font-size: 20px; } .re_list { padding-top: 15px; } .re_name>a { padding: 0 15px; font-size: 16px; line-height: 30px; } }