File size: 3,073 Bytes
258b2cc 05d1a10 d58e1b4 05d1a10 d58e1b4 d6587f8 d58e1b4 05d1a10 d6587f8 05d1a10 d6587f8 d58e1b4 05d1a10 258b2cc d6587f8 258b2cc 680fcd9 d6587f8 13c110b d6587f8 258b2cc d6587f8 13c110b 258b2cc a9f1847 e4c33bc 25aafa1 d6587f8 258b2cc 680fcd9 13c110b 05d1a10 91bbfc3 258b2cc 13c110b 680fcd9 13c110b a15fcdc d6587f8 a15fcdc 680fcd9 a15fcdc d58e1b4 258b2cc 25aafa1 13c110b 5b22fad d6587f8 5b22fad a9f1847 d6587f8 5b22fad 9cd7849 25aafa1 13c110b 4fbca64 a15fcdc d6587f8 a15fcdc d6587f8 a15fcdc a9f1847 e4c33bc d6587f8 05d1a10 91bbfc3 d6587f8 91bbfc3 680fcd9 d6587f8 4fbca64 a9f1847 d6587f8 91bbfc3 25aafa1 d6587f8 258b2cc 680fcd9 25aafa1 e4c33bc d6587f8 e4c33bc d6587f8 e4c33bc d6587f8 e4c33bc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
/* Reset styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #001F3F; /* Background biru tua */
display: flex;
justify-content: center;
align-items: flex-start; /* Posisi atas */
min-height: 100vh;
padding: 20px;
overflow-y: auto; /* Mengaktifkan scroll vertikal */
}
.container {
background: #ffffff;
border-radius: 20px; /* Lebih besar untuk desain modern */
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); /* Bayangan lebih tegas */
padding: 40px; /* Padding lebih besar */
width: 100%;
max-width: 600px; /* Lebih besar */
margin-bottom: 20px; /* Jarak antar container */
}
header h1 {
font-size: 28px; /* Ukuran font header lebih besar */
color: #333;
text-align: center;
margin-bottom: 30px;
}
label {
display: block;
font-size: 16px;
font-weight: bold;
margin-bottom: 8px;
color: #555;
}
input {
padding: 15px;
width: 100%;
font-size: 18px; /* Font input lebih besar */
border-radius: 10px;
border: 1px solid #ccc;
margin-bottom: 20px;
text-align: center;
font-weight: bold;
}
.currency-selectors {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
.input-group select {
padding: 15px;
font-size: 16px;
border-radius: 10px;
border: 1px solid #ccc;
width: 100%;
}
.swap-group {
display: flex;
justify-content: center;
margin: -40px 0 20px 0; /* Geser tombol swap ke atas container */
position: relative; /* Agar posisi tetap di atas */
z-index: 1; /* Prioritaskan swap button di atas */
}
#swapButton {
background-color: #ffffff;
color: #007BFF;
border: 2px solid #ccc;
border-radius: 50%;
width: 60px; /* Lebih besar */
height: 60px; /* Lebih besar */
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
font-size: 22px; /* Ukuran font lebih besar */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
}
#swapButton:hover {
background-color: #f1f1f1;
}
.result-box {
margin-top: 20px;
font-size: 18px; /* Font lebih besar */
font-weight: bold;
color: #333;
background-color: #f8f8f8;
padding: 20px;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
button[type="submit"] {
padding: 15px;
background-color: #00BFFF; /* Warna biru langit */
color: white;
border: none;
border-radius: 10px;
font-size: 18px; /* Font lebih besar */
cursor: pointer;
width: 100%;
transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
background-color: #1E90FF; /* Warna biru hover */
}
footer {
margin-top: 30px;
font-size: 14px;
color: #666;
text-align: center;
}
/* Responsiveness */
@media (max-width: 768px) {
.container {
padding: 30px;
max-width: 95%;
}
#swapButton {
width: 50px;
height: 50px;
font-size: 20px;
}
}
@media (min-width: 769px) {
.container {
max-width: 700px; /* Ukuran lebih besar untuk desktop */
}
}
|