/** * Place your custom styles here. */ body { background-color: #fff; color: #333; /* font-family:Arial,Helvetica,Verdana,sans-serif,宋体; */ font-family: "宋体","arial","serif"; font-size: 14px; line-height: 26px; } .img-banner { display: none; } img[class*="image-"] { max-width: 100%; height: auto; } ol, ul { padding: 0; } .clear{ clear:both; } a:focus{ outline:none; } a { color: #0559f7; } a:link { text-decoration: none; } .region .breadcrumb{ background-color: inherit; padding: 8px 0; } /********* start navbar *********/ .container { padding: 0; margin-right: auto; margin-left: auto; } .zjnews-page-wrapper .navbar-collapse { background-color: #005f7f; } ul.menu.nav li { float: left; } .zjnews-zjnewsmenu ul.menu.nav li a { color: #fff; text-decoration: none; } .menu.nav{ padding: 0; margin: 0; } .nav > li > a:focus, .nav > li > a:hover{ background-color: #E88101; } .zjnews-zjnewsmenu { background-color: #005f7f; float: left; width: 860px; } .zjnews-language{ background-color: #4f94b3; float: right; height: 30px; width: 95px; } .path-node .page-header{ margin: 0; } .path-node .field--name-field-subtitle{ text-align: center; padding: 5px 0; } .zj-chinese-switcher > a { color: #fff; float: right; padding: 5px 5px; } .zjnews-second-menu { float: left; margin-top: 35px; width: 170px; } .zjnews-second-menu a { color: #005f7f; } /********* end navbar *********/ /********************** start zjnews 1 *******************************/ .row{ margin: 0; padding: 0; } #views_slideshow_controls_text_zjnews_slider-zjnews_slider_zjnews1 a { cursor: pointer; position: absolute; top: 38%; z-index: 99 !important; } .widget_pager img { width: 65px; height: auto; float: left; padding: 3px; margin-right: 3px; border: 1px solid #23527c; } .col-zjnews-1-left .views_slideshow_controls_text_previous a, .col-zjnews-1-left .views_slideshow_controls_text_next a{ background: rgba(0, 0, 0, 0) url("/themes/zhengjian/img/arrow-buttons.png") no-repeat scroll 0 0; border: 0 none; display: block; height: 50px; text-indent: -9999px !important; width: 25px; } .col-zjnews-1-left .views_slideshow_controls_text_pause { display: none; } .col-zjnews-1-left .views_slideshow_controls_text_previous a:hover { background-position: -7px -3px; left: 0px; } .col-zjnews-1-left .views_slideshow_controls_text_previous a { background-position: -36px -3px; left: 0px; } .col-zjnews-1-left .views_slideshow_controls_text_next a:hover { background-position: -112px -32px; right: 10px; } .col-zjnews-1-left .views_slideshow_controls_text_next a { background-position: -80px -32px; right: 10px; } #views_slideshow_cycle_teaser_section_zjnews_slider-zjnews_slider_zjnews1 .views-field.views-field-title { background: #000 none repeat scroll 0 0; bottom: 0; color: #fff; left: 0; margin: 0; opacity: 0.9; padding: 5px; position: absolute; bottom: -30px; width: 100%; z-index: 89; } #views_slideshow_cycle_teaser_section_zjnews_slider-zjnews_slider_zjnews1 .field-content > a { color: white; } .zjnews-term-12074-page .block-title, .col-zj-news-2 .block-title { background-color: #4F94B3; color: #FFFFFF; height: 25px; margin-top: 0; margin-bottom: 5px; padding-left: 5px; padding-top: 5px; width: 100px; font-size: 14px; } /********************** end zjnews 1 *******************************/ /********************** start zjnews 1 *******************************/ /********************** end zjnews 1 *******************************/ /**********************start content*******************************/ .is-unpublished::before { color: #d8d8d8; content: "unpublished"; font-family: Impact,"Arial Narrow",Helvetica,sans-serif; font-size: 30px; font-weight: bold; overflow: visible; text-transform: uppercase; z-index: 20 !important; } .is-unpublished { background-color: #fff4f4; } .zjnews-content h2, .js-quickedit-page-title.page-header, h1, h2, h3 { color: #4983cd; text-align: center; font-size: 2em; line-height: 1.3em; } .js-quickedit-page-title.page-header { margin: 0; } .path-node .field--name-field-author { padding-bottom: 10px; text-align: center; } /********************** end content*******************************/ /********************** start zjnews 1 *******************************/ /********************** end zjnews 1 *******************************/ /********************** start zjnews 1 *******************************/ /********************** end zjnews 1 *******************************/ /**********************start zjnews 1*******************************/ /**********************end zjnews 1 *******************************/ @media screen and (max-width: 659px) { /**********************end navbar*******************************/ /**********************start zjnews 1*******************************/ /**********************end zjnews 1 *******************************/ /**********************start zjnews 1*******************************/ /**********************end zjnews 1 *******************************/ /**********************start zjnews 1*******************************/ /**********************end zjnews 1 *******************************/ /**********************start zjnews 1*******************************/ /**********************end zjnews 1 *******************************/ } @media screen and (min-width: 660px){ .container { width: 100%; } /**********************start navbar*******************************/ .navbar-header { margin: 0; padding: 0; } .container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header{ margin: 0; padding: 0; } ul.menu.nav .is-active { color: #FBCA6D; } /**********************end navbar*******************************/ /**********************start zjnews 1*******************************/ /**********************end zjnews 1 *******************************/ /**********************start zjnews 1*******************************/ /**********************end zjnews 1 *******************************/ /**********************start zjnews 1*******************************/ /**********************end zjnews 1 *******************************/ /**********************start zjnews 1*******************************/ /**********************end zjnews 1 *******************************/ } @media screen and (min-width: 960px){ .zjnews-page-wrapper{ margin: 0 auto; width: 960px; } .zj-page { width: auto; } .container { width: 962px; padding:0; } .zjnews-1, .zjnews-2, .zjnews-3{ margin: 0 0 20px; padding: 0; } .col-zj-news-1{ width: 700px; float: left; } .col-zj-news-2{ width: 260px; padding-left: 10px; float: left; } /**********************start navbar*******************************/ .navbar.container { width: 100%; } #navbar{ height:27px; min-height: 27px; } .zjnews-second-menu { height: 30px; padding-left: 10px; width: 180px; } .menu.nav{ height: 30px; width: 860px; padding-left: 10px; } .nav > li > a { padding: 5px 5px; } .nav > li { background: none; list-style-image: none; line-height: 20px; } /**********************end navbar*******************************/ /**********************start zjnews 1*******************************/ .zjnews-1-left, .zjnews-1-right { width: 350px; float: left; height: 450px; } .region.region-zjnews-1 { width: 350px; } .view-zjnews-slider { width: 350px; float: left; height: 290px; margin-bottom: 20px; } .views-slideshow-controls-bottom { margin-top: 35px; } .zjnews-today-list, .zjnews-lianzai ul li{ background:url(/load/view.php?a=aHR0cDovL3d3dy56aGVuZ2ppYW4ub3JnL3RoZW1lcy96am5ld3MvaW1nL2Fycm93cy5qcGc) no-repeat 0px 4px; padding-left: 20px; list-style: none; } .zjnews-list-style1 { list-style-image: url(/themes/zjnews/img/arrows.jpg); } .zjnews-1-right { overflow: auto; } .zjnews-1-right ul, .zjnews-3 ul, .col-zj-news-2 ul, ul{ padding-left: 20px; overflow: hidden; } .img-responsive{ width: 100%; } .zjnews-list-style1 a { white-space: nowrap; } .path-node { font-size: 15px; } /**********************end zjnews 1 *******************************/ /**********************start zjnews 2*******************************/ /**********************end zjnews 2 *******************************/ /**********************start zjnews 3*******************************/ .col-zjnews-3 .block-views { float: left; overflow: hidden; width: 345px; margin-top: 10px; } .zjnews-left { margin-right: 5px; } .zjnews-right { margin-left: 5px; } .col-zjnews-3 .block-title, .col-zj-news-2 .block-title { float: left; } .col-zjnews-3 .more-links, .col-zj-news-2 .more-links { border-bottom: 2px solid #4f94b3; float: right; height: 25px; margin-bottom: 5px; margin-right: 10px; padding-right: 10px; text-align: right; } .col-zjnews-3 .more-links { width: 235px; } .col-zjnews-3 .item-list { overflow: hidden; white-space: nowrap; } .col-zjnews-3 .field-content > a:hover, .col-zjnews-3 .field-content > a:focus{ color: #f69336; } /* .col-zjnews-3 .field-content > a:visited{ */ a:visited { color: #006600; } .col-zjnews-3 .attachment { height: 200px; } .zjnews-taxonomy-attachment .views-field-field-xiaotupian { float: left; margin-right: 10px; } /**********************end zjnews 3 *******************************/ /**********************start sidebar_second col-zjnews-3*******************************/ .col-zj-news-2 .more-links { width: 140px; } .zjnews-secondary-images .views-row { float: left; overflow: hidden; margin-bottom: 10px; padding: 0 5px 0 0; width: 125px; } .col-zj-news-2 section { margin-bottom: 10px; } /**********************end sidebar_second col-zjnews-3 *******************************/ /********************** start content *******************************/ .path-node p, .path-node .content { font-size: 18px; } .zjnews-3-front .views-field.views-field-title { overflow: visible; white-space: normal; } .views-field.views-field-title { white-space: nowrap; overflow: hidden; } .path-taxonomy .zj-tax-list-wrapper .views-field.views-field-title, .path-taxonomy .zj-tax-list-wrapper .views-field-field-author, .path-taxonomy .zj-tax-list-wrapper .views-field-created { display: inline-flex; overflow: hidden; white-space: nowrap; } .path-taxonomy .zj-tax-list-wrapper .views-field.views-field-field-author { width: 150px; } .path-taxonomy .zj-tax-list-wrapper .views-field.views-field-title { width: 410px; float: left; clear: both; } .views-field.views-field-created-1 { float: left; } .zjnews-secondbar-recent .item-list > ul, .zjnews-lianzai ul { float: left; height: 450px; overflow: hidden; width: 260px; padding: 0; } .zjnews-secondbar-recent .zjnews-list-style1 { clear: both; white-space: nowrap; width: 240px; } /********************** end content *******************************/ } @media print { .path-node .main-container .zj-col-1 { width: 100%; } .path-node .main-container .zjnews-sidebar-second, .path-node .breadcrumb, .path-node .tabs, .zjnews-second-menu, section, .path-node .logo { display: none; } .img-banner { display: flex; } }