@charset "utf-8"; @import url(../../admin/lib/layui/css/layui.css); * { margin: 0; padding: 0; box-sizing: border-box; font: 14px/28px "微软雅黑"; } a { text-decoration: none; } ul { list-style: none; } @font-face { font-family: icon; src: url("../font/iconfont.eot") format("embedded-opentype"), url("../font/iconfont.svg") format("woff"), url("../font/iconfont.ttf") format("truetype"), url("../font/iconfont.woff") format("truetype"); } .icon { font-family: icon; } .pagination > li > a, .pagination > li > span { border-radius: 4px; margin: 0 5px; } .pagination > .active > a { background: #1890ff; border-color: #1890ff; } .input-group-addon { background: none; } /*nav*/ .nav a, .indexSearch p a, .tag { line-height: 60px; color: #b8b8b5; padding: 0 5px; } .index .nav a:first-child, .class .nav a:nth-child(2), .hot .nav a:nth-child(3), .new .nav a:nth-child(4), .tagl .nav a:nth-child(5), .downloading .nav a:nth-child(6) { display: none; } /*page*/ .page { text-align: center; margin-top: 30px; } .page .page { display: inline-block; } .page span { line-height: 76px; margin-right: 20px; } /*slideR*/ .slideR { padding: 0 20px; } .slideR a { margin-right: 20px; border-bottom: 1px solid #2727d2; color: #2727d2; } .slideR p { margin: 0; } .navbar-default { background: transparent; } /*首页*/ .indexBackground { background: url("../img/indexBackground.jpg") no-repeat center fixed;/*center/cover fixed;*/ background: #000; } .indexSearch { position: relative; top: 200px; } .indexSearch h1 { text-align: center; margin-bottom: 50px; font-weight: 700; } .indexShow { margin-bottom: 50px; } .indexSearch button, .indexShow .search button { background: #1890ff; border-color: #1890ff; color: #fff; } .indexSearch p { color: #b8b8b5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .navTitle { border-bottom: 1px solid #ddd; } .navTitle h2 { line-height: 60px; margin: 0; font-size: 20px; font-weight: 600; color: #000; } .navTitle h3 { line-height: 60px; margin: 0; font-size: 18px; margin-left: 50px; } .navTitle h2 img { margin-right: 10px; } .indexShow .search { margin: 15px 0; } .indexShow ul li { position: relative; padding: 15px 0; border-bottom: 1px solid #ddd; height: 160px; } .indexShow ul li a { color: #5a5a5a; } .indexShow ul li .title h3 { margin: 0; color: #2727fc; margin-right: 20px; margin-bottom: 10px; } .indexShow ul li .content .p-img { width: auto; } .indexShow ul li .content .p-img img { width: 160px; margin-right: 20px; } .indexShow ul li .content .p-con .star span.cur { color: #f38104; } .indexShow ul li .content .p-con .list p { margin: 10px; margin-top: 0; } .indexShow ul li .content .p-con .list { position: absolute; bottom: 0; right: 0; } .indexShow ul li .content .p-con .font { position: relative; margin: 0; height: 56px; overflow: hidden; } .indexShow ul li .content .p-con .font:after { content: "..."; font-weight: bold; position: absolute; bottom: 0; right: 0; padding: 0 20px 1px 45px; /* background: url(http://newimg88.b0.upaiyun.com/newimg88/2014/09/ellipsis_bg.png) repeat-y; */ } .indexShow ul li .content .p-con .list p { margin: 10px; margin-top: 0; } .indexShow .about h3 { font-size: 20px; } .indexShow .about p a { color: #2727d2; border-bottom: 1px solid #2727d2; margin-right: 20px; } .col-md-2, .col-md-10, .col-md-1, .col-md-12, .col-md-8 { padding: 0; } /*分类搜索*/ .classifiedSearch { margin-bottom: 10px; } .classifiedSearch .p-item { margin: 10px auto; line-height: 54px; padding: 0; } .classifiedSearch .item .col-md-1 { line-height: 54px; } .classifiedSearch .item .p-item .form-control { position: relative; padding-right: 25px; } .classifiedSearch .item .p-item .form-control .iconR { position: absolute; right: 5px; bottom: 0; } .classifiedSearch .item .p-item .form-control .controlFont { border: 1px solid #ccc; border-radius: 4px; float: left; margin-top: -5px; margin-right: 10px; padding: 0 5px; } .classifiedSearch .item .p-item .form-control .controlFont .icon { display: inline-block; margin-left: 5px; font-size: 12px; cursor: pointer; } .classifiedSearch .item .p-item .form-control .iconR.cur { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); -webkit-transition: 0.5s; -moz-transition: 0.5s; -ms-transition: 0.5s; -o-transition: 0.5s; transition: 0.5s; } .classifiedSearch .item .p-item .select { margin: 0; border: 1px solid #ccc; border-radius: 4px; padding: 15px; display: none; } .classifiedSearch .item .p-item .select.cur { display: block; } .classifiedSearch .item .p-item .select span { cursor: pointer; } .classifiedSearch .item .p-item .select span:hover { color: #000; } /*tag*/ .tag .input-group { margin: 30px auto; } .tag a { padding: 0 5px; color: #5a5a5a; } #myCarousel a { display: block; } .carousel-control { background: #fff; font-size: 50px; top: 50%; margin-top: -25px; color: #d3d3d3; } .carousel-control.right { right: -15%; left: auto; background: #fff; } .carousel-control.left { right: auto; left: -15%; background: #fff; } .showPicture h2 { font-size: 24px; line-height: 48px; text-align: center; } .showPicture .list { text-align: center; margin-bottom: 15px; } .showPicture .list a { margin: 0 10px; color: #5a5a5a; } video { width: 100%; } .dataDownloading.indexShow ul li { height: auto; } .dataDownloading p { margin-bottom: 0; } .dataDownloading .indent { text-indent: 2em; } .dataDownloading .danwei p { margin-right: 15px; } .dataDownloading ul li .content button { background: #1890ff; color: #fff; border: 1px solid #1890ff; margin-right: 15px; } .login { margin-top: 100px; } .login .input-group { margin: 20px 0; } .login .remember a { color: #1890ff; } .login input[type="submit"] { margin: 20px 0; height: 40px; border-radius: 6px; background: #1890ff; border: none; color: #fff; letter-spacing: 5px; font-size: 16px; } em { font-style: normal; font-weight: bolder; color: #c00; } /*资源分类*/ .searchCategoryBar { padding: 10px; background: rgb(250, 250, 250); margin-top: -12px; margin-left: 0px; margin-right: 0px; } .searchCategoryBarItem { padding: 10px; background: rgb(250, 250, 250); margin-left: 0px; margin-right: 0px; cursor: pointer; } .searchCategoryBarItemActive { border-bottom: 2px solid rgb(6, 6, 58); } .cur { color: rgb(230, 149, 0); } /*底部*/ .footerBar { padding: 10px; background: rgb(240, 240, 240); border-top: 1px solid rgb(200, 200, 200); text-align: center; } /*热门TAG*/ .tagItem { line-height: 25px; padding: 0px 10px 0px 0px; } myModal{ left: 50%; top: 50%; transform: translate(-50%,-50%); min-width:100%;/*这个比例可以自己按需调节*/ overflow: visible; bottom: inherit; right: inherit; }