/*------样式目录 1.header样式 2.搜索框 3.nav-导航菜单 4.content-内容 -------*/ @media only screen and (min-width: 100px) and (max-width: 1200px){ body{ width: 1200px; } } /*header-样式*/ .header{ width: 100%; height:150px; background-color: #002147; /*background: url(../img/logo-banner.jpg) no-repeat center; background-color: #b42127fa;*/ background-size: 95%; } .header .contain{ width: 1180px; height: auto; margin: 0 auto; } .banquan span.weibo:hover img{ display: block; display: none; } .header .contain .logo{ float: left; width: 360px; height: auto; margin-top: 26px; } .logo img{ display: block; width: 100%; } .header .contain .link_right{ float: right; width: 250px; margin-top: 40px; } .link_right .school_links a{ color: #fff; font-size: 14px; font-family: "微软雅黑"; margin-left: 9px; } .school_links a:hover{ color: #ebc013; } /*搜索框*/ .link_right .search{ float: right; position: relative; width: 32px !important; height: 32px; background-image: url(../img/search.png); left: -1px; } .link_right .search input{ display: block; position: absolute; top: 0; left: 0; width: 212px; height: 32px; font-size: 12px; color: #333; padding: 0; border-radius: 0; padding-left: 5px; border: solid 1px #bdbcbc; border-right: none; } .link_right .search button[type="submit"]{ position: absolute; right: 0; top: 0; width: 32px; height: 32px; background-image: url(../img/search.png); background-position: 0 0; background-repeat: no-repeat; border: none; outline: none; } /*搜索框*/ /*nav-导航菜单*/ .nav{ position: relative; width: 100%; background-color: #135b94; /*background-color: #b42127;*/ margin: 0; z-index: 999; } .nav .contain{ width: 1180px; margin: 0 auto; } .nav .contain .first_menu{ width: 100%; height: 62px; } .first_menu>li{ float: left; height: 62px; position: relative; -ms-transition: all 0.6s; /* IE 9 */ -webkit-transition: all 0.6s;/* Safari */ transition: all 0.6s;/* 标准语法 */ } .first_menu>li>.menu{ display: block; width: auto; height: 62px; line-height: 62px; padding:0 22px; font-size: 18px; color: #fff; text-align: center; } /*.first_menu>li>:hover{ background-color: #12376e; }*/ .active_nav{ background-color: #12376e !important; } .first_menu>a:hover{ text-decoration: none; } .sebmenu{ display:none; position: absolute; top: 62px; left: 0; width: 100%; z-index: 1000; -ms-transition: all 0.6s; /* IE 9 */ -webkit-transition: all 0.6s;/* Safari */ transition: all 0.6s;/* 标准语法 */ } .sebmenu>li{ width: 100%; height: auto; position: relative; } .sebmenu>li>a{ display: block; width:100%; height: auto; line-height:20px; padding:10px 0; font-size: 15px; color: #fff; text-align: center; background-color: rgba(0,0,0,.7); background-color: #000 \9; filter:alpha(opacity= 80) \9; border-bottom: solid 1px rgba(255,255,255,.8); border-bottom: solid 1px rgb(255,255,255) \9; } .sebmenu>li>a:hover{ background-color: rgba(255,255,255,.7); background-color: rgb(255,255,255) \9; color: #111; } .active-sec{ background-color: rgba(255,255,255,.7) !important; color: #111 !important; } /*三级导航*/ .thirdmenu{ display:none; position: absolute; left: 100%; top: 0px; width: 100%; height: auto; z-index: 99; } .thirdmenu li{ width: 100%; height: auto; } .thirdmenu li a{ display: block; width:100%; height:auto; line-height: 20px; padding: 10px 2px; font-size: 15px; color: #fff; text-align: center; background-color:#2a85ce; border-bottom: solid 1px rgba(255,255,255,.8); } .thirdmenu li a:hover{ background-color:#12376e; } /*nav-导航菜单*/ /*content-内容*/ .contentbox{ width: 100%; height: auto; background: url(../img/con_bg.jpg) no-repeat left bottom; z-index: 99; background-color: #e4e5ea; } .content{ width: 1180px; margin: 0 auto; background-color: #fff; } /*content-内容*/ .clearfix{ clear: both; } /*footer-页脚*/ .footer{ width: 100%; height: auto; padding: 40px; background-color: #002147; position: relative; margin-top: -5px; } .footer .contain{ width: 1140px; margin: 0 auto; } .footer .contain .title h1{ float: none; color: #fff; background-image: url(../img/white-line.jpg) !important; } .infos{ font-family: "微软雅黑"; font-size: 15px; line-height: 30px; color: #fff; margin: 20px 0 10px; } .banquan{ font-family: "微软雅黑"; font-size: 16px; line-height: 30px; color: #fff; } .banquan span{ float: left; display: inline-block; height: 27px; line-height: 27px; } .banquan span.banquan-text{ margin-right: 20px; } .banquan span.icon{ position: relative; width: 27px; height: 27px; margin: 0 10px 0 0; background-image: url(../img/sns_icons2.png); background-repeat: no-repeat; background-position: -4px -4px; cursor: pointer; margin-top: 1px; } .banquan span.icon img{ display: none; width: 84px; height: 84px; position: absolute; top: -88px; left: -28px; } .banquan span.weibo{ display: none; background-position: -4px -4px; } .banquan span.weibo:hover{ background-position: -4px -34px; } .banquan span.weibo:hover img{ display: block; } .banquan span.qq{ background-position: -31px -5px; } .banquan span.qq:hover{ background-position: -31px -35px; } .banquan span.qq:hover img{ display: block; } .banquan span.weixin{ background-position: -60px -4px; } .banquan span.weixin:hover{ background-position: -60px -34px; } .banquan span.weixin:hover img{ display: block; } .banquan span.toutiao{ background-position: -91px -4px; display: none; } .banquan span.toutiao:hover{ background-position: -91px -34px; } .banquan span.toutiao:hover img{ display: block; display: none; } /*状态*/ .active-menu{ color: #333 !important; border-bottom: solid 1px #fff !important; background: url(../img/add-blue.png) 6px 12px no-repeat; } .active-menu-blue{ color: #333 !important; border-bottom: solid 1px #fff !important; background: url(../img/add-blue.png) 6px 12px no-repeat; } .active-menu-noson{ color: #135b94 !important; border-bottom: solid 1px #fff !important; } /*侧边栏*/ .sidebar{ width: 50px; height: 153px; position: fixed; bottom: 4%; right: 2%; z-index: 999; } .sidebar .side{ width: 50px; height: 50px; margin-bottom: 1px; background-color: #626262; cursor: pointer; } .side1{ background: url(../img/home.png) center center no-repeat; background-size: 32px 32px; } .side2{ background: url(../img/login.png) center center no-repeat; background-size: 32px 32px; } .side3{ background: url(../img/back.png) center center no-repeat; background-size: 32px 32px; } .side a{ display: none; width: 50px; height: 50px; font-size: 16px; text-align: center; vertical-align: middle; line-height: 20px; background-color: #c18117; color: #fff; padding: 4px; } .pagination>.active>span{ border-radius: 15px !important; padding: 6px 18px; }