GarGerry commited on
Commit
c2dab81
·
verified ·
1 Parent(s): ce7e52c

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +38 -41
style.css CHANGED
@@ -1,48 +1,49 @@
1
- /* General styling */
2
- body {
3
- font-family: Arial, sans-serif;
4
- background-color: #121212;
5
- color: white;
6
- margin: 0;
7
- padding: 0;
8
  display: flex;
9
- justify-content: center;
10
  align-items: center;
11
- height: 100vh;
12
- }
13
-
14
- .container {
15
- background-color: #1e1e1e;
16
- padding: 20px;
17
- border-radius: 10px;
18
- width: 100%;
19
- max-width: 600px;
20
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
21
  }
22
 
23
- header {
24
- text-align: center;
25
- margin-bottom: 20px;
26
  }
27
 
28
- h1 {
29
  color: white;
 
30
  }
31
 
32
- p {
33
  color: #a1a1a1;
34
  }
35
 
36
- .converter {
 
37
  text-align: center;
 
 
 
38
  }
39
 
40
- input, select {
41
- padding: 10px;
42
- margin: 10px 0;
43
- width: 100%;
44
- border-radius: 5px;
45
- border: 1px solid #ddd;
 
 
 
 
 
 
 
 
 
46
  }
47
 
48
  button {
@@ -52,21 +53,17 @@ button {
52
  border: none;
53
  border-radius: 5px;
54
  cursor: pointer;
55
- margin-top: 10px;
56
  }
57
 
58
  button:hover {
59
  background-color: #45a049;
60
  }
61
 
62
- #result {
63
- margin-top: 20px;
64
- font-size: 1.2em;
65
- }
66
-
67
- footer {
68
- text-align: center;
69
- margin-top: 20px;
70
- font-size: 0.9em;
71
- color: #a1a1a1;
72
  }
 
1
+ /* Styling untuk logo dan header */
2
+ header {
 
 
 
 
 
3
  display: flex;
 
4
  align-items: center;
5
+ justify-content: space-between;
6
+ padding: 20px 0;
7
+ text-align: center;
8
+ border-bottom: 1px solid #ddd;
 
 
 
 
 
 
9
  }
10
 
11
+ header .logo img {
12
+ width: 50px; /* Ukuran logo */
 
13
  }
14
 
15
+ header h1 {
16
  color: white;
17
+ font-size: 24px;
18
  }
19
 
20
+ header p {
21
  color: #a1a1a1;
22
  }
23
 
24
+ /* Styling footer */
25
+ footer {
26
  text-align: center;
27
+ margin-top: 20px;
28
+ font-size: 0.9em;
29
+ color: #a1a1a1;
30
  }
31
 
32
+ footer a {
33
+ color: #4CAF50;
34
+ text-decoration: none;
35
+ }
36
+
37
+ footer a:hover {
38
+ text-decoration: underline;
39
+ }
40
+
41
+ /* Adjusting layout for input and swap button */
42
+ .currency-select {
43
+ display: flex;
44
+ justify-content: space-between;
45
+ align-items: center;
46
+ gap: 10px;
47
  }
48
 
49
  button {
 
53
  border: none;
54
  border-radius: 5px;
55
  cursor: pointer;
 
56
  }
57
 
58
  button:hover {
59
  background-color: #45a049;
60
  }
61
 
62
+ /* Input fields and general layout */
63
+ input, select {
64
+ padding: 10px;
65
+ margin: 10px 0;
66
+ width: 100%;
67
+ border-radius: 5px;
68
+ border: 1px solid #ddd;
 
 
 
69
  }