bnbweb/themes/vr/portal/css/style.css
2023-06-28 14:37:44 +08:00

199 lines
3.2 KiB
CSS

:root {
--color1: #0893d3;
--color2: #2d366f;
--color3: #242734;
--color4: #576585;
--color5: #eeeeee;
}
header {
display: block;
padding-top: 20px;
padding-left: 0;
padding-bottom: 10px;
animation: headerover .2s forwards ease-in-out;
}
select {
padding: 9px;
background: white;
border-radius: 5px;
border-color: var(--color5);
margin-right: 5px;
}
.dropdown {
margin-right: 5px;
}
header .dropdown button {
width: 100%;
cursor: pointer;
}
header .col-sm-auto {
padding: 0;
}
header::before {
display: none;
}
.btn-primary {
background-color: var(--color1);
border-color: var(--color1);
}
.dropdown-item:hover {
background: var(--color1);
color: white;
}
@media (max-width: 1024px) {
.pc {
display: none !important;
}
.mobile {
display: block;
}
header {
display: block;
position: relative;
padding-top: 60px;
}
header .container {
position: absolute;
width: 100%;
bottom: 5px;
}
header .logo {
width: 75px;
height: 55px;
display: block;
top: 10px;
left: 10px;
}
header .logo a {
text-indent: 0%
}
header .col-4 {
padding: 0;
}
.titleBox em {
font-size: 35px;
}
}
@media (max-width: 1180px) {
.hotelsArea ul {
display: flex;
flex-wrap: wrap;
}
.hotelsArea ul li,
.hotelsArea ul li:nth-child(odd) {
flex: 0 0 50%;
padding-left: 5px;
}
}
@media (max-width:768px) {
.hotelsArea ul li .item .Img .infobar .information {
padding: 10px;
}
.hotelsArea ul li .item .Img .infobar a.bookinglink,
.hotelsArea ul li .item .Img .infobar a.weblink {
padding: 10px;
}
.hotelsArea ul li .item .Img .infobar a.weblink::before,
.hotelsArea ul li .item .Img .infobar a.bookinglink::before {
display: none;
}
.linkList li .item {
padding: 3px;
}
}
@media (max-width:767px) {
header {
padding-top: 100px;
}
header .btn.btn-primary {
position: absolute;
top: -50px;
right: 5px;
}
.hotelsArea {
padding-bottom: 50px;
}
}
@media (max-width: 640px) {
#hot .roomimg {
height: 100px;
}
#hot .ti {
line-height: 25px;
padding: 10px;
}
#hot .room,
#hot .room:nth-child(2n) {
width: 47%;
margin: 5px;
}
.linkList li {
float: left;
width: 50%;
}
.rooms_icon li {
width: 100%;
margin: 5px;
}
.btn-style01,
.btn-style02 {
width: 47%;
margin: 2px;
padding: 5px;
font-size: 14px;
}
.linkList li .ad_info .date {
font-size: 14px;
}
.linkList li .ad_info {
padding: 10px;
}
}
@media (max-width:320px) {
header .dropdown button {
padding-left: 5px;
}
.dropdown {
margin-right: 0;
}
}