@import 'public.css'; .clearfix { display: block; content: ''; clear: both; } nav { width: 100%; height: 80px; background: #fff; box-shadow: 0 2px 3px #dad6d6; vertical-align: top; } nav .main { width: 1180px; margin: 0 auto; } nav .main ul li:hover { background: #80C4AE; color: #fff; } nav .main ul li:hover a { color: #fff; font-size: 16px; } nav .logo { width: 179px; height: 53px; margin: 13px 0 14px 0; } nav ul { display: inline-block; margin-left: 120px; border: none; font-size: 0; } nav ul li { display: inline-block; width: 80px; height: 80px; line-height: 80px; margin-right: 17px; text-align: center; } nav ul li a { color: #333; font-size: 16px; } nav ul li:last-child { margin-right: 0; } nav div.search { display: inline-block; margin-left: 120px; border: 1px solid #80C4AE; border-radius: 3px; width: 280px; height: 36px; text-align: center; font-size: 0; padding: 0; overflow: hidden; vertical-align: middle; position: relative; } nav div.search .left { width: 69px; height: 36px; border-right: 1px solid #80C4AE; font-size: 14px; text-align: center; line-height: 36px; float: left; color: #80C4AE; padding: 0; } nav div.search .left i { margin-left: 6px; font-size: 5px; } nav div.search input { border: none; outline: none; display: inline-block; height: 36px; text-align: center; font-weight: 400; font-size: 14px; } nav div.search img { width: 20px; height: 20px; position: absolute; right: 7px; top: 8px; } nav .user { display: inline-block; margin-left: 24px; } nav .user img { width: 36px; height: 36px; border-radius: 50%; } nav .main .user { position: relative; } nav .main .user .userlist { width: 122px; height: 269px; background: url('../img/login/jx.png') no-repeat; background-size: cover; position: absolute; top: 35px; right: -15px; display: none; z-index: 99999; } nav .main .user .userlist ul { width: 122px; height: 100%; padding-top: 30px; margin-left: 0; } nav .main .user .userlist ul li { font-size: 16px; color: #333; line-height: 30px; height: 40px; text-align: center; width: 100%; cursor: pointer; } nav .main .user .userlist ul li:hover { background: none; } nav .main .user .userlist ul li:last-child { color: #666; } nav .main .user:hover .userlist { display: block; } main { width: 1180px; margin: 0 auto; height: 736px; margin-top: 30px; } main .leftNav { width: 220px; height: 451px; background: #FFFFFF; box-shadow: 0px -1px 3px 3px rgba(0, 0, 0, 0.03); border-radius: 4px; float: left; } main .leftNav > ul { padding: 25px 0px; } main .leftNav > ul > li:nth-of-type(1) a { background: url(../img/userSet/set_01.jpg) 17px center no-repeat; } main .leftNav > ul > li:nth-of-type(2) a { background: url(../img/userSet/set_03.jpg) 17px center no-repeat; } main .leftNav > ul > li:nth-of-type(3) a { background: url(../img/userSet/set_02.jpg) 17px center no-repeat; } main .leftNav > ul > li:nth-of-type(4) a { background: url(../img/userSet/set_04.jpg) 17px center no-repeat; } main .leftNav > ul > li > a { display: block; width: 100%; position: relative; padding-left: 60px; padding-top: 10px; padding-bottom: 10px; } main .leftNav > ul > li > a span { display: block; font-size: 14px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; } main .leftNav > ul > li > a i { position: absolute; right: 40px; top: 10px; } main .leftNav > ul > li ol > li { padding-left: 60px; margin-top: 5px; font-size: 12px; color: #666666; height: 25px; line-height: 25px; } main .leftNav > ul > li ol li.active { color: #80C4AE; } main .rightUser { float: left; padding-top: 25px; padding-left: 25px; } main .rightUser .title_top { height: 30px; line-height: 30px; } main .rightUser .title_top span { display: inline-block; } main .rightUser .title_top span:nth-last-of-type(1) { font-size: 14px; font-weight: 400; color: #666666; } main .rightUser .title_top span:nth-last-of-type(2) { margin-left: 17px; margin-right: 15px; font-weight: bold; } main .rightUser .title_top span:nth-last-of-type(3) { font-size: 14px; font-weight: 400; color: #333333; } footer { width: 100%; height: 264px; background: #333; margin-top: 36px; padding-top: 87px; } footer .cont { width: 1180px; height: 100%; margin: 0 auto; } footer .cont .main { width: 1153px; height: 90px; color: #ccc; font-size: 14px; line-height: 18px; text-align: center; margin: 0 auto; } footer .cont .main p { margin-top: 5px; } div.fix { position: fixed; width: 70px; height: 220px; bottom: 10px; right: 0px; } div.fix .lesson { width: 70px; height: 70px; } div.fix .test { margin: 5px auto; } div.fix img { width: 70px; height: 70px; }