img{ width: 100%; } h2{ margin-top: 50px; margin-bottom: 50px; } p{ text-align: justify; text-justify: inter-ideograph; } h3{ margin-top: 8px; text-align: center; } #titlenew { font-size: 12px; color: #d7d7d7; text-align: center; margin-top: 20px; } #title1 { font-size: 12px; color: #d7d7d7; text-align: center; margin-top: 20px; } #title2 { font-size: 35px; text-align: center; padding-bottom: 20px; } /*附加导航栏*/ /* custom styles */ ul.nav-tabs{ width: 220px; margin-top: 20px; border-radius: 4px; border: 1px solid #ddd; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.067); } ul.nav-tabs li{ margin: 0; border-top: 1px solid #ddd; } ul.nav-tabs li:first-child{ border-top: none; } ul.nav-tabs li a{ margin: 0; padding: 8px 16px; border-radius: 0; } ul.nav-tabs li.active a, ul.nav-tabs li.active a:hover{ color: #fff; background: #0088cc; border: 1px solid #0088cc; } ul.nav-tabs li:first-child a{ border-radius: 4px 4px 0 0; } ul.nav-tabs li:last-child a{ border-radius: 0 0 4px 4px; } ul.nav-tabs.affix{ top: 100px; /* set the top position of pinned element */ } /*悬停下拉导航设置*/ .navbar .nav > li .dropdown-menu {margin: 0;} .navbar .nav > li:hover .dropdown-menu {display: block;} .navbar-right .dropdown-menu { right: -50px; left: auto; } /*动画*/ .imghover:hover { -webkit-transform: translatey(-10px); -moz-transform: translatey(-10px); -ms-transform: translatey(-10px); transform: translatey(-10px); -webkit-transition: -webkit-transform .5s; transition: -webkit-transform .5s; -moz-transition: transform .5s, -moz-transform .3s; transition: transform .5s; transition: transform .5s, -webkit-transform .5s, -moz-transform .5s; } .food-imgs img { margin-bottom: 20px; box-shadow: 10px 10px 10px #d4d4d4; position: relative; } .food-imgs .inline { display: inline-block; position: relative; } .inline:hover .img-text { height: 120px; display: block; } .food-imgs { text-align: center; } .img-text { position: absolute; bottom: 20px; width: 100%; color: #fff; height: 0; display: none; background: rgba(0, 0, 0, 0.28); transition: all 0.3s ease; } .img-text a{ display: block; width: 20%; height: 30px; line-height: 30px; margin: .1rem auto 0; border: 1px solid #fff; text-align: center; border-radius: 15px; color: #fff; font-size: 14px !important; } .img-text a:hover{ color: #4f4f4f; } /*导航栏样式*/ .navbar-default { background-color: #f8f8f8; border-color: #e7e7e7; } .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover { border-bottom: 2px solid #007cba;; } .nav > li { position: relative; display: block; padding: 30px 20px; padding-bottom: 0; } .nav > li > a { position: relative; display: block; height: 50px; padding: 0; font-size: 18px; padding-bottom: 0; } .dropdown-menu { font-size: 18px; } .dropdown-menu > li > a { color: #777; text-align: center; padding-top: 10px; padding-bottom: 10px; } .dropdown-menu .divider { height: 1px; overflow: hidden; margin: 0 0 0 0; background-color: #e5e5e5; } /*页脚*/ .contact-us-div { background-color: #f1f1f1; padding-top: 50px; padding-left: 75px; padding-bottom: 20px; padding-right: 0; } .details-contact { margin-top: 20px; } .details-contact > li { list-style-type: none; } .details-contact > li > span { font-weight: bold; font-size: 15px; margin-left: 5px; } .someinfo-nav span { border-left: 3px solid #2f8af3; padding-left: 10px; margin-left: 30px; color: #000; font-weight: bold; } .someinfo-nav ul { margin-top: 8px; } .someinfo-nav ul > li > a, .someinfo-nav ul > li > a:hover { color: #000; } .someinfo-nav ul > li { font-size: 12px; line-height: 22px; text-align: left; padding-left: 5px; } .page-footer { width: 100%; background-color: #292828; padding: 20px 20px; /*height:60px;*/ } .page-footer img { margin-top: 20px; width: 220px; height: 52px; margin-left: 40px; } .page-footer #record { font-size: 14px; color: #666; text-align: right; /*margin-left: 110px;*/ } /*首页*/ .list-ul { /*display: none;*/ } .list-ul.nav > li { position: relative; display: block; padding: 0; text-align: center; } .list-ul.nav > li > a { line-height: 2; } /*新闻动态*/ /*分页样式*/ .more-list{ text-align: right; } .jumbotron { padding-top: 5px; padding-bottom: 5px; } .pagination { display: inline-block; padding-left: 0; margin: 20px 0; border-radius: 4px; float: right; } .news-div{ margin-bottom: 20px; text-align: center; } .news-a{ color: #292828; font-family: "microsoft yahei ui"; height: 40px; display: block; } /*工程装备*/ /*行业咨询页面*/ .industry-information { padding-top: 30px; padding-left: 75px; padding-right: 75px; padding-bottom: 0px; } /*轮播图文字*/ #first-loop{ animation-duration: 3s; letter-spacing:10px; position:absolute; top:45%; text-align: center; left: 0; right: 0; bottom: 0; font-size: 60px; color: #1118d8; margin:auto; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } /*轮播图文字*/ #first-loop-first{ animation-duration: 3s; letter-spacing:10px; position:absolute; top:60%; left: 50%; font-size: 60px; color: #1118d8; text-align: center; left: 0; right: 0; bottom: 0; margin: auto; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } /*轮播图文字*/ #two-loop{ animation-duration: 3s; letter-spacing:10px; position:absolute; top:35%; left: 10%; font-size: 180px; color: #ffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } #two-loop-1{ animation-duration: 3s; letter-spacing:10px; position:absolute; bottom:15%; right: 10%; font-size: 90px; font-family: simsun; color: #ffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } .mytitle { color: black; font-size: large; text-decoration: none; }