*{ list-style: none; background-color: rgb(210, 237, 248); } #top{ width: 100%; height: 160px; } #top-right{ width: 380px; font-family: 'Microsoft YaHei'; font-size: 14px; position: absolute; top: 50px; left: 10px; } #top-gov{ width: 400px; height: 34px; text-align: center; position: absolute; top: 10px; right: 0px; } #top-gov a{ color: gray; line-height: 34px; transition: 0.3s; text-decoration: none; background-color: rgb(210, 237, 248); } #top-gov a:hover{ color: black; line-height: 34px; transition: 0.3s; border-bottom: 4px solid skyblue; } #top-right input{ width: 260px; border: 1px solid gray; height: 30px; float: left; background-image: url(../image/search.png); background-repeat: no-repeat; background-size: 25px; background-position:5px center; padding:0 0 0 40px; position: absolute; top: 40px; left: 235%; } #search{ width: 78px; height: 35px; float: right; background: black; color: white; text-align: center; line-height: 35px; cursor: pointer; position: absolute; top: 38px; left: 300%; transition: 0.3s; } #search:hover{ transition: 0.3s; background: rgb(141, 139, 139); } #top1{ width: 100%; } #top2{ width: 100%; height: 40px; } #center{ width: 100%; height: 800px; background-color: rgba(0,0,0,0); } #center-rb{ width: 380px; height: 465px; position: absolute; top: 1080px; left: 67%; background-color: skyblue; } #bottom{ width: 100%; height: 70px; background-color: rgb(48, 116, 143); text-align: center; line-height: 70px; } #center p{ padding-left: 10px; padding-right: 10px; text-align: left; font-size: 15px; line-height: 30px; text-indent: 35px; background-color: rgba(0,0,0,0); } .img1{ width: 320px; height: 120px; position: absolute; top: 30px; left: 30px; background-color:rgba(0,0,0,0); } #bottom a{ color: white; transition: 0.3s; text-decoration: none; background-color: rgb(48, 116, 143); } #bottom a:hover{ color: black; border-bottom: 4px solid yellow; transition: 0.3s; } #nav{ width: 100%; } #nav li{ width: 11%; height: 22px; line-height: 22px; list-style-type: none; float: left; text-align: center; } #nav ul li a{ width: 80px; height: 30px; line-height: 30px; display: block; text-decoration: none; color: black; font-weight: 900; font-family: '楷体'; font-size: 20px; border-radius: 10px; transition: 0.5s; } #nav a:hover{ text-align: center; color: rgb(212, 68, 68); background-color: rgb(104, 203, 241); transition: 0.5s; transform: scale(1.25); }