WebisteDLH/wwwroot/css/landing-page.css

222 lines
4.1 KiB
CSS

.owl-carousel:not(.nav-arrows-1):not(.show-nav-title)
.owl-nav
button[class*="owl-"] {
background: rgba(255, 255, 255, 0.8);
color: black;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(2px);
transition: 300ms ease all;
}
.owl-carousel:not(.nav-arrows-1):not(.show-nav-title)
.owl-nav
button[class*="owl-"]:hover,
.owl-carousel:not(.nav-arrows-1):not(.show-nav-title)
.owl-nav
button[class*="owl-"].hover {
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.owl-carousel.nav-inside .owl-nav button.owl-next,
.owl-carousel.nav-inside .owl-nav button.owl-prev {
transform: scale(1.6);
}
.owl-carousel.nav-inside .owl-nav button.owl-next {
margin-right: 1rem;
}
.owl-carousel.nav-inside .owl-nav button.owl-prev {
margin-left: 1rem;
}
.owl-carousel.nav-inside .owl-nav button.owl-next:before,
.owl-carousel.nav-inside .owl-nav button.owl-prev:before {
font-size: 0.7rem;
}
.owl-theme .owl-nav [class*="owl-"] {
border-radius: 50%;
}
.owl-dots {
margin-top: 1rem;
transform: scale(1.4);
}
.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
background-color: var(--secondary);
}
.thumb-info.thumb-info-bottom-info-dark .thumb-info-title {
background: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(15px);
}
.berita .thumb-info-inner {
font-size: 1.4rem;
}
.baik div:nth-child(1) {
background-color: #90d272;
}
.baik div:nth-child(2) select{
color: #628d4f;
}
.baik div:nth-child(2),
.baik div:nth-child(3) {
background-color: #aded8f;
color: #628d4f;
}
.sedang div:nth-child(1) {
background-color: #4991c5;
}
.sedang div:nth-child(2) select{
color: #38719a;
}
.sedang div:nth-child(2),
.sedang div:nth-child(3) {
background-color: #6db9ef;
color: #38719a;
}
.tidak-sehat div:nth-child(1) {
background-color: #ffe382;
}
.tidak-sehat div:nth-child(2) select{
color: #797544;
}
.tidak-sehat div:nth-child(2),
.tidak-sehat div:nth-child(3) {
background-color: #fff78a;
color: #797544;
}
.sangat-tidak-sehat div:nth-child(1) {
background-color: #dc5a5a;
}
.sangat-tidak-sehat div:nth-child(2) select{
color: #7e4242;
}
.sangat-tidak-sehat div:nth-child(2),
.sangat-tidak-sehat div:nth-child(3) {
background-color: #ff8282;
color: #7e4242;
}
.berbahaya div:nth-child(1) {
background-color: #313131;
}
.berbahaya div:nth-child(2) select{
color: #444444;
}
.berbahaya div:nth-child(2),
.berbahaya div:nth-child(3) {
background-color: #444444;
color: #dedede;
}
#lokasi option{
color: #444444;
}
.logos {
overflow: hidden;
padding: 30px 0;
background: white;
white-space: nowrap;
position: relative;
}
.logos:before,
.logos:after {
position: absolute;
top: 0;
width: 50px;
height: 100%;
content: "";
z-index: 2;
user-select: none;
}
.logos:before {
left: 0;
background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}
.logos:after {
right: 0;
background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}
.logos-slide {
display: inline-block;
animation: 60s slide infinite linear;
}
.logos-slide img {
height: 60px;
margin: 0 30px;
filter: grayscale(1);
transition: 300ms ease all;
}
.logos-slide img:hover{
filter: grayscale(0);
}
.border-image-instagram{
background: #f09433;
background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}
@keyframes slide {
from {
transform: translateX(0);
}
to {
transform: translateX(-100%);
}
}
@media only screen and (max-width: 992px) {
.owl-dots {
transform: scale(1.3);
}
.berita .thumb-info-inner {
font-size: 0.85rem;
}
#lokasi{
font-size: .58rem!important;
}
.logos:before,
.logos:after {
width: 50px;
}
.logos-slide img {
height: 40px;
margin: 0 20px;
}
}