@media (min-width: 1201px){ .inner { width: 96%; max-width: 1460px; } } #main{ /*max-width:1920px;*/ margin:0 auto; } #main .field-body ul, #main .field-body ol { margin-top: 7px; margin-bottom: 1em; padding-left: 3.5em; } #main .field-body ul ul, #main .field-body ol ol { padding-left: 1.35em; } .field-body p { margin-bottom: 10px; margin-top: 5px; } .field-body h3 { font-size: 20px; } .field-body h1, .field-body h2, .field-body h3, .field-body h4 { margin-top: 30px; margin-bottom: 20px; } .sections{ background:#fff; padding:60px; margin-bottom:40px; } .flexbox{ display:flex; flex-wrap:wrap; } .header-right .block,.block-region-left .block,#block-headeren{ margin-bottom: 0; } .js-language-switch #language-switch { background: none; color: #9C311C; } .js-language-switch #language-switch .icon { font-size: 100%; } .header-container.inner, .header-row { height: 110px; } .header-row .header-column { display: inline-block; vertical-align: middle; } div#site-logo { padding-top: 5px; position: relative; z-index: 104; } div#header.fixed-top { background:#FFF; /* padding-bottom:10px; */ z-index:102; } div#header.header-bg-base.fixed-top{ box-shadow: 0 5px 7px rgb(0 0 0 / 20%); } .fixed-top{ background: #FFF; opacity: 1; transition: all 500ms ease; -moz-transition: all 500ms ease; -webkit-transition: all 500ms ease; -ms-transition: all 500ms ease; -o-transition: all 500ms ease; -ms-animation-name: fadeInDown; -moz-animation-name: fadeInDown; -op-animation-name: fadeInDown; -webkit-animation-name: fadeInDown; animation-name: fadeInDown; -ms-animation-duration: 500ms; -moz-animation-duration: 500ms; -op-animation-duration: 500ms; -webkit-animation-duration: 500ms; animation-duration: 500ms; -ms-animation-timing-function: linear; -moz-animation-timing-function: linear; -op-animation-timing-function: linear; -webkit-animation-timing-function: linear; animation-timing-function: linear; -ms-animation-iteration-count: 1; -moz-animation-iteration-count: 1; -op-animation-iteration-count: 1; -webkit-animation-iteration-count: 1; animation-iteration-count: 1; width:100%; z-index: 100; border: none; position:fixed; box-shadow: 0 0 10px rgb(0 0 0 / 15%); } .stickyhead #main { padding-top: 110px; } .header-body{ overflow: visible; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; word-wrap: break-word; padding-right: 14px; padding-left: 14px; padding-top: 10px; /*max-width: 1460px;*/ margin: 0 auto; position: relative; width: 96%; min-height: 110px; display: flex; flex-wrap: wrap; align-items: flex-end; } .header-container.inner{ /* float: left; */ width: 30%; padding: 0; margin-top: -14px; margin-left:0; } .header-body #main-menu{ width:65%; /* float:left; */ margin-bottom: 8px; } .main-menu-1-1 .nav-menu { font-size: 16px; position: relative; z-index: 2; display: flex; justify-content: flex-end; } .language-en .header-body #main-menu{ width:65%; /* float:left; */ margin-bottom: 12px; } #site-logo img { height: auto; max-height: 80px; margin-top: 3.5%; } div.top-header { background: transparent; } div.top-header .inner { width: 96%; max-width: 100%; } #header-top { z-index: 103; position: absolute; width: 100%; border-top: 3px solid rgb(112, 19, 24); } .header-left { padding: 10px; } #header-top .header-right { display: flex; /* flex-direction: row-reverse; */ align-items: center; padding-top: 5px; padding-bottom: 5px; padding-right: 30px; position: relative; } #header-top div.toplinks{ margin-bottom: 0; color: #AD093A; position: absolute; display: flex; width: max-content; right: 100px; align-items: center; } #header-top .search{ position:absolute; right:0; } #header-top div.toplinks a{ color: #6B0A0B; display:inline-block; padding:5px 10px; } #header-top div.toplinks a:hover{ background:#AD093A; color:rgba(255,255,255,1); } #header .hamburger-inner, #header .hamburger-inner:after, #header .hamburger-inner:before { background-color: #AD093A; } #main-menu .nav-menu.menu>.menu-item i { display: none; } #main-menu { background: transparent; } .main-menu-1-1 .nav-menu>.menu-item { padding: 18px 1.6%; } .menu.nav-menu ul.dropdown-menu>li>a, .menu.nav-menu .dropdown .dropdown-menu>li>a{ text-align: center; font-size: 14px; } .menu.nav-menuul .dropdown-menu, .menu.nav-menu .dropdown .dropdown-menu{ min-width: 160px; -webkit-background-clip: padding-box; background-clip: padding-box; border-radius: 0 0 4px 4px; -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175); box-shadow: 0 6px 12px rgba(0,0,0,.175); border-top: 3px solid #FFF; background:rgba(111,4,50,0.75); } .main-menu-1-1 .nav-menu .level-menu .menu-item { border-top: 1px solid rgba(255,255,255,0.3); } .main-menu-1-1 .nav-menu>.menu-item .menu-toggle a, .main-menu-1-1 .nav-menu>.menu-item>a, .main-menu-1-1 .nav-menu>.menu-item i, .main-menu-1-1 .nav-menu>.menu-item span{ font-weight:bold;font-size:16px; } .language-en .main-menu-1-1 .nav-menu>.menu-item .menu-toggle a,.language-en .main-menu-1-1 .nav-menu>.menu-item>a, .language-en .main-menu-1-1 .nav-menu>.menu-item i, .language-en .main-menu-1-1 .nav-menu>.menu-item span{ font-weight:bold;font-size:16px;font-family:Arial; } .main-menu-1-1 .nav-menu .level-menu .active-item.active:not(.expanded) a { background-color: #f5f5f5; color: rgb(111,4,50); } .main-menu-1-1 .nav-menu .level-menu .menu-item>a.is-active, .main-menu-1-1 .nav-menu .level-menu .menu-item>a:hover { background:#FFF; opacity: 1; color: rgba(111,4,50,1) } .main-menu-1-1 .nav-menu>.menu-item.active .menu-toggle a, .main-menu-1-1 .nav-menu>.menu-item:focus .menu-toggle a锛?main-menu-1-1 .nav-menu .menu-item:hover a:hover,.main-menu-1-1 .nav-menu .menu-item:hover a, .main-menu-1-1 .nav-menu>.menu-item.active a { color: rgba(111,4,50,1) ; color: #FFF; } .main-menu-1-1 .nav-menu>.menu-item.active .menu-toggle a,.main-menu-1-1 .nav-menu>.menu-item:hover .menu-toggle a,.main-menu-1-1 .nav-menu>.menu-item:hover a { color:#FFF; } /*.main-menu-1-1 .nav-menu .menu-item:hover ul a{ color:#333; }*/ .main-menu-1-1 .nav-menu>.menu-item.active, .main-menu-1-1 .nav-menu>.menu-item:hover, .main-menu-1-1 .nav-menu>.menu-item:focus { background: #AD093A; } .banner { height: 35vh; /*max-height: 320px;*/ width: 100%; background-repeat: no-repeat; background-size: cover; background-position: center center; font-size: 0 !important; background-image: url(../../lingnanbanner13.jpg); } .banner.bannerlingnan{ background-image: url(../../lingnanbanner06.jpg); } .banner.bannerstudent{ background-image: url(../../lingnanbanner05.jpg); } .banner.bannerdang{ background-image: url(../../lingnanbanner01.jpg); } .banner.bannerteacher{ background-image: url(../../lingnanbanner11.jpg); } .banner.bannerresearch{ background-image: url(../../lingnanbanner09.jpg); } .bannerinternational{ background-image: url(../../lingnanbanner03.jpg); } .bannerenstrategic{ background-image: url(../../bg-leadership.jpg); height:50vh; } .inner .breadcrumb { font-size: 14px; position: relative; top: -64px; right: 16px; padding: 0; margin: 0; border-bottom: 0; } .breadcrumb .list-breadcrumb { font-size: 14px; border-bottom: 0; text-align: right; } .list-breadcrumb a, .list-breadcrumb li { color: #FFF; } .inner .breadcrumb .list-breadcrumb li .icon { color: #FFF; font-size: 0; } .inner .breadcrumb .list-breadcrumb li .icon:before { content: "/"; font-size: 14px; padding: 5px; } /********* lists ***********/ .page-taxonomy .title-inner { text-align: center; } .page-taxonomy .title-inner h2 { display: inline-block; padding: 2px 30px; margin-bottom: 30px; border-left: 2px solid; border-right: 2px solid; border-color: #FFF; position: relative; color: #9C113C; font-size: 26px; font-weight: bold; } .page-taxonomy .title-inner h2:before { content: ""; width: 60px; height: 1px; border-bottom: 1px solid; display: inline-block; position: absolute; border-color: #FFF; top: 15px; left: -60px; } .page-taxonomy .title-inner h2:after { content: ""; width: 60px; height: 1px; border-bottom: 1px solid; display: inline-block; position: absolute; border-color: #FFF; top: 15px; right: -60px; } .pager.outside-tb.t-c { margin-top: 40px; clear: both; } /*****page taxonomy ******/ .page-taxonomy .list-3.inside-b, .row.table.table-full .list-3.inside-b { padding-left: 0; } .page-taxonomy .list-3.list-3-1 .list-content .list-item.list-item-line a p { font-size: 16px; overflow: inherit; text-overflow: inherit !important; white-space: inherit !important; } .page-taxonomy .list-3.list-3-1 .list-item .date { color: #999; font-size: 14px; display: inline-block; padding-top: 5px; padding-left: 10px; } .page-taxonomy .list-3.list-3-1 li.list-item.list-item-line { padding: 12px 10px !important; } .listwithpic2{ margin-top:-30px; } .list-page{ display:flex; flex-wrap:wrap; overflow:hidden; background: #FFF; padding-top: 0; border-radius: 5px; margin: 0 0 30px 0; box-shadow: 2px 2px 6px #ececec; } .list-page:hover{ box-shadow:2px 2px 6px #999; } .list-page.tuwen{ border-radius: 0px; } .list-page.termlist { align-items: center; padding: 15px 10px; } .list-page.tuwen2 { min-height: 100px; margin: 40px 0; padding: 15px 10px; align-items: center; } .list-page .title { font-size: 16px; line-height: 150%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .list-page:hover .title a{ color:#9C113C; } .list-page.tuwen .title{ margin-top: 20px; margin-bottom: 10px; } .list-page.termlist .title { margin: 10px; } .list-page.tuwen2 .title { display: table-cell; vertical-align: top; width: 72%; margin: 10px; } .list-page .title a{ color:#333; } .list-page.tuwen .articleinfo { width: calc(100% - 310px); position: relative; margin-left: 10px; padding-left: 70px; padding-right: 20px; } .list-page.termlist .articleinfo { width: calc(100% - 100px); } .list-page.tuwen2 .articleinfo { width: calc(100% - 120px); position: relative; } .list-page .imgs a{ display:block; line-height:100%; font-size: 0; } .list-page .imgs { background: url(../../activitypic.jpg) no-repeat; background-size: cover; background-position: center; } .list-page.tuwen2 .imgs { position: absolute; right: 0; top: -60px; border-radius:100%; } .list-page .imgs img { display: block; } .list-page.tuwen2 .imgs img { border-radius:100%; } .list-page .title.one-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .list-page .summary p,.list-page .summary { color: #777 !important; font-size: 14px; line-height: 150%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; padding-right: 30px; -webkit-line-clamp: 5; -webkit-box-orient: vertical; } .list-page .posttime { font-size: 12px; font-family: arial; color: #9C311C; border-right: 1px solid #ECECEC; padding: 5px 10px; width: 80px; vertical-align: top; line-height: 150%; margin-right: 15px; text-align: center; } .list-page.tuwen .posttime { position: absolute; padding: 10px 10px; margin:0; background: #9C113C; color:#FFF; left: -65px; top: 0px; width: 115px; height: 110px; border-radius: 100%; clip: rect(0px 120px 110px 55px); text-align: right; color: #FFF; display: flex; vertical-align: middle; align-items: center; justify-content: right; border-right:0; } .list-page.tuwen .posttime .times { width: 100%; } .list-page .posttime span { display: block; } .list-page.tuwen2 .posttime span{ } .list-page .posttime span.day { margin-bottom: 5px; font-size: 24px; font-weight: 600; margin-top: 5px; color: #9C311C; } .list-page.tuwen .posttime span.day{ color: #FFF; margin:0; margin-bottom: 5px; padding-right: 7px; } .window-title { margin: 0 auto; display: flex; padding-right: 5%; padding-left: 5%; border-bottom: 1px solid #CCC; } .language-en .window-title{ justify-content: center; padding-right: 1%; padding-left: 1%; } .window-title div { width: 25%; text-align: center; border: 1px solid #ccc; margin-bottom: -1px; font-size: 16px; line-height: 180%; } .language-en .window-title div{ width:auto; } .window-title div a { color: #555; display: block; padding: 10px; height:100%; } .language-en .window-title div a{ padding: 10px 20px; } .window-title div.active a { color: #FFF; background-color:#9C113C; } .window-title div.active{ border:1px solid #9C113C; } .window-title.gonghui div { width: 33%; } @media (min-width: 1400px){ .main-menu-1-1 .nav-menu>.menu-item .menu-toggle a, .main-menu-1-1 .nav-menu>.menu-item>a, .main-menu-1-1 .nav-menu>.menu-item i, .main-menu-1-1 .nav-menu>.menu-item span{ font-size:18px; } } @media (min-width: 992px){ .list-page.termlist.dubble{ width: 48%; float: left; margin-right: 2%; min-height:100px; } .list-page.tuwen2 .title{ padding-right:140px; } } @media (max-width: 991px){ .list-page .posttime,.list-page .summary,.list-page.tuwen2 .imgs{ display:none; } .list-page.termlist .posttime{ display:block; } .list-page.tuwen { margin: 10px 0; padding: 10px 10px 15px 20px; min-height: 150px; } .list-page.tuwen .articleinfo { padding-top: 10px; padding-left: 20px; padding-right: 30px; } .list-page.tuwen2 .articleinfo{ width: 100%; position: relative; padding-top: 10px; overflow:hidden; } .list-page .title { line-height: 150%; margin-top: 20px; font-size: 14px; -webkit-line-clamp: 3; line-height:150% } } @media (max-width: 480px){ .list-page { margin: 10px 0; padding: 10px; min-height: 70px; } .list-page .articleinfo { width: 100%; position: relative; margin-left: 0px; padding-left: 10px; padding-right: 10px; } .list-page .title { line-height: 150%; margin-top: 10px; font-size: 14px; -webkit-line-clamp: 5; } .list-page.tuwen2 { min-height: 70px; } } /***************** footer ***********/ #footer,.region-footer-bottom{ background:url(../../bg-footer.jpg) no-repeat bottom center; background-size:cover; } .footer-bg-primary{ background:transparent; color:#FFF; } .footer-bg-primary h4{ font-size:16px !important; color:#ffffff; margin-bottom:20px; margin-top: 15px; } .footer-bg-primary h4::before { content: ""; width: 32px; height: 2px; position: absolute; background-color: #b75c5c; top: 55px; } .footer-bg-primary ul li{ margin-bottom: 10px; line-height: 100% !important; } .footer-bg-primary ul li a,.footer-bg-primary a{ color:rgba(255,255,255,0.8); } .footer-bg-primary ul li a:hover,.footer-bg-primary a:hover{ color:rgba(255,255,255,1) !important; } .footer-bg-primary .copyright{ border-top:1px solid rgba(255,255,255,0.2); padding:30px 0 10px 0; margin-top:20px; text-align:center; } .weixinblock { position: relative; padding-top: 15px; } .weixinimg{ display:block; margin-top:10px; } .weixinblock:hover .weixinimg{ display:block; } @media (min-width: 768px){ .header-body .inner.inside-c-tb{ width : auto; } .col-md-9 .inner{ width : auto; } article.node--type-event .region-right, article.node--type-article .region-right { margin-top: -30px; } } @media screen and (min-width: 992px) { div#block-header-block, div#block-headerlogin,div#block-headeren { width: 100%; z-index: 99; } /*#main{ padding-top: 100px; }*/ .language-zh-hans .breadcrumb .list-breadcrumb li:first-child:before { content: "\4f60\73b0\5728\7684\4f4d\7f6e\ff1a"; } } @media screen and (min-width:1360px) { #header-top{ background:none !important; } .main-menu-1-1 .nav-menu>.menu-item { padding: 18px 2%; } .language-en .header-body .main-menu-1-1 .nav-menu>.menu-item { padding: 18px 3% !important; } .region-left .block-region-left { margin-right: 20px; } .weixinblock .weixinimg{ position:relative; left:-25px; } } @media (min-width: 768px) and (max-width: 991px){ .header-container.inner{ float: none; width: 90%; } } @media screen and (max-width:1359px) { .main-menu-1-1 .nav-menu>.menu-item { padding: 18px 1.6%; } #header-top{ position: initial; background: #ECECEC; } .header-body { align-items: center; justify-content: space-between; } } @media screen and (max-width:1280px) { .main-menu-1-1 .nav-menu>.menu-item { padding: 18px 1.5%; } .weixinblock svg{ display:none; } .weixinblock .weixinimg{ display:block; } } @media (max-width: 992px){ .header-body{ min-height:auto; } .field-body p { word-break: break-word !important; } .header-row { display: flex; align-items: center; margin-top: -7px; width: 100%; justify-content: space-between; } #site-logo { height: auto; } #site-logo img { height: auto; max-height: 80px; margin-top: 0; } #header .header-container .header-row .header-column #site-logo.header-logo img { max-height: 70px !important; margin-top: 0 !important; } #header-btns { background: none; } .banner { height: 25vh; } } @media screen and (max-width: 767px) { #header-top { z-index: 103; /*position: absolute;*/ width: 100%; border-top: 3px solid rgb(112, 19, 24); border-bottom: 1px solid #e6e6e6; } .header-left{ display:none; } .header-container.inner{ float: none; width: 100%; margin-right:0; } #header-top div.toplinks a { padding: 5px 2px; } #header .header-container .header-row .header-column #site-logo.header-logo img { max-height: 80px; margin-top: 0; } #header .header-container .header-row .header-column #header-btns { right: auto; top: auto; left: 0; bottom: 32px; position: initial; } .banner { height: 150px; } }