Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
/* Styling dasar untuk body */
|
| 2 |
body {
|
| 3 |
font-family: Arial, sans-serif;
|
| 4 |
margin: 0;
|
|
@@ -12,37 +11,36 @@ body {
|
|
| 12 |
overflow-y: auto;
|
| 13 |
}
|
| 14 |
|
| 15 |
-
/* Header
|
| 16 |
-
|
| 17 |
text-align: center;
|
| 18 |
-
margin-
|
| 19 |
-
padding:
|
| 20 |
}
|
| 21 |
|
| 22 |
-
/* Styling untuk header */
|
| 23 |
header h1 {
|
| 24 |
font-size: 32px;
|
| 25 |
-
color:
|
| 26 |
-
margin: 10px 0;
|
| 27 |
}
|
| 28 |
|
| 29 |
header p {
|
| 30 |
-
color: #777;
|
| 31 |
font-size: 16px;
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
-
/* Kontainer
|
| 35 |
.container {
|
| 36 |
width: 100%;
|
| 37 |
max-width: 800px;
|
| 38 |
-
background-color: #
|
| 39 |
border-radius: 30px;
|
| 40 |
padding: 20px;
|
| 41 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 42 |
margin-top: 20px;
|
| 43 |
}
|
| 44 |
|
| 45 |
-
/*
|
| 46 |
.currency-labels {
|
| 47 |
margin-bottom: 15px;
|
| 48 |
}
|
|
@@ -53,7 +51,7 @@ header p {
|
|
| 53 |
display: block;
|
| 54 |
}
|
| 55 |
|
| 56 |
-
/* Kotak input dan
|
| 57 |
input, select {
|
| 58 |
padding: 15px;
|
| 59 |
width: 100%;
|
|
@@ -65,7 +63,7 @@ input, select {
|
|
| 65 |
color: #333;
|
| 66 |
}
|
| 67 |
|
| 68 |
-
/* Tombol swap
|
| 69 |
button#swap-btn {
|
| 70 |
background-color: #4CAF50;
|
| 71 |
border: none;
|
|
@@ -101,7 +99,7 @@ button#convert-btn:hover {
|
|
| 101 |
background-color: #45a049;
|
| 102 |
}
|
| 103 |
|
| 104 |
-
/*
|
| 105 |
footer {
|
| 106 |
text-align: center;
|
| 107 |
margin-top: 20px;
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
font-family: Arial, sans-serif;
|
| 3 |
margin: 0;
|
|
|
|
| 11 |
overflow-y: auto;
|
| 12 |
}
|
| 13 |
|
| 14 |
+
/* Header */
|
| 15 |
+
header {
|
| 16 |
text-align: center;
|
| 17 |
+
margin-top: 20px;
|
| 18 |
+
padding: 10px;
|
| 19 |
}
|
| 20 |
|
|
|
|
| 21 |
header h1 {
|
| 22 |
font-size: 32px;
|
| 23 |
+
color: white;
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
header p {
|
|
|
|
| 27 |
font-size: 16px;
|
| 28 |
+
color: white;
|
| 29 |
+
margin-top: 5px;
|
| 30 |
}
|
| 31 |
|
| 32 |
+
/* Kontainer utama */
|
| 33 |
.container {
|
| 34 |
width: 100%;
|
| 35 |
max-width: 800px;
|
| 36 |
+
background-color: #fff; /* Warna putih */
|
| 37 |
border-radius: 30px;
|
| 38 |
padding: 20px;
|
| 39 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 40 |
margin-top: 20px;
|
| 41 |
}
|
| 42 |
|
| 43 |
+
/* Label dan input */
|
| 44 |
.currency-labels {
|
| 45 |
margin-bottom: 15px;
|
| 46 |
}
|
|
|
|
| 51 |
display: block;
|
| 52 |
}
|
| 53 |
|
| 54 |
+
/* Kotak input dan dropdown */
|
| 55 |
input, select {
|
| 56 |
padding: 15px;
|
| 57 |
width: 100%;
|
|
|
|
| 63 |
color: #333;
|
| 64 |
}
|
| 65 |
|
| 66 |
+
/* Tombol swap */
|
| 67 |
button#swap-btn {
|
| 68 |
background-color: #4CAF50;
|
| 69 |
border: none;
|
|
|
|
| 99 |
background-color: #45a049;
|
| 100 |
}
|
| 101 |
|
| 102 |
+
/* Footer */
|
| 103 |
footer {
|
| 104 |
text-align: center;
|
| 105 |
margin-top: 20px;
|