*{ margin: 0; padding: 0; } header{ width: 100%; background-color: #f7f7f7; } header>nav{ width: 100%; height: 200px; background-color: #0a7dca; } header>nav>div:first-child{ width: 1200px; height: 110px; margin: 0 auto; } header>nav>div:not(:first-child){ width: 1200px; height: 60px; margin: 0 auto; background-color: #f7f7f7; border-radius: 10px; padding: 0 10px; box-shadow: 0px 0px 5px #333; } header>nav>div>img{ margin: 15px; float: left; } header>nav>div>ul>li{ list-style: none; display: block; height: 35px; width: 100px; float: left; margin-top: 45px; text-align: center; } header>nav>div>ul>li>a{ display: block; height: 35px; width: 100px; text-align: center; color: #fff; font-weight: bold; text-decoration: none; } header>div{ width: 1200px; height: 250px; margin: 0 auto; text-align: center; line-height: 250px; /* border: 1px solid #000; */ background-color: #fff; font-size: 36px; } .dropbtn { background-color: #f7f7f7; color: #333; padding: 16px; font-size: 16px; border: none; cursor: pointer; font-weight: bold; border-radius: 5px 5px 0px 0px; } .dropdown { position: relative; display: inline-block; margin-top: 5px; } .dropdown-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 200px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); } .dropdown-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; } .dropdown-content a:hover {background-color: #f1f1f1} .dropdown:hover .dropdown-content { display: block; } .dropdown:hover .dropbtn { /* background-color: #f7f7f7; */ color: #0a7dca; border-bottom: #0a7dca solid 3px; font-weight: bold; } /* 中间栏1 */ #middle_1{ width: 100%; padding-top: 10px; /* 控制中间栏不会重叠的 */ height: 350px; /* background-color: #f7f7f7; */ margin-top: 10px; } #news{ width: 1200px; height: 403px; /* background-color: red; */ margin: 0 auto; } .new{ width: 620px; height: auto; /* background-color: blue; */ float: left; padding-bottom: 20px; padding-top: 10px; } .new>h1{ font-size: 22px; font-weight: normal; height: 36px; padding-bottom: 5px; width: 580px; /* width: 140px; */ border-bottom: 2px solid #0a7dca; color: #0a7dca; margin: 10px 10px; text-align: left; /* letter-spacing: 2px; */ } .more{ float: right; font-size: 14px; display: block; height: 25px; width: 70px; text-align: center; line-height: 25px; /* background-color: rgba(205, 205, 205, 0.5); */ color: #0a7dca; border: 1px solid #0a7dca; border-radius: 20px; } .new>div{ height: 304px; width: 95%; /* background-color: yellow; */ } .new>div>ul>li{ list-style: none; display: block; height: 30px; padding: 10px 15px; line-height: 30px; border-bottom: #cdcdcd dotted 1px; } .new>div>ul>li>span{ float: right; font-size: 14px; color: gray; } .new>div>ul>li>img{ margin-right: 10px; height: 14px; } /* 快速链接部分 */ /* 快速链接最外层 */ #micon{ height: 70px; width: 100%; background-color: #f7f7f7; margin-top: 20px; } #miconb{ height: 70px; width: 1200px; margin: 0 auto; } /* 快速链接左 */ .micon_l{ width: 20%; height: 70px; /* background-color: #f7f7f7; */ float: left; } /* 快速链接左_标题 */ .micon_l>span{ line-height: 40px; color: #fff; font-size: 18px; padding: 0 10px; float: right; background-color: #0a7dca; display: block; text-align: center; height: 40px; width: 150px; margin-top: 15px; margin-right: 20px; border-radius: 20px; } /* 快速链接右_链接列表 */ .micon_r>ul>li{ display: block; width: 100px; height: 70px; float: left; text-align: center; line-height: 70px; color: #0c529d; background-color: #f7f7f7; } #middle_3{ width: 100%; padding-top: 20px; /* 控制中间栏不会重叠的 */ height: 190px; background-color: #f7f7f7; margin-top: 20px; } /* 中间栏2 */ #middle_2{ width: 100%; padding-top: 20px; /* 控制中间栏不会重叠的 */ height: 190px; background-color: #ffffff; margin-top: 20px; } #notice{ height: 340px; width: 1200px; margin: 0 auto; /* background-color: green; */ } #notice>h1{ font-size: 22px; font-weight: bold; height: 36px; width: 100%; color: #333; text-align: center; padding: 20px 0; margin-top: 30px; } #midcontent_2{ width: 1110px; margin: 0 auto; height: 360px; } #notice>#midcontent_2>ul>li{ list-style: none; display: block; width: 320px; height: 80px; margin: 10px 25px; float: left; background-color: #f7f7f7; box-shadow: 0px 1px 6px 0px rgb(0 0 0 / 26%); } .middate_2{ height: 65px; width: 80px; /* background-color: yellow; */ padding-top: 15px; float: left; } .middate_2>div{ height: 50px; width: 50px; margin: 0 auto; background-color: #fff; border-radius: 10px; border: 1px solid #0a7dca; text-align: center; line-height: 25px; font-size: 14px; } .middate_2>div>span{ display: block; width: 50px; height: 25px; background-color: #0a7dca; border-radius: 10px 10px 0px 0px; line-height: 25px; color: #fff; font-size: 16px; } .midcon_2{ height: 50px; width: 450px; /* background-color: chartreuse; */ float: left; padding: 15px 10px; padding-left: 0px; line-height: 50px; /* border-bottom: solid 1px #333; */ } /* 其他栏目 */ #middle_3{ width: 100%; height: 630px; background-color: #f7f7f7; } #other{ width: 1200px; height: 620px; margin: 0 auto; /* background-color: #0a7dca; */ } #other_l{ width: 65%; height: 620px; float: left; /* background-color: antiquewhite; */ } /* 党建工作 */ #other_r{ width: 35%; height: 610px; padding-top: 15px; float: left; /* background-color: blue; */ } #other_r>h1{ /* text-align: center; */ font-size: 22px; padding: 10px 15px; /* border-bottom: 3px solid #0a7dca; */ color: #333; /* width: 40%; */ /* margin: 0 auto; */ text-align: center; } #other_r>h1>img{ margin-right: 10px; position: relative; top: 5px; } #midcontent_33{ width: 95%; height: 550px; margin: 10px auto; /* background-color: aquamarine; */ } #midcontent_33>ul>li{ list-style: none; display: block; padding: 10px 15px; height: 65px; /* background-color: aqua; */ /* margin-bottom: 10px; */ border-bottom: 1px solid #fff; } #midcontent_33>ul>li>div{ padding: 6px 5px; width: 270px; height: 40px; /* background-color: green; */ line-height: 28px; float: left; } #midcontent_33>ul>li>span{ float: left; font-size: 20px; font-style: italic; font-weight: bold; display: block; height: 30px; width: 70px; line-height: 30px; margin-right: 10px; margin-top: 20px; border-left: 4px solid #0a7dca; padding-left: 5px; } .othwork{ height: 270px; width: 100%; /* background-color: aquamarine; */ margin-top: 10px; padding: 10px 0; } .othcontent{ width: 95%; height: 285px; background-color: #fff; margin: 0 auto; box-shadow: 0px 1px 6px 0px rgb(98 98 98 / 16%); } .othcontent>h1{ /* text-align: center; */ font-size: 22px; padding: 10px 0; padding-top: 20px; /* border-bottom: 3px solid #0a7dca; */ color: #333; width: 130px; margin-left: 20px; text-align: center; /* line-height: 37px; */ border-bottom: 3px solid #0a7dca; margin-bottom: 5px; } .othcontent>ul>li{ list-style: none; display: block; height: 18px; margin: 0px 25px; padding: 10px 0; border-bottom: 1px #f7f7f7 solid; } .othcontent>ul>li>span{ float: right; font-size: 14px; } .othcontent>ul>li>img{ margin-right: 10px; height: 14px; } .edge{ width: 100%; height: 20px; background-color: #f7f7f7; } footer{ height: 280px; width: 100%; background-color: #0a7dca; } #footer{ height: 280px; width: 1200px; /* background-color: #629eda; */ margin: 0 auto; } #footer_t{ height: 230px; } #footer_b{ height: 20px; border-top: 1px solid rgb(255, 255, 255, 50%); font-size: 14px; text-align: center; color: #fff; line-height: 28px; padding-top: 10px; } #t_l{ height: 180px; width: 30%; float: left; /* background-color: green; */ text-align: center; padding: 30px 0; color: #fff; font-size: 18px; line-height: 160px; } #t_r{ height: 220px; width: 70%; float: left; margin-top: 10px; /* background-color: yellow; */ } #t_r>ul>li{ list-style: none; display: block; float: left; height: 220px; width: 80px; /* background-color: green; */ padding: 10px 20px; line-height: 30px; color: #fff; font-size: 16px; /* font-weight: bold; */ line-height: 36px; } #t_r>ul>li>ul>li{ list-style: none; display: block; width: 260px; height: 30px; font-size: 13px; color: rgb(255, 255, 255, 70%); } #t_r>ul>li>ul>li>a{ text-decoration: none; font-size: 13px; color: rgb(255, 255, 255, 70%); } .topic{ display: block; height: 150px; width: 140px; margin: 20px; background-color: aqua; float: left; border-radius: 10px; } .top_top{ display: block; height: 80px; width: 140px; /* background-color: blue; */ margin: 0 auto; } .top_bottom{ height: 70px; width: 140px; text-align: center; color: #fff; font-size: 22px; line-height: 45px; } .icon_b>span:nth-child(2){ background-color: #f89588; } .icon_b>span:nth-child(3){ background-color: #63b2ee; } .icon_b>span:nth-child(4){ background-color: #76da91; } .icon_b>span:nth-child(5){ background-color: #f8cb7f; } .icon_b>span:nth-child(6){ background-color: #7cd6cf; } .icon_b>span:nth-child(7){ background-color: #7898e1; } .icon_b>span:nth-child(8){ background-color: #efa666; } .icon_b{ width: 1280px; height: 100px; margin: 0 auto; } .new_3{ width: 398px; height: auto; float: left; padding-bottom: 0px; padding-top: 10px; } .new_3>h1{ font-size: 20px; font-weight: normal; height: 36px; padding-bottom: 5px; width: 370px; /* width: 140px; */ border-bottom: 2px solid #0a7dca; color: #0a7dca; margin: 3px 10px; text-align: left; /* letter-spacing: 2px; */ } .new_3>div{ height: 304px; width: 95%; } .new_3>div>ul>li{ list-style: none; display: block; height: 30px; padding: 10px 15px; line-height: 30px; border-bottom: #cdcdcd dotted 1px; } .new_3>div>ul>li>span{ float: right; font-size: 14px; color: gray; } .new_3>div>ul>li>img{ margin-right: 10px; height: 14px; } .new_4{ width: 292px; height: auto; float: left; padding-bottom: 20px; padding-top: 10px; } .new_4>h1{ font-size: 20px; font-weight: normal; height: 36px; padding-bottom: 5px; width: 275px; /* width: 140px; */ border-bottom: 2px solid #0a7dca; color: #0a7dca; margin: 10px 10px; text-align: left; /* letter-spacing: 2px; */ } .new_4>div{ height: 304px; width: 95%; }