bnbweb/themes/vr/portal/css/home.css

571 lines
11 KiB
CSS
Raw Permalink Normal View History

2022-11-14 15:49:28 +00:00
.mainArea {
padding: 0;
}
.linkList{
margin:0 -15px;
}
.linkList li {
float: left;
width: 25%;
}
.linkList li .item{
padding: 15px;
}
.linkList li .Imgbox{
width: 100%;
overflow:hidden;
position: relative;
}
.linkList li .Img img{
width: 100%;
position: relative;
display: block;
}
.linkList li .Img a{
display: block;
position: relative;
clear:both;
}
.linkList li .Txt{
pointer-events: none;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(8,147,211,0.9);
z-index: 10;
color:#fff;
padding: 40px;
opacity: 0;
transition: 0.6s;
}
.linkList li:hover .Txt{
position: absolute;
top: 10px;
left: 10px;
right: 10px;
bottom: 10px;
opacity: 1;
}
.linkList li .Txt h3{
letter-spacing: 2px;
font-weight: 100;
font-size: 19px;
font-family: "source-han-serif-tc";
color:#fff;
margin-bottom: 20px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-height: 25px;
height: 50px;
overflow: hidden;
}
.linkList li .Txt h3 a{
color:#fff;
}
.linkList li .Txt p{
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
line-height: 25px;
height: 75px;
overflow: hidden;
font-weight: 100;
letter-spacing: 2px;
margin-bottom: 20px;
}
.linkList li .Txt a.link{
font-size: 14px;
color:#fff;
font-family: 'Amiri', serif;
letter-spacing: 1px;
transition: 0.9s;
}
.linkList li .Txt a.link:hover{
letter-spacing: 2px;
}
.linkList li .ad_info{
display: flex;
justify-content: space-between;
background:#f6f6f6;
padding: 5px 15px;
color:#444;
font-size: 14px;
align-items: center;
font-weight: 100;
}
.linkList li a.info{
text-decoration: none;
}
.linkList li .ad_info .date{
font-size: 18px;
color:#333;
/*font-family: 'Amiri', serif;*/
font-family: 'Noto Sans TC', sans-serif;
font-weight: 300;
}
.linkList li .ad_info b.hotels{
font-weight: 100;
}
.hotelsArea ul li .item .Img h3, .hotelsArea ul li .item .Img .infobar{
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
@keyframes arrowaction {
0% {transform: translateY(0);}
50% {transform: translateY(12px);}
100% {transform: translateY(0);}
}
.aboutArea .btnDown {
position: absolute;
top: -80px;
left: 50%;
margin-left: -10px;
display: block;
width: 20px;
height: 120px;
background: url(../images/arrow-down.png) no-repeat center;
cursor: pointer;
z-index: 50;
}
.aboutArea .btnDown:hover {
animation: arrowaction 600ms infinite ease-in-out;
}
@keyframes aboutover {
0% {transform: translate(0,-80px);}
100% {transform: translate(0,-140px);}
}
.aboutArea{
/*background:url(../images/dightbg.jpg);*/
padding:40px 20px;
color:#444444;
font-size: 15px;
margin:0 110px;
/*transform: translate(0,-80px);*/
text-align: center;
font-weight: 100;
line-height: 1.6;
letter-spacing: 1px;
z-index: 1;
position: relative;
/*animation: aboutover 1.8s 2s forwards ease-in-out;*/
}
.aboutArea h2{
color:#333;
font-size: 55px;
/*font-family: 'Amiri', serif;*/
font-weight: normal;
font-family: 'Noto Sans TC', sans-serif;
margin: 0;
}
.aboutArea p{
font-size: 24px;
margin: 0;
}
@keyframes bannerAreaover {
0% {opacity: 0;
transform: scale(1.2);}
100% {opacity: 1;
transform: scale(1);}
}
.bannerArea {
-webkit-box-sizing: border-box;
box-sizing: border-box;
opacity: 0;
transform: scale(1.2);
animation: bannerAreaover 3s 1s forwards ease-in-out;
}
.bannerArea .slick-dots {
bottom: auto;
left: -52px;
top: 0;
left: 0px;
transform: translate(-100%,0);
width: 70px;
height: 100%;
display: -webkit-box !important;
display: -ms-flexbox !important;
display: flex !important;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.bannerArea .slick-dots li.slick-active button:before {
background-color: #6c6c6c;
}
.bannerArea .slick-dots li button:before {
content: '';
top: 50%;
left: 50%;
margin-top: -4px;
margin-left: -4px;
width: 8px;
height: 8px;
border-radius: 50%;
border: solid 1px #6c6c6c;
}
.bannerArea {
position: relative;
padding: 0 0 0 70px;
}
.bannerArea .btxt {
position: absolute;
width: 70%;
height: 50%;
position: absolute;
margin: auto;
top: 0;
bottom: 0;
left: 0;
right: 0;
text-align: center;
color: #fff;
text-shadow: 0px 0px 10px #222;
}
.bannerArea .btxt h2 {
font-weight: 300;
font-size: 36px;
}
.bannerArea .btxt h3 {
font-weight: 300;
font-size: 55px;
border-top: solid 2px #fff;
border-bottom: solid 2px #fff;
margin: 2% 15%;
}
.bannerArea .btxt p {
font-weight: 300;
font-size: 16px;
padding: 0 20%;
}
.newsArea{
padding-bottom: 100px;
}
.hotelsArea {
padding-bottom: 100px;
}
.hotelsArea ul {
display: flex;
}
/*.hotelsArea ul li:nth-child(odd){
padding-left: 0px;
padding-right: 15px;
}*/
.hotelsArea ul li{
padding-left: 15px;
padding-bottom: 15px;
}
.hotelsArea ul li .item{}
.hotelsArea ul li .item .Img{
overflow: hidden;
position: relative;
}
.hotelsArea ul li .item .Img img{
width: 100%;
position: relative;
z-index: 1;
display: block;
}
.hotelsArea ul li .item .Img h3{
letter-spacing: 1px;
width: 100%;
padding: 30px;
position: absolute;
top: 0;
left: 0;
z-index: 5;
/*font-family: "source-han-serif-tc";*/
font-family: 'Noto Sans TC', sans-serif;
font-size: 17px;
font-weight: 300;
color: #fff;
transition: 0.9s;
text-shadow: 0px 0px 10px #222;
}
.hotelsArea ul li:hover .item .Img h3{
color:#fff;
font-weight: bold;
text-shadow: 0px 0px 1px #222;
}
.hotelsArea ul li .item .Img h3 em {
display: block;
font-size: 17px;
font-family: 'Marcellus', serif;
text-transform: uppercase;
}
.hotelsArea ul li .item .Img .infobar{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: #232322;
display: flex;
z-index: 5;
color: #fff;
font-size: 14px;
line-height: 1.5;
font-weight: 100;
justify-content: flex-end;
transform: translate(0,100%);
transition: 0.9s;
}
.hotelsArea ul li:hover .item .Img .infobar{
transform: translate(0,0%);
}
.hotelsArea ul li:hover .item .Img .infobar{
}
.hotelsArea ul li .item .Img .infobar .information{
padding: 20px;
margin-right: auto;
}
.hotelsArea ul li .item .Img .infobar a.bookinglink:hover{
transform: translate(0,-10px);
}
.hotelsArea ul li .item .Img .infobar a.bookinglink{
transition: 0.9s;
background:#0893d3;
color: #fff;
padding: 20px 30px 20px 70px;
display: flex;
flex-direction: column;
position: relative;
}
.hotelsArea ul li .item .Img .infobar a.bookinglink em{
font-family: 'Amiri', serif;
}
.hotelsArea ul li .item .Img .infobar a.bookinglink::before{
content: "";
width: 35px;
height: 35px;
display: block;
background:url(../images/icon/vr.png) no-repeat;
background-size: cover;
position: absolute;
left: 0;
top: 50%;
transform: translate(25px,-50%);
}
.hotelsArea ul li .item .Img .infobar a.weblink:hover{
transform: translate(0,-10px);
background: #232322;
}
.hotelsArea ul li .item .Img .infobar a.weblink{
transition: 0.9s;
position: relative;
color: #fff;
background: #232322;
padding: 20px 30px 20px 70px;
display: flex;
flex-direction: column;
}
.hotelsArea ul li .item .Img .infobar a.weblink em{
font-family: 'Amiri', serif;
}
.hotelsArea ul li .item .Img .infobar a.weblink::before{
content: "";
width: 35px;
height: 35px;
display: block;
background:url(../images/icon/link.png) no-repeat;
background-size: cover;
position: absolute;
left: 0;
top: 50%;
transform: translate(25px,-50%);
}
@media (max-width: 1180px) {
.linkList li {
float: left;
width: 50%;
}
.bannerArea {
padding: 0;
}
@keyframes aboutover {
0% {transform: translate(0,-0px);}
100% {transform: translate(0,-80px);}
}
.aboutArea {
transform: translate(0,0px);
margin: 0 20px;
}
.hotelsArea ul {
display: block;
}
.hotelsArea ul li:nth-child(odd){
padding-left: 0px;
padding-right: 0px;
}
.hotelsArea ul li{
/*padding-top: 15px;
padding-bottom: 0px;*/
padding-left: 0px;
}
.hotelsArea ul li:first-child{
padding-top: 0px;
}
}
@media (max-width: 1024px) {
.bannerArea .btxt {
width: 50%;
height: 50%;
}
.bannerArea .btxt h2 {
font-weight: 300;
font-size: 24px;
}
.bannerArea .btxt h3 {
font-weight: 300;
font-size: 42px;
border-top: solid 2px #fff;
border-bottom: solid 2px #fff;
margin: 2% 0;
}
.bannerArea .btxt p {
font-weight: 300;
font-size: 12px;
max-height: 56px;
overflow: hidden;
}
.hotelsArea ul li .item .Img .infobar {
position: relative;
bottom: auto;
left: auto;
transform: translate(0,0%);
}
.hotelsArea ul li:first-child .item .Img h3 {
color:#fff;
}
}
@media (max-width: 780px) {
.bannerArea .btxt {
width: 50%;
height: 50%;
}
.bannerArea .btxt h2 {
font-weight: 300;
font-size: 21px;
}
.bannerArea .btxt h3 {
font-weight: 300;
font-size: 34px;
border-top: solid 2px #fff;
border-bottom: solid 2px #fff;
margin: 2% 0;
}
.bannerArea .btxt p {
font-weight: 300;
font-size: 10px;
max-height: 40px;
overflow: hidden;
}
}
@media (max-width: 640px) {
.hotelsArea ul li .item .Img .infobar{
background: #2c2c2c;
color: #fff;
}
.linkList li {
float: none;
width: 100%;
}
.bannerArea .btxt {
width: 50%;
height: 50%;
}
.bannerArea .btxt h2 {
font-weight: 300;
font-size: 18px;
}
.bannerArea .btxt h3 {
font-weight: 300;
font-size: 24px;
border-top: solid 2px #fff;
border-bottom: solid 2px #fff;
margin: 2% 0;
}
.bannerArea .btxt p {
font-weight: 300;
font-size: 8px;
max-height: 40px;
overflow: hidden;
}
@keyframes aboutover {
0% {transform: translate(0,0px);}
100% {transform: translate(0,0px);}
}
.aboutArea{
transform: translate(0,0px);
margin: 20px 0;
padding: 10px 20px;
}
.aboutArea .btnDown {
display: none;
}
.hotelsArea ul li .item .Img .infobar {
display: block;
}
.hotelsArea ul li .item .Img .infobar a.weblink{
width: 50%;
float: left;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.hotelsArea ul li .item .Img .infobar a.bookinglink{
width: 50%;
float: left;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.aboutArea h2 {
font-size: 40px;
line-height: 1.5;
}
.newsArea {
padding-bottom: 50px;
}
.hotelsArea ul li .item .Img .infobar a.bookinglink, .hotelsArea ul li .item .Img .infobar a.weblink {
padding: 20px 10px 20px 70px;
}
}