Update style.css
Browse files
style.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
|
| 8 |
body {
|
| 9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 10 |
-
background: linear-gradient(135deg, #
|
| 11 |
display: flex;
|
| 12 |
justify-content: center;
|
| 13 |
align-items: center;
|
|
@@ -20,8 +20,8 @@ body {
|
|
| 20 |
.container {
|
| 21 |
background: #ffffff;
|
| 22 |
border-radius: 15px;
|
| 23 |
-
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /*
|
| 24 |
-
padding:
|
| 25 |
width: 100%;
|
| 26 |
max-width: 450px;
|
| 27 |
text-align: center;
|
|
@@ -31,14 +31,14 @@ body {
|
|
| 31 |
/* Header section */
|
| 32 |
header h1 {
|
| 33 |
font-size: 1.8rem;
|
| 34 |
-
font-weight:
|
| 35 |
-
color: #001d4a;
|
| 36 |
-
margin-bottom:
|
| 37 |
}
|
| 38 |
|
| 39 |
header p {
|
| 40 |
font-size: 0.9rem;
|
| 41 |
-
color: #555;
|
| 42 |
margin-bottom: 20px;
|
| 43 |
}
|
| 44 |
|
|
@@ -52,7 +52,6 @@ input {
|
|
| 52 |
border: 1px solid #e0e0e0;
|
| 53 |
border-radius: 8px;
|
| 54 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
| 55 |
-
transition: all 0.3s ease;
|
| 56 |
}
|
| 57 |
|
| 58 |
select {
|
|
@@ -63,28 +62,43 @@ select {
|
|
| 63 |
border: 1px solid #e0e0e0;
|
| 64 |
border-radius: 8px;
|
| 65 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
| 66 |
-
transition: all 0.3s ease;
|
| 67 |
}
|
| 68 |
|
| 69 |
-
/*
|
| 70 |
.currency-selectors {
|
| 71 |
display: flex;
|
| 72 |
align-items: center;
|
| 73 |
-
justify-content:
|
| 74 |
gap: 10px;
|
| 75 |
margin-bottom: 15px;
|
| 76 |
}
|
| 77 |
|
| 78 |
-
.currency-selectors
|
| 79 |
-
|
| 80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
}
|
| 83 |
|
| 84 |
/* Button styles */
|
| 85 |
button {
|
| 86 |
width: 100%;
|
| 87 |
-
background-color: #
|
| 88 |
color: white;
|
| 89 |
padding: 12px;
|
| 90 |
font-size: 18px;
|
|
|
|
| 7 |
|
| 8 |
body {
|
| 9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 10 |
+
background: linear-gradient(135deg, #001d4a, #04396e); /* Warna gradien biru gelap */
|
| 11 |
display: flex;
|
| 12 |
justify-content: center;
|
| 13 |
align-items: center;
|
|
|
|
| 20 |
.container {
|
| 21 |
background: #ffffff;
|
| 22 |
border-radius: 15px;
|
| 23 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Bayangan */
|
| 24 |
+
padding: 30px;
|
| 25 |
width: 100%;
|
| 26 |
max-width: 450px;
|
| 27 |
text-align: center;
|
|
|
|
| 31 |
/* Header section */
|
| 32 |
header h1 {
|
| 33 |
font-size: 1.8rem;
|
| 34 |
+
font-weight: bold;
|
| 35 |
+
color: #001d4a;
|
| 36 |
+
margin-bottom: 10px;
|
| 37 |
}
|
| 38 |
|
| 39 |
header p {
|
| 40 |
font-size: 0.9rem;
|
| 41 |
+
color: #555;
|
| 42 |
margin-bottom: 20px;
|
| 43 |
}
|
| 44 |
|
|
|
|
| 52 |
border: 1px solid #e0e0e0;
|
| 53 |
border-radius: 8px;
|
| 54 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
|
|
|
| 55 |
}
|
| 56 |
|
| 57 |
select {
|
|
|
|
| 62 |
border: 1px solid #e0e0e0;
|
| 63 |
border-radius: 8px;
|
| 64 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
|
|
|
| 65 |
}
|
| 66 |
|
| 67 |
+
/* Currency selectors with swap button */
|
| 68 |
.currency-selectors {
|
| 69 |
display: flex;
|
| 70 |
align-items: center;
|
| 71 |
+
justify-content: space-between;
|
| 72 |
gap: 10px;
|
| 73 |
margin-bottom: 15px;
|
| 74 |
}
|
| 75 |
|
| 76 |
+
.currency-selectors select {
|
| 77 |
+
width: 45%;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.swap-button {
|
| 81 |
+
display: flex;
|
| 82 |
+
align-items: center;
|
| 83 |
+
justify-content: center;
|
| 84 |
+
background-color: #1e90ff;
|
| 85 |
+
color: #ffffff;
|
| 86 |
+
border: none;
|
| 87 |
+
border-radius: 50%;
|
| 88 |
+
width: 40px;
|
| 89 |
+
height: 40px;
|
| 90 |
cursor: pointer;
|
| 91 |
+
transition: background-color 0.3s ease;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.swap-button:hover {
|
| 95 |
+
background-color: #1c7ed6;
|
| 96 |
}
|
| 97 |
|
| 98 |
/* Button styles */
|
| 99 |
button {
|
| 100 |
width: 100%;
|
| 101 |
+
background-color: #4CAF50;
|
| 102 |
color: white;
|
| 103 |
padding: 12px;
|
| 104 |
font-size: 18px;
|