bnbweb/themes/vr/portal/css/main.css

345 lines
7.6 KiB
CSS
Raw Normal View History

2022-11-14 15:49:28 +00:00
@charset "utf-8";
/*熱門房型*/
2023-07-11 10:23:18 +00:00
.back01{
2022-11-14 15:49:28 +00:00
width: 100%;
padding: 20px 0px 20px 0px;
background-image: url(../images/rback.jpg);
background-position: center center;
background-repeat: repeat;
background-attachment: fixed;
}
2023-07-11 10:23:18 +00:00
#hot{
}
2023-07-11 07:06:27 +00:00
2023-07-11 10:23:18 +00:00
#hot h2{
2022-11-14 15:49:28 +00:00
color: #242734;
}
2023-07-11 03:46:23 +00:00
/* #hot h3 {font-size: 100%;} */
#hot h3 {
font-size: 12px;
font-weight: 700;
}
2023-07-11 10:23:18 +00:00
#hot h2 img{
2022-11-14 15:49:28 +00:00
height: 35px;
width: 40px;
}
2023-07-11 10:23:18 +00:00
#hot h2 p{
2022-11-14 15:49:28 +00:00
color: #FFFFFF;
border-top: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
}
2023-07-11 07:06:27 +00:00
2023-07-11 10:23:18 +00:00
#fall123{
2023-07-11 12:25:29 +00:00
width: 100% !important;
-moz-column-width:50% !important;
-webkit-column-width:50% !important;
column-width:50% !important;
-moz-column-count:2 !important;
-webkit-column-count:2 !important;
column-count: 2 !important;
2023-07-11 10:23:18 +00:00
-moz-column-gap:10px;
-webkit-column-gap:10px;
column-gap: 10px;
margin:0 auto;
2023-07-11 07:06:27 +00:00
}
2023-07-11 10:23:18 +00:00
#hot .room{
2023-07-11 07:06:27 +00:00
width: 100%;
margin-bottom: 20px;
/*margin-right: 2%;*/
2022-11-14 15:49:28 +00:00
background-color: #FFF;
2023-07-11 07:06:27 +00:00
/*float: left;*/
2022-11-14 15:49:28 +00:00
border: 1px solid #CCC;
2023-07-11 10:23:18 +00:00
-moz-break-inside: avoid;
-webkit-break-inside: avoid;
2023-07-11 07:06:27 +00:00
break-inside: avoid;
2022-11-14 15:49:28 +00:00
}
2023-07-11 07:06:27 +00:00
2023-07-11 10:23:18 +00:00
#hot .room:nth-child(2n){
2023-07-11 07:06:27 +00:00
/*float: right;
margin-right: 0%;*/
2022-11-14 15:49:28 +00:00
}
2023-07-11 10:23:18 +00:00
#hot .room .installation{
2022-11-14 15:49:28 +00:00
display: block;
}
2023-07-11 10:23:18 +00:00
#hot .room .installation li{
2022-11-14 15:49:28 +00:00
padding-top: 5px;
2023-07-11 10:23:18 +00:00
border-radius:5px;
2022-11-14 15:49:28 +00:00
}
2023-07-11 10:23:18 +00:00
#hot .roomimg{
height:342px;
2022-11-14 15:49:28 +00:00
position: relative;
2023-07-11 07:06:27 +00:00
overflow: hidden;
2022-11-14 15:49:28 +00:00
}
2023-07-11 10:23:18 +00:00
#hot .roomimg img{
height: 100%;
width: 100%;
height: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
}
#hot .ti{
2022-11-14 15:49:28 +00:00
width: 100%;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #CCC;
line-height: 40px;
margin-bottom: 10px;
padding-left: 15px;
font-weight: bold;
color: #000;
}
2023-07-11 10:23:18 +00:00
#hot .room .text{
2022-11-14 15:49:28 +00:00
/*overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;*/
font-size: 90%;
color: #666;
/*height: 80px;*/
margin-right: 15px;
margin-left: 15px;
padding-top: 0px;
padding-bottom: 15px;
}
/*#hot .tab_container{
margin-top: -50px;
}*/
.roomslick .slick-dots {
width: 100%;
text-align: center;
padding-left: 0;
position: absolute;
bottom: 8px;
}
.roomslick .slick-dots li {
display: inline-block;
border: 1px solid #fff;
width: 10px;
height: 10px;
border-radius: 50%;
margin: 0 5px;
}
.roomslick .slick-dots li.slick-active {
2023-07-11 10:23:18 +00:00
2022-11-14 15:49:28 +00:00
background-color: #fff;
}
.roomslick .slick-dots li button {
display: none;
}
.btn-style01 {
border-radius: 2px;
/*color: #242734;
border: 1px solid #242734;*/
background-color: #242734;
color: #fff;
display: block;
text-align: center;
width: 44%;
float: left;
margin: 15px 3%;
2023-07-11 10:23:18 +00:00
2022-11-14 15:49:28 +00:00
}
.btn-style01:hover {
2023-07-11 10:23:18 +00:00
background-color: #242734;
2022-11-14 15:49:28 +00:00
color: #fff;
border: 2px solid #242734;
}
.btn-style02 {
border-radius: 2px;
/*color: #2d366f;
border: 1px solid #2d366f;*/
background-color: #2d366f;
color: #fff;
display: block;
text-align: center;
width: 44%;
float: left;
margin: 15px 3%;
}
.btn-style02:hover {
2023-07-11 10:23:18 +00:00
background-color: #2d366f;
2022-11-14 15:49:28 +00:00
color: #fff;
border: 2px solid #2d366f;
}
@media (max-width: 1366px) {
2023-07-11 10:23:18 +00:00
#head-carousel .banner-L,#head-carousel .banner-L img{
height: 650px;
width: auto;
}}
2023-07-11 08:01:46 +00:00
@media (max-width: 1024px) {
2023-07-11 10:23:18 +00:00
#hot .roomimg{height:320px;}
#head-carousel .banner-L,#head-carousel .banner-L img{
height: 500px;
width: auto;
}
2022-11-14 15:49:28 +00:00
}
@media (max-width: 768px) {
2023-07-11 07:06:27 +00:00
2023-07-11 10:23:18 +00:00
#hot .room .installation{
margin: 10px 0px;
display: none;
2022-11-14 15:49:28 +00:00
}
2023-07-11 10:23:18 +00:00
#hot .room text{
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
2022-11-14 15:49:28 +00:00
}
2023-07-11 10:23:18 +00:00
#hot .roomimg{height: 240px;}
2023-07-11 08:01:46 +00:00
2023-07-11 10:23:18 +00:00
}
@media (max-width: 680px) {#hot .roomimg{height: 240px;}}
2022-11-14 15:49:28 +00:00
@media (max-width: 640px) {
2023-07-11 07:06:27 +00:00
2023-07-11 10:23:18 +00:00
#hot .room,#hot .room:nth-child(2n){
width: 100%;
margin: 0px 0% 20px 0%;
2022-11-14 15:49:28 +00:00
}
2023-07-11 10:23:18 +00:00
#hot .roomimg{
height: 150px;
position: relative;
overflow: hidden;
background-color: #D8D8D8;
}
}
@media (max-width: 320px) {#hot .roomimg{height: 190px;}}
.rooms_icon li img{
2022-11-14 15:49:28 +00:00
height: 40px;
2023-07-11 10:23:18 +00:00
2022-11-14 15:49:28 +00:00
color: #F00;
}
ul.rooms_icon {
2023-07-11 10:23:18 +00:00
display: table;
margin: 0 auto;
2023-07-11 08:01:46 +00:00
}
2023-07-11 10:23:18 +00:00
ul.rooms_icon li p{ font-size:80%}
.rooms_icon li{
2022-11-14 15:49:28 +00:00
text-align: center;
float: left;
/*width: 10%;*/
margin: 10px 5px;
/*border: 1px solid #CCC;
padding:5px;border-radius:3px;*/
}
@media screen and (max-width: 480px) {
2023-07-11 10:23:18 +00:00
.rooms_icon li{width: 18.4%;margin: 10px 2% 0px 0px;}
.rooms_icon li:nth-child(8n){margin-right: 2%;}
.rooms_icon li:nth-child(5n){margin-right: 0%;}
#head-carousel .banner-L,#head-carousel .banner-L img{
height: 650px;
width: auto;
}
2022-11-14 15:49:28 +00:00
}
@media screen and (max-width: 320px) {
2023-07-11 10:23:18 +00:00
.rooms_icon li{width: 23.5%;margin: 10px 2% 0px 0px;}
.rooms_icon li:nth-child(4n){margin-right: 0%;}
.rooms_icon li:nth-child(5n){margin-right: 2%;}
2022-11-14 15:49:28 +00:00
}
/*熱門房型 END*/
/**************** Google Translate widget ***********/
/* OVERRIDE GOOGLE TRANSLATE WIDGET CSS BEGIN */
2023-07-11 10:23:18 +00:00
div#google_translate_element div.goog-te-gadget-simple {
2022-11-14 15:49:28 +00:00
border: none;
background-attachment: scroll;
background-image: url(../images/box-googletranslate.png);
background-repeat: no-repeat;
background-position: left top;
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
width: 130px;
height: 31px;
font-size: 130%;
background-size: cover;
font-weight: bold;
font-family: "微軟正黑體";
2023-07-11 10:23:18 +00:00
color: #000;
}
2022-11-14 15:49:28 +00:00
2023-07-11 10:23:18 +00:00
#top div#google_translate_element div.goog-te-gadget-simple{line-height: 31px;}
2022-11-14 15:49:28 +00:00
2023-07-11 10:23:18 +00:00
div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value:hover {
text-decoration: none;
}
2022-11-14 15:49:28 +00:00
2023-07-11 10:23:18 +00:00
div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span {
2022-11-14 15:49:28 +00:00
color: #000;
2023-07-11 10:23:18 +00:00
padding-left: 25px;
}
div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span:hover {
color: #000;
}
.goog-te-gadget-icon {
display: none !important;
/*background: url("url for the icon") 0 0 no-repeat !important;*/
}
/* Remove the down arrow */
/* when dropdown open */
div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span[style="color: rgb(213, 213, 213);"] {
display: none;
}
/* after clicked/touched */
div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span[style="color: rgb(118, 118, 118);"] {
display: none;
}
/* on page load (not yet touched or clicked) */
div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span[style="color: rgb(155, 155, 155);"] {
display: none;
}
/* Remove span with left border line | (next to the arrow) in Chrome & Firefox */
div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span[style="border-left: 1px solid rgb(187, 187, 187);"] {
display: none;
}
/* Remove span with left border line | (next to the arrow) in Edge & IE11 */
div#google_translate_element div.goog-te-gadget-simple a.goog-te-menu-value span[style="border-left-color: rgb(187, 187, 187); border-left-width: 1px; border-left-style: solid;"] {
display: none;
}
/* HIDE the google translate toolbar */
.goog-te-banner-frame.skiptranslate {
display: none !important;
}
body {
top: 0px !important;
}
2022-11-14 15:49:28 +00:00
/* 圖片RWD */
2023-07-11 10:23:18 +00:00
.editor img{max-width:100%;height:auto;}
.editor>ol,.editor>ul {
list-style-type: disc; padding-left:20px
2022-11-14 15:49:28 +00:00
}
/* iframeRWD */
2023-07-11 10:23:18 +00:00
.editor iframe {width: 100% !important;}
2022-11-14 15:49:28 +00:00
/* 影片RWD */
2023-07-11 10:23:18 +00:00
.editor .video-container{
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
.editor .video-container iframe,
.editor .video-container object,
2022-11-14 15:49:28 +00:00
.editor .video-container embed {
2023-07-11 10:23:18 +00:00
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
2022-11-14 15:49:28 +00:00
}