217 lines
3.5 KiB
CSS
217 lines
3.5 KiB
CSS
:root {
|
|
--primary: #5B8C51;
|
|
--secondary: #EDDD5E;
|
|
--light: #F7F7F7;
|
|
--dark: #404A3D;
|
|
}
|
|
|
|
.back-to-top {
|
|
position: fixed;
|
|
display: none;
|
|
right: 30px;
|
|
bottom: 30px;
|
|
z-index: 99;
|
|
}
|
|
|
|
.fw-bold {
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
.fw-medium {
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.fw-semi-bold {
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
|
|
/*** Button ***/
|
|
|
|
.btn {
|
|
transition: .5s;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.tombol-utama,
|
|
.tombol-garis-utama:hover {
|
|
color: var(--light);
|
|
}
|
|
|
|
.tombol-kedua,
|
|
.tombol-garis-kedua:hover {
|
|
color: var(--dark);
|
|
}
|
|
|
|
.tombol-kotak {
|
|
width: 38px;
|
|
height: 38px;
|
|
}
|
|
|
|
.tombol-kotak-kecil {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.tombol-besar-square {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
|
|
.tombol-kotak,
|
|
.tombol-kotak-kecil,
|
|
.tombol-besar-square {
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: normal;
|
|
}
|
|
|
|
|
|
/*** Navbar ***/
|
|
|
|
.navbar.sticky-top {
|
|
top: -100px;
|
|
transition: .5s;
|
|
}
|
|
|
|
.navbar .navbar-nav .nav-link {
|
|
margin-right: 35px;
|
|
padding: 25px 0;
|
|
color: var(--dark);
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
outline: none;
|
|
}
|
|
|
|
.navbar .navbar-nav .nav-link:hover,
|
|
.navbar .navbar-nav .nav-link.active {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.navbar .dropdown-toggle::after {
|
|
border: none;
|
|
content: "\f107";
|
|
font-family: "Font Awesome 5 Free";
|
|
font-weight: 900;
|
|
vertical-align: middle;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
.navbar .navbar-nav .nav-link {
|
|
margin-right: 0;
|
|
padding: 10px 0;
|
|
}
|
|
.navbar .navbar-nav {
|
|
border-top: 1px solid #EEEEEE;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.navbar .nav-item .dropdown-menu {
|
|
display: block;
|
|
border: none;
|
|
margin-top: 0;
|
|
top: 150%;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: .5s;
|
|
}
|
|
.navbar .nav-item:hover .dropdown-menu {
|
|
top: 100%;
|
|
visibility: visible;
|
|
transition: .5s;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.halaman-atas {
|
|
background: url(../../foto/tembakau1.jpg) center center no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.halaman-atas .bagian-atas-item+.bagian-atas-item::before {
|
|
color: var(--light);
|
|
}
|
|
|
|
.halaman-atas .bagian-atas-item,
|
|
.halaman-atas .bagian-atas-item a {
|
|
font-size: 18px;
|
|
color: var(--light);
|
|
}
|
|
|
|
|
|
/*** Section Title ***/
|
|
|
|
.judul {
|
|
position: relative;
|
|
display: inline-block;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.judul::before {
|
|
position: absolute;
|
|
content: "";
|
|
width: calc(100% + 80px);
|
|
height: 2px;
|
|
top: 5px;
|
|
left: -40px;
|
|
background: var(--primary);
|
|
z-index: -1;
|
|
}
|
|
|
|
.judul::after {
|
|
position: absolute;
|
|
content: "";
|
|
width: calc(100% + 120px);
|
|
height: 2px;
|
|
bottom: 6px;
|
|
left: -60px;
|
|
background: var(--primary);
|
|
z-index: -1;
|
|
}
|
|
|
|
.judul.text-start::before {
|
|
width: calc(100% + 40px);
|
|
left: 0;
|
|
}
|
|
|
|
.judul.text-start::after {
|
|
width: calc(100% + 60px);
|
|
left: 0;
|
|
}
|
|
|
|
|
|
/*** Footer ***/
|
|
|
|
.footer {
|
|
color: #B0B9AE;
|
|
}
|
|
|
|
.footer .btn.btn-link {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
padding: 0;
|
|
text-align: left;
|
|
color: #B0B9AE;
|
|
font-weight: normal;
|
|
text-transform: capitalize;
|
|
transition: .3s;
|
|
}
|
|
|
|
.footer .btn.btn-link::before {
|
|
position: relative;
|
|
content: "\f105";
|
|
font-family: "Font Awesome 5 Free";
|
|
font-weight: 900;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.footer .btn.btn-link:hover {
|
|
color: var(--light);
|
|
letter-spacing: 1px;
|
|
box-shadow: none;
|
|
} |