Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -9,26 +9,17 @@ body {
|
|
9 |
justify-content: center;
|
10 |
align-items: flex-start;
|
11 |
height: 100vh;
|
12 |
-
overflow-y: auto;
|
13 |
}
|
14 |
|
15 |
-
/*
|
16 |
-
.container {
|
17 |
-
width: 100%;
|
18 |
-
max-width: 800px;
|
19 |
-
background-color: #ffffff;
|
20 |
-
border-radius: 30px; /* Membuat sudut melengkung */
|
21 |
-
padding: 20px;
|
22 |
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
23 |
-
margin-top: 20px;
|
24 |
-
}
|
25 |
-
|
26 |
-
/* Styling untuk header */
|
27 |
-
header {
|
28 |
text-align: center;
|
29 |
margin-bottom: 20px;
|
|
|
30 |
}
|
31 |
|
|
|
32 |
header h1 {
|
33 |
font-size: 32px;
|
34 |
color: #4CAF50; /* Hijau untuk header */
|
@@ -40,6 +31,17 @@ header p {
|
|
40 |
font-size: 16px;
|
41 |
}
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
/* Styling untuk label dan input */
|
44 |
.currency-labels {
|
45 |
margin-bottom: 15px;
|
@@ -55,7 +57,7 @@ header p {
|
|
55 |
input, select {
|
56 |
padding: 15px;
|
57 |
width: 100%;
|
58 |
-
max-width: 380px;
|
59 |
margin-bottom: 20px;
|
60 |
border-radius: 8px;
|
61 |
border: 1px solid #ddd;
|
@@ -65,7 +67,7 @@ input, select {
|
|
65 |
|
66 |
/* Tombol swap dengan model baru */
|
67 |
button#swap-btn {
|
68 |
-
background-color: #4CAF50;
|
69 |
border: none;
|
70 |
padding: 12px;
|
71 |
color: white;
|
@@ -82,18 +84,6 @@ button#swap-btn:hover {
|
|
82 |
background-color: #45a049;
|
83 |
}
|
84 |
|
85 |
-
/* Styling dropdown agar lebih modern */
|
86 |
-
select {
|
87 |
-
-webkit-appearance: none;
|
88 |
-
-moz-appearance: none;
|
89 |
-
appearance: none;
|
90 |
-
padding-right: 30px;
|
91 |
-
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-caret-down-fill" viewBox="0 0 16 16%3E%3Cpath d="M3.646 5.646a.5.5 0 0 1 .708 0L8 9.293l3.646-3.647a.5.5 0 1 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708z"/%3E%3C/svg%3E');
|
92 |
-
background-position: right 10px center;
|
93 |
-
background-repeat: no-repeat;
|
94 |
-
background-size: 12px;
|
95 |
-
}
|
96 |
-
|
97 |
/* Tombol Convert */
|
98 |
button#convert-btn {
|
99 |
background-color: #4CAF50;
|
|
|
9 |
justify-content: center;
|
10 |
align-items: flex-start;
|
11 |
height: 100vh;
|
12 |
+
overflow-y: auto;
|
13 |
}
|
14 |
|
15 |
+
/* Header terpisah */
|
16 |
+
.header-container {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
text-align: center;
|
18 |
margin-bottom: 20px;
|
19 |
+
padding: 20px;
|
20 |
}
|
21 |
|
22 |
+
/* Styling untuk header */
|
23 |
header h1 {
|
24 |
font-size: 32px;
|
25 |
color: #4CAF50; /* Hijau untuk header */
|
|
|
31 |
font-size: 16px;
|
32 |
}
|
33 |
|
34 |
+
/* Kontainer dengan warna yang lebih lembut */
|
35 |
+
.container {
|
36 |
+
width: 100%;
|
37 |
+
max-width: 800px;
|
38 |
+
background-color: #f9f9f9; /* Warna putih yang lebih lembut */
|
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 |
/* Styling untuk label dan input */
|
46 |
.currency-labels {
|
47 |
margin-bottom: 15px;
|
|
|
57 |
input, select {
|
58 |
padding: 15px;
|
59 |
width: 100%;
|
60 |
+
max-width: 380px;
|
61 |
margin-bottom: 20px;
|
62 |
border-radius: 8px;
|
63 |
border: 1px solid #ddd;
|
|
|
67 |
|
68 |
/* Tombol swap dengan model baru */
|
69 |
button#swap-btn {
|
70 |
+
background-color: #4CAF50;
|
71 |
border: none;
|
72 |
padding: 12px;
|
73 |
color: white;
|
|
|
84 |
background-color: #45a049;
|
85 |
}
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
/* Tombol Convert */
|
88 |
button#convert-btn {
|
89 |
background-color: #4CAF50;
|