@charset "utf-8"; @import "../initial"; .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{ @media(max-width: $screen-xs){ padding: 0; } } .verticalhome{ position: relative; width: 100%; overflow: hidden; background:#fff url(/assets/img_basemap_05@2x.png) no-repeat center bottom; background-repeat: no-repeat; background-size: 1920px 1054px; } .internal-page{ .layout-content{ // background: transparent; padding-bottom: 4em; } } .big-banner{ width: 100%; position: relative; } .layout-content { position: relative; min-height: 42.5em; .container { @extend .response-container; } } .layout-content-inner{ overflow: hidden; } .video-banner{ max-width: 850px; margin: auto; position: relative; } .homebanner{ -webkit-transition: .3s ease-out; -moz-transition: .3s ease-out; -ms-transition: .3s ease-out; -o-transition: .3s ease-out; transition: .3s ease-out; } .fa, .fas{ font-family: "FontAwesome"; font-weight: 900; font-style: normal; } .fab{ font-family: "Font Awesome 5 Brands"; } .padding0{ .layout-content-box{ &:hover{ opacity: .8; transition: all .3s; } } .layout-content-box{ padding: 0; } padding: 0 1em; } .contentwrap{ overflow: hidden; position: relative; width: 100%; padding-top: 1em; @media(max-width:768px){ padding-top: 0; } p{ padding-bottom: 1em; } } .contentwrap1{ overflow: hidden; position: relative; width: 100%; // background-image: linear-gradient(280deg, #e6e6e6 56%, #fff 0); // padding-top: 4em; // padding-bottom: 4em; } .contentwrap2{ overflow: hidden; position: relative; width: 100%; padding-top: 2em; padding-bottom: 2em; } .contentwrap3{ overflow: hidden; position: relative; width: 100%; padding-top: 2em; padding-bottom: 2em; } .iconwrap{ padding: 4em 0 0; } .zero{ padding: 0; } .i-video_data{ li{ list-style: none; } } .ask-question .form-horizontal .control-label{ width: 100% !important; max-width: 100% !important; text-align: justify !important; } .ask-question .single-col.form-horizontal .control-group .controls{ justify-content: flex-start; max-width: 100%; width: 100%; } .ask-question-form{ padding: 2em; border-radius: 10px; border: 1px solid #E4E6EA; padding-bottom: 3em!important; @media(max-width: 820px){ padding: 1.5em; } } .image-carousel{ padding: 15px 0px 25px 0px; } .downIcon { a{ bottom: 0; position: absolute; left: 0; right: 0; top: 0; } position: absolute; left: 48.8%; bottom: 10%; z-index:100; display: block; cursor: pointer; @media(max-width:$screen-xs){ left: 45%; } &:hover{ transform:scale(1.1); -webkit-transition: .3s ease-out; -moz-transition: .3s ease-out; -ms-transition: .3s ease-out; -o-transition: .3s ease-out; transition: .3s ease-out; } width: 3px; padding: 10px 15px; height: 35px; border: 2px solid #fff; border-radius: 25px; opacity: 0.75; box-sizing: content-box; animation: move 3s ease-out 1s infinite; } .scroller { width: 3px; height: 10px; border-radius: 25%; background-color: #fff; animation-name: scroll; animation-duration: 2.2s; animation-timing-function: cubic-bezier(.15,.41,.69,.94); animation-iteration-count: infinite; } @keyframes scroll { 0% { opacity: 0; } 10% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(15px); opacity: 0;} } @keyframes move { 25% { opacity: 1; } 33% { opacity: 1; transform: translateY(30px); } 67% { opacity: 1; transform: translateY(40px); } 100% { opacity: 0; transform: translateY(55px) scale3d(0.5, 0.5, 0.5); } } .rotated{ transform: rotate(180deg); } .tab-content{ background-color: #fff; padding-bottom: 2em; & > div{ position: relative; margin:auto; @media (max-width: $screen-xs) { width: 100%; } @media (min-width: $screen-sm) { width: 100%; } @media (min-width: $screen-md) { width: 100%; } @media (min-width: $screen-lg) { max-width:1200px; padding: 0; } } } .more-bt{ width: calc(100% / 3); height: 65px; margin: 1em auto 0 auto; @media(max-width:$screen-xs){ width:80%; } a{ display: flex; justify-content: center; align-items: center; border: 1px #666 solid; height: 100%; } } .spbox1{ border: 1px solid #c1c1c1; background: #fff; border-radius: 10px; padding-top: 0; margin-top: 1em; margin-bottom: 1em; } .pane-block-4{ background: #cc0066; .pane-title { font-weight: normal; font-size: 15px; background: url(/assets/btn_title_03@2x.png) no-repeat; background-size: contain; width: 275px; height: 45px; color: #cc0066; margin: 0; padding: 2px 25px; } .pane-content { padding: 25px 20px; margin-top: -20px; } .flexbox{ display: flex; flex-wrap: wrap; } .flex-item{ flex-grow: 1; @media(max-width:768px){ border-right: 0!important; border-bottom: 1px solid #fff; padding: 10px 0; } a{ color: #fff; font-size: 26px; display: block; padding-left: 50px; background: url(/assets/btn_admissions_01@2x.png) no-repeat 90% 50%; background-size: 70px 26px; &:hover{ text-decoration: none; background-position: 95% 50%; transition: all 300ms; } } &:first-child{ border-right: 1px solid #fff; } } } .hex-grid { margin-top: 7em; display: grid; grid-template-columns: repeat(5, 200px); /* 一排最多 5 個 */ grid-auto-rows: calc(200px * 0.866); /* 六邊形高度 */ justify-content: center; gap: 10px 10px; position: relative; } .hex { position: relative; width: 200px; height: calc(200px * 0.866); clip-path: polygon( 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50% ); overflow: hidden; cursor: pointer; } .hex img { width: 100%; height: 100%; object-fit: cover; } /* Hover 效果 */ .hex::after { content: attr(data-text); position: absolute; inset: 0; background: rgba(255, 215, 0, 0.85); color: #000; font-size: 1em; font-weight: bold; display: flex; text-align: center; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s; } .hex:hover::after { opacity: 1; } /* 特殊往上+往左位移 */ .shift4{ transform: translate(-196px, 0); } .shift3{ transform: translate(-147px, -92px); } .shift2{ transform: translate(-98px, 0); } .shift { transform:translate(-49px, -92px); /* -100px = 邊長/2, 200 * 0.5 -86px = 高度/2, 200*0.866/2 */ } .field-item { @media(max-width:$screen-xs){ overflow-x: scroll; } } h2.element-invisible{ display: none; } .page-header{ margin-top: 1em; margin-bottom: 0.5em; }