bnbweb/themes/vr/portal/css/layout--.css

1198 lines
21 KiB
CSS
Raw Normal View History

2022-11-14 15:49:28 +00:00
@charset "UTF-8";
/* CSS Document */
@import url(reset.css);
@import url(font-awesome.min.css);
@import url(rwdgrid.css);
@import url(textEditor.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url('https://fonts.googleapis.com/css?family=Amiri|Marcellus');
body {
background: url(../images/bg.jpg);
font-family:"Noto Sans TC", Helvetica, Arial, sans-serif, "微軟正黑體", Heiti TC, "メイリオ";
font-size: 15px;
color: #444;
}
@-webkit-keyframes htu {
0% {
-webkit-transform: rotateZ(0deg);
transform: rotateZ(0deg);
}
50% {
-webkit-transform: rotateZ(-10deg);
transform: rotateZ(-10deg);
}
100% {
-webkit-transform: rotateZ(10deg);
transform: rotateZ(10deg);
}
}
@keyframes htu {
0% {
-webkit-transform: rotateZ(0deg);
transform: rotateZ(0deg);
}
50% {
-webkit-transform: rotateZ(-10deg);
transform: rotateZ(-10deg);
}
100% {
-webkit-transform: rotateZ(10deg);
transform: rotateZ(10deg);
}
}
header .bookingArea{
position: relative;
}
header .bookingArea strong{
position: relative;
display: flex;
padding: 27px 50px 27px 30px;
font-size: 14px;
color: #fff;
line-height: 25px;
background: #0893d3;
font-weight: 100;
letter-spacing: 1px;
align-items: center;
cursor: pointer;
z-index: 15;}
header .bookingArea strong:after {
content: '';
position: relative;
padding-right: 15px;
display: inline-block;
width: 18px;
height: 18px;
background: url(../images/icon/tree.png) no-repeat center;
background-size: initial;
margin-left: 5px;
}
header .bookingArea strong:hover:after {
-webkit-transform-origin: bottom;
-ms-transform-origin: bottom;
transform-origin: bottom;
-webkit-animation: htu both .6s ease-in-out infinite alternate;
animation: htu both .6s ease-in-out infinite alternate;
}
header .bookingArea ul{
position: absolute;
background:#fff;
width: 100%;
z-index: 5;
top: 0;
opacity: 0;
transition: 0.7s;
}
header .bookingArea ul li a{
font-size: 14px;
display: block;
padding: 5px 0 5px 30px;
line-height: 2;
font-weight: 300;
color: #333;
}
header .bookingArea ul li:hover a{
color:#fff;
background:#232322;
}
header, header .hotelslink ul, .wrap {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/*css3*/
a {
color: #000;
cursor: pointer;
-webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
}
a:hover {
color: #232323;
}
[class*='col-'] {
float: left;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.b-box {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
div.titan {
/*--隱藏開影音、開相簿--*/
display: none;
}
.col-1 {
width: 100%;
}
.col-2 {
width: 50%;
}
.col-3 {
width: 33.33%;
}
.col-4 {
width: 25%;
}
.col-5 {
width: 20%;
}
a.btn_color1 {
/*按鈕主色1*/
color: #fff;
background-color: #0893d3;
}
a.btn_color1:hover {
background-color: #0893d3;
}
.btn{
text-align: center;
padding-top: 30px;
}
.btn a{
display: inline-block;
border: 1px solid #f1f1f1;
line-height: 35px;
font-size: 17px;
color: #232323;
font-family: 'Amiri', serif;
position: relative;
}
.btn a:hover{
color:#fff;
}
.btn a span{
padding: 0px 40px;
position: relative;
display: block;
z-index: 10;
}
.btn a::before{
content: "";
width: 0%;
height: 100%;
display: block;
background:#232323;
transition: 0.9s;
position: absolute;
z-index: 1;
top: 0;
left: 0;
}
.btn a:hover::before{
width: 100%;
}
input[type="text"] {
-webkit-appearance: none;
}
textarea {
-webkit-appearance: none;
}
.outerWrap {
position: relative;
overflow: hidden;
}
.wrap {
width: 1440px;
margin: 0 auto;
}
/*****網頁頭*****/
@keyframes headerovertwo {
0% {transform: translateY(-5%);}
100% {transform: translateY(0);}
}
@keyframes headerover {
0% {transform: translateY(-5%);}
100% {transform: translateY(0);}
}
.sectionTitle{
font-size: 20px;
padding-bottom: 15px;
}
.sectionTitle em{
font-family: 'Marcellus', serif;
text-transform: uppercase;
display: inline-block;
padding-left: 10px;
}
.shrink{
position: fixed;
top: 0;
left: 0;
animation: headerovertwo 2s forwards ease-in-out;
transform: translateY(-180%);
}
header::before{
content: "";
width: 100%;
height: 20px;
background:url(../images/dightbg.jpg);
display: block;
position: absolute;
top: 0;
left: 0;
}
header {
width: 100%;
z-index: 50;
position: relative;
display: flex;
align-items: flex-start;
padding-left: 370px;
justify-content: space-between;
padding-top: 20px;
transform: translateY(-180%);
animation: headerover 2s 1s forwards ease-in-out;
background:url(../images/bg.jpg);
}
header .logo {
overflow: hidden;
width: 260px;
height: 180px;
display: flex;
align-items: flex-end;
position: absolute;
top: 20px;
left: 110px;
}
header .logo a {
display: block;
width: 260px;
height: 260px;
/*background: url("../images/logo.png") no-repeat;*/
background-size: contain;
text-indent: -9999px;
}
header .hotelslink,header .langLink{
position: relative;
}
header .hotelslink strong,header .langLink strong{
position: relative;
display: flex;
padding: 27px 40px 27px 30px;
font-size: 14px;
color: #fff;
line-height: 25px;
background:#232322;
font-weight: 100;
letter-spacing: 1px;
align-items: center;
cursor:pointer;
z-index: 15;
}
header .hotelslink strong:before {
content: '';
display: inline-block;
width: 18px;
height: 18px;
background: url(../images/icon/area.png) no-repeat center;
background-size: initial;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
margin-right: 5px;
}
header .hotelslink strong:after ,header .langLink strong:after {
content: '';
display: inline-block;
width: 12px;
height: 6px;
background: url(../images/icon/down.png) no-repeat center;
background-size: initial;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
margin-left: 20px;
}
header .hotelslink ul,header .langLink ul{
position: absolute;
background:#fff;
width: 100%;
z-index: 5;
top: 0;
opacity: 0;
transition: 0.7s;
pointer-events: none;
}
.showlink{
opacity: 1!important;
top: 100%!important;
pointer-events: auto!important;
}
header .hotelslink ul li a,header .langLink ul li a{
font-size: 14px;
display: block;
padding: 5px 0 5px 30px;
line-height: 2;
font-weight: 300;
color: #333;
}
header .hotelslink ul li:hover a,header .langLink ul li:hover a{
color:#fff;
background:#232322;
}
/*menu*/
.menu {
display: flex;
}
.menu > li {
position: relative;
overflow: hidden;
}
.menu > li::before{
content: "";
width: 100%;
height: 0%;
display: block;
bottom: 0;
left: 0;
position: absolute;
z-index: 5;
background-color: #232323;
transition: 0.9s;
}
.menu > li:hover::before{
height: 100%;
}
.menu > li > a {
position: relative;
display: block;
padding: 27px 30px;
font-size: 15px;
color: #333;
line-height: 25px;
z-index: 8;
}
.menu > li > a:hover {
color: #fff;
}
/*手機menu*/
.m_menu {
display: none;
}
/*****banner******/
.bannerArea {
clear: both;
position: relative;
}
.bannerArea img{
width: 100%;
}
/*頁尾資訊*/
footer {
padding: 60px 0;
background:url(../images/dightbg.jpg);
position: relative;
}
footer .gotopbut {
position: absolute;
bottom: 0;
right: 0;
width: 80px;
height: 80px;
line-height: 80px;
font-size: 13px;
letter-spacing: 0;
text-align: center;
background-color: #ebebeb;
cursor: pointer;
font-family: 'Amiri', serif;
color:#8f8f8f;
}
footer .wrap{
display: flex;
justify-content: space-between;
align-items: flex-end;
}
footer ul.hotelsInfo{
display: flex;
}
footer ul.hotelsInfo li{
padding-right: 50px;
}
footer ul.hotelsInfo li h3{
font-family: "source-han-serif-tc";
font-weight: 300;
font-size: 16px;
color:#333;
padding-bottom: 20px;
}
footer ul.hotelsInfo li h3 em{
display: block;
font-size: 17px;
font-family: 'Marcellus', serif;
text-transform:uppercase;
}
footer ul.hotelsInfo li p.information{
color:#444444;
font-size: 13px;
line-height: 1.6;
font-weight: 100;
letter-spacing: 1px;
}
footer .copyright{
font-size: 12px;
color:#9b9b9b;
float: right;
}
.mainArea {
padding: 100px 0;
}
.titleBox {
position: relative;
margin-bottom: 50px;
text-align: center;
line-height: 1.2;
}
.titleBox h2 {
color: #333;
font-size: 20px;
font-family: "source-han-serif-tc";
font-weight: 100;
letter-spacing: 2px;
}
.titleBox em {
font-size: 55px;
color:#333;
font-family: 'Amiri', serif;
text-transform:uppercase;
font-weight: 500;
}
.articleTitle {
/*文章標題*/
clear: both;
margin-bottom: 25px;
padding: 10px;
border-bottom: 1px solid #232322;
font-weight: 400;
font-size: 25px;
color: #061540;
}
table.breakpoint > tbody > tr > td.expand {
cursor: pointer;
background: url("../images/plus.png") no-repeat 5px center;
padding-left: 40px;
}
/*類別*/
.m_classLink {
display: none;
}
.classBox {
padding: 20px 0;
}
.classLink {
text-align: center;
}
.classLink li {
position: relative;
}
.classLink a {
position: relative;
display: block;
line-height: 2;
padding: 10px;
border-bottom: 1px solid #dfe2ef;
}
.classLink a:hover {
color:#fff;
}
.classLink a.current {
color: #fff;
background-color: #232323;;
}
.classLink li::before{
content: "";
width: 0%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: #232323;
display: block;
transition: 0.9s;
}
.classLink li:hover::before{
content: "";
width: 100%;
}
.m_language{
position: relative;
z-index: 30;
width: 170px;
margin: 0 auto 30px;
}
.m_language strong{
position: relative;
display: flex;
padding: 0px 15px;
font-size: 14px;
color: #fff;
line-height: 59px;
background:#232322;
font-weight: 100;
letter-spacing: 1px;
align-items: center;
cursor:pointer;
z-index: 15;
}
.m_language strong:before {
content: '';
display: inline-block;
width: 18px;
height: 18px;
background-size: initial;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
margin-right: 5px;
}
.m_language strong:after {
content: '';
display: inline-block;
width: 12px;
height: 6px;
background: url(../images/icon-down.png) no-repeat center;
background-size: initial;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
margin-left: 20px;
}
.m_language ul{
position: absolute;
background:#fff;
width: 100%;
z-index: 5;
top: 0;
opacity: 0;
transition: 0.7s;
pointer-events: none;
}
.m_showlink{
opacity: 1!important;
top: 100%!important;
}
.m_language ul li a{
font-size: 14px;
display: block;
padding: 5px 10px;
line-height: 2;
font-weight: 300;
color: #232322;
}
.m_language ul li:hover a{
color:#fff;
background:#232322;
}
/**********適應性**********/
/************************/
@media (max-width: 1460px) {
.wrap {
width: 100%;
padding: 0 20px;
}
}
@media (max-width: 1300px){
header .logo {
left: 0px;
}
header {
padding-left: 260px;
}
}
@media (max-width: 1180px) {
.m_bookingArea{
position: relative;
}
.m_bookingArea strong{
position: relative;
display: flex;
padding: 0px 15px;
font-size: 14px;
color: #fff;
line-height: 59px;
background: #0893d3;
font-weight: 100;
letter-spacing: 1px;
align-items: center;
cursor:pointer;
justify-content: center;
z-index: 15;
}
.m_bookingArea strong:before {
content: '';
display: inline-block;
width: 18px;
height: 18px;
background: url(../images/icon-link.svg) no-repeat center;
background-size: initial;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
margin-right: 5px;
}
.m_bookingArea strong:after {
content: '';
display: inline-block;
width: 12px;
height: 6px;
background: url(../images/icon-down.png) no-repeat center;
background-size: initial;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
margin-left: 20px;
}
.m_bookingArea ul{
pointer-events: none;
position: absolute;
background:#fff;
width: 100%;
z-index: 5;
top: 0;
opacity: 0;
transition: 0.7s;
box-shadow: -2px 1px 20px rgba(0,0,0,0.5);
}
.m_bookingArea ul li a{
font-size: 14px;
display: block;
padding: 10px;
line-height: 2;
font-weight: 300;
color: #333;
text-align:center;
}
.m_bookingArea ul li:hover a{
color:#fff;
background:#232322;
}
.m_hotelslink{
position: relative;
float:right;
}
.m_hotelslink strong{
position: relative;
display: flex;
padding: 0px 15px;
font-size: 14px;
color: #fff;
line-height: 59px;
background:#232322;
font-weight: 100;
letter-spacing: 1px;
align-items: center;
cursor:pointer;
z-index: 15;
}
.m_hotelslink strong:before {
content: '';
display: inline-block;
width: 18px;
height: 18px;
background: url(../images/icon-link.svg) no-repeat center;
background-size: initial;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
margin-right: 5px;
}
.m_hotelslink strong:after {
content: '';
display: inline-block;
width: 12px;
height: 6px;
background: url(../images/icon-down.png) no-repeat center;
background-size: initial;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
margin-left: 20px;
}
.m_hotelslink ul{
position: absolute;
background:#fff;
width: 100%;
z-index: 5;
top: 0;
opacity: 0;
transition: 0.7s;
pointer-events: none;
}
.m_showlink{
opacity: 1!important;
top: 100%!important;
pointer-events: auto!important;
}
.m_hotelslink ul li a{
font-size: 14px;
display: block;
padding: 5px 10px;
line-height: 2;
font-weight: 300;
color: #333;
}
.m_hotelslink ul li:hover a{
color:#fff;
background:#232322;
}
/*1160+20(卷軸寬度)*/
.outerWrap {
padding-top: 55px;
}
header {
display: none;
}
/*手機menu*/
.m_menu {
position: fixed;
top: 0;
left: 0;
z-index: 999;
display: block;
width: 100%;
box-shadow: 3px 2px 5px rgba(0, 0, 0, 0.1);
}
.m_menu .mask {
position: fixed;
top: 0;
left: 0;
z-index: 10;
display: none;
background-color: rgba(0, 0, 0, 0.6);
width: 100%;
height: 100%;
padding-bottom: 60px;
}
.m_menu .m_logo {
float: left;
margin-left: 70px;
}
.m_menu .m_logo img {
display: block;
width: 70px;
margin: 2px 0;
}
.m_menu .controlBox {
position: relative;
z-index: 99;
background-color: #fff;
}
.m_menu .controlBox a.main {
position: absolute;
left: 0;
top: 0;
width: 60px;
height: 60px;
}
.m_menu .controlBox a.main span {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
margin-top: -0.5px;
width: 26px;
height: 1px;
background-color: #111;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.m_menu .controlBox a.main span:before, .m_menu .controlBox a.main span:after {
content: '';
position: absolute;
left: 0;
width: 100%;
height: 1px;
background-color: #111;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
}
.m_menu .controlBox a.main span:before {
top: -7px;
}
.m_menu .controlBox a.main span:after {
bottom: -7px;
}
.m_menu .controlBox a.main.show span {
background-color: transparent;
}
.m_menu .controlBox a.main.show span:before {
top: 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.m_menu .controlBox a.main.show span:after {
bottom: 0;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.hideBox {
/*手機menu內容*/
position: fixed;
left: 0;
top: 0;
bottom: 0;
z-index: 11;
display: none;
width: 100%;
padding: 60px 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background: #fff;
}
.hideBox .sp {
display: none;
padding: 10px;
font-size: 13px;
color: #fff;
background-color: #c80303;
}
.m_menu .mfun {
padding: 30px 0;
text-align: center;
}
.m_menu .mfun a {
display: inline-block;
margin: 0 1px;
width: 35px;
height: 35px;
line-height: 35px;
border-radius: 50%;
font-size: 20px;
color: #fff;
text-align: center;
background-color: #232322;
}
.nav li {
border-top: 1px solid #333;
}
.nav a {
position: relative;
display: block;
padding: 20px 10px;
font-size: 15px;
color: #333;
text-align: center;
}
.nav a:hover {
background-color: #232322;
color: #fff;
}
.nav a i {
position: absolute;
right: 10px;
top: 50%;
display: block;
margin-top: -7px;
}
footer {
padding: 60px 0 90px 0;
}
}
@media (max-width: 900px) {
footer .wrap {
display: block;
}
footer .copyright {
float: none;
margin-top: 20px;
}
.classLink {
display: none;
}
.m_classLink {
display: block;
position: relative;
}
.m_classLink a.main {
text-align: center;
display: block;
font-size: 15px;
color: #fff;
border: 1px solid #232323;
position: relative;
padding: 10px;
border-radius: 5px;
background: #232323;
}
.m_classLink a.main i {
display: block;
font-size: 15px;
position: absolute;
right: 10px;
top: 50%;
margin-top: -6px;
}
.m_classLink ul {
text-align: center;
padding: 0;
list-style: none;
display: none;
width: 100%;
background: #FFF;
border-radius: 5px;
border: 1px solid #232323;
position: absolute;
left: 0;
top: 100%;
z-index: 99;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.m_classLink ul li {
padding: 0;
}
.m_classLink ul li a {
color:#232323;
display: block;
padding: 15px 10px;
border-top: 1px solid #232323;
}
.m_classLink ul li:first-child a {
border: none;
}
}
/*640*/
@media (max-width: 640px) {
footer ul.hotelsInfo {
display: block;
}
footer ul.hotelsInfo li {
padding: 10px 0;
}
}
/*480*/
@media (max-width: 480px) {
.col-2 {
float: none;
width: 100%;
}
.col-3 {
float: none;
width: 100%;
}
.col-4 {
float: none;
width: 100%;
}
.col-5 {
float: none;
width: 100%;
}
}
/***Hover效果1: 放大淡出***/
.imh_opacity {
background-color: #000;
overflow: hidden;
}
.imh_opacity img {
-webkit-transition: all 0.3s linear;
-o-transition: all 0.3s linear;
transition: all 0.3s linear;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.imh_opacity:hover img {
opacity: 0.8;
-webkit-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05);
}
/***Hover效果1: 放大淡出Detail***/
.imh_detail {
background-color: #000;
overflow: hidden;
}
.imh_detail img {
-webkit-transition: all 0.3s linear;
-o-transition: all 0.3s linear;
transition: all 0.3s linear;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.imh_detail a:before {
content: "Details+";
position: absolute;
left: 50%;
top: 50%;
z-index: 99;
margin-left: -45px;
margin-top: -80px;
display: block;
padding: 10px 20px;
font-size: 13px;
color: #fff;
border: 2px solid #fff;
opacity: 0;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.imh_detail:hover a:before {
opacity: 1;
margin-top: -20px;
}
.imh_detail:hover img {
opacity: 0.3;
-webkit-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05);
}
/***Hover效果1: 放大淡出zoom***/
.imh_zoom {
position: relative;
background-color: #000;
overflow: hidden;
}
.imh_zoom img {
-webkit-transition: all 0.3s linear;
-o-transition: all 0.3s linear;
transition: all 0.3s linear;
-webkit-backface-visibility: hidden;
}
.imh_zoom a:before {
content: "\f002";
display: block;
position: absolute;
left: 50%;
top: -30px;
margin-top: -20px;
margin-left: -20px;
z-index: 99;
width: 40px;
height: 40px;
line-height: 40px;
border-radius: 50%;
font-size: 18px;
color: #fff;
font-family: FontAwesome;
text-align: center;
background-color: #000;
-webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.imh_zoom:hover a:before {
top: 50%;
}
.imh_zoom:hover img {
opacity: 0.3;
-webkit-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05);
}