Spaces:
Running
Running
/* Style untuk Navbar */ | |
.navbar { | |
background-color: #4CAF50; /* Hijau */ | |
padding: 10px; | |
text-align: center; | |
} | |
.navbar .logo { | |
width: 120px; /* Ukuran logo */ | |
height: auto; | |
} | |
/* Style untuk Headline */ | |
.headline { | |
text-align: center; | |
margin-top: 20px; | |
padding: 20px; | |
background-color: #f1f1f1; /* Latar belakang terang untuk headline */ | |
} | |
.headline h1 { | |
font-size: 36px; | |
color: #333; | |
} | |
.headline p { | |
font-size: 18px; | |
color: #666; | |
} | |
/* Style untuk Container dan Converter */ | |
.container { | |
margin-top: 30px; | |
padding: 20px; | |
text-align: center; | |
} | |
.converter { | |
margin-top: 20px; | |
display: inline-block; | |
background-color: #ffffff; | |
padding: 30px; | |
border-radius: 10px; | |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
} | |
/* Input dan select */ | |
label, select, input { | |
margin: 10px 0; | |
font-size: 16px; | |
} | |
input, select { | |
padding: 10px; | |
width: 200px; | |
font-size: 16px; | |
margin: 10px 0; | |
} | |
button { | |
background-color: #4CAF50; | |
color: white; | |
padding: 10px 20px; | |
border: none; | |
cursor: pointer; | |
font-size: 18px; | |
} | |
button:hover { | |
background-color: #45a049; | |
} | |
#result { | |
font-size: 18px; | |
margin-top: 20px; | |
color: #333; | |
} | |
/* Style untuk How to Use */ | |
.steps { | |
margin-top: 50px; | |
text-align: center; | |
padding: 20px; | |
background-color: #f9f9f9; | |
} | |
.steps h2 { | |
font-size: 30px; | |
color: #333; | |
} | |
.step-box { | |
background-color: #f1f1f1; | |
margin: 20px; | |
padding: 20px; | |
border-radius: 8px; | |
display: inline-block; | |
width: 30%; | |
text-align: left; | |
} | |
.step-box h3 { | |
font-size: 22px; | |
color: #333; | |
} | |
.step-box p { | |
font-size: 16px; | |
color: #666; | |
} | |
/* Responsif - Atur tampilan step-box agar stack secara vertikal pada layar kecil */ | |
@media (max-width: 768px) { | |
.step-box { | |
width: 100%; | |
margin: 10px 0; | |
} | |
} | |
/* Style untuk Footer */ | |
.footer { | |
background-color: #4CAF50; | |
padding: 20px; | |
text-align: center; | |
color: white; | |
font-size: 16px; | |
margin-top: 50px; | |
} | |
.footer p { | |
margin: 0; | |
} | |
/* Style untuk tombol convert */ | |
#convert-btn { | |
display: inline-block; | |
margin-top: 20px; | |
} |