GarGerry commited on
Commit
91bbfc3
·
verified ·
1 Parent(s): 4fbca64

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +37 -19
style.css CHANGED
@@ -1,28 +1,46 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
 
 
 
28
  }
 
1
+ /* Header section - Sesuaikan warna dan ukuran */
2
+ header h1 {
3
+ font-size: 2rem;
4
+ font-weight: bold;
5
+ color: #002d63; /* Warna biru tua */
6
  }
7
 
8
+ /* Currency selectors */
9
+ .currency-selectors {
10
+ display: flex;
11
+ justify-content: space-between; /* Agar dropdown tidak terlalu rapat */
12
+ align-items: center;
13
+ gap: 10px;
14
  }
15
 
16
+ span {
17
+ font-size: 16px; /* Ukuran teks 'to' */
18
+ font-weight: bold;
19
+ color: #555;
 
20
  }
21
 
22
+ /* Tombol Convert */
23
+ button {
24
+ padding: 15px;
25
+ background-color: #0056b3; /* Warna biru yang lebih gelap */
26
+ color: #ffffff;
27
+ border: none;
28
+ border-radius: 10px;
29
+ font-size: 18px;
30
+ font-weight: bold;
31
+ cursor: pointer;
32
+ transition: all 0.3s ease;
33
  }
34
 
35
+ button:hover {
36
+ background-color: #003d80; /* Warna hover lebih gelap */
37
+ }
38
+
39
+ /* Result box - Tambahan gaya */
40
+ #result {
41
+ font-size: 18px;
42
+ font-weight: bold;
43
+ color: #0056b3; /* Warna biru */
44
+ background-color: #eef6ff; /* Latar belakang biru muda */
45
+ border: 1px solid #d4eaff; /* Border biru muda */
46
  }