gaialive's picture
Upload 109 files
65bffa4 verified
.header {
position: fixed;
top: 0;
width: 100%;
padding: 2rem;
z-index: 1000;
align-items: center;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
background-color: #090909;
padding: 10px;
border-radius: 17px;
}
.logo img {
height: 30px; /* Adjust this value to match your logo's height */
width: auto;
}
.header nav ul {
list-style-type: none;
display: flex;
gap: 5rem;
margin: 0;
padding: 0;
}
.header nav ul li a {
color: white;
text-decoration: none;
font-weight: 500;
}
.connect-wallet, .wallet-address, .disconnect-wallet {
padding: 0.5rem 1rem; /* Sama untuk keduanya */
font-size: 15px; /* Sesuaikan ukuran font biar sama */
border-radius: 10px;
display: inline-block;
line-height: 1.5; /* Atur line-height supaya tinggi teksnya sesuai */
cursor: pointer;
}
.connect-wallet {
background-color: #003D6D;
color: white;
border: none;
}
.wallet-address {
background-color: #003D6D;
color: white;
font-weight: bold;
}
.disconnect-wallet {
background-color: #75140d; /* red */
color: white;
border: none;
}
.main-content {
padding-top: 100px; /* Adjust this value based on the height of your header */
}
/* Modal Overlay */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.75); /* Warna hitam transparan untuk background */
display: flex;
justify-content: center;
align-items: center;
z-index: 1001; /* Lebih tinggi dari header */
}
/* Modal Content */
.modal {
background: #fff;
border-radius: 10px;
padding: 2rem;
width: 90%;
max-width: 400px; /* Batas lebar modal */
text-align: center;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
.modal h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #333;
}
.modal p {
font-size: 1rem;
margin-bottom: 1.5rem;
color: #555;
}
/* Modal Buttons */
.modal-buttons {
display: flex;
justify-content: space-around;
}
.modal-confirm, .modal-cancel {
padding: 0.5rem 1rem;
font-size: 1rem;
border-radius: 10px;
cursor: pointer;
transition: all 0.3s ease;
}
.modal-confirm {
background-color: #75140d; /* Warna merah untuk tombol konfirmasi */
color: #fff;
border: none;
}
.modal-confirm:hover {
background-color: #a32a1c;
}
.modal-cancel {
background-color: #ddd;
color: #333;
border: none;
}
.modal-cancel:hover {
background-color: #ccc;
}