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

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +63 -19
style.css CHANGED
@@ -1,4 +1,25 @@
1
- /* Styling untuk logo dan header */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  header {
3
  display: flex;
4
  align-items: center;
@@ -21,7 +42,38 @@ header p {
21
  color: #a1a1a1;
22
  }
23
 
24
- /* Styling footer */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  footer {
26
  text-align: center;
27
  margin-top: 20px;
@@ -46,24 +98,16 @@ footer a:hover {
46
  gap: 10px;
47
  }
48
 
49
- button {
50
- background-color: #4CAF50;
51
- color: white;
52
- padding: 10px 20px;
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
  }
 
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
  display: flex;
25
  align-items: center;
 
42
  color: #a1a1a1;
43
  }
44
 
45
+ .converter {
46
+ text-align: center;
47
+ }
48
+
49
+ input, select {
50
+ padding: 10px;
51
+ margin: 10px 0;
52
+ width: 100%;
53
+ border-radius: 5px;
54
+ border: 1px solid #ddd;
55
+ }
56
+
57
+ button {
58
+ background-color: #4CAF50;
59
+ color: white;
60
+ padding: 10px 20px;
61
+ border: none;
62
+ border-radius: 5px;
63
+ cursor: pointer;
64
+ margin-top: 10px;
65
+ }
66
+
67
+ button:hover {
68
+ background-color: #45a049;
69
+ }
70
+
71
+ #result {
72
+ margin-top: 20px;
73
+ font-size: 1.2em;
74
+ }
75
+
76
+ /* Styling untuk footer */
77
  footer {
78
  text-align: center;
79
  margin-top: 20px;
 
98
  gap: 10px;
99
  }
100
 
101
+ /* Styling swap button */
102
+ button#swap-btn {
103
+ background-color: transparent;
104
+ border: 1px solid #4CAF50;
105
+ padding: 8px;
106
+ color: #4CAF50;
107
  cursor: pointer;
108
  }
109
 
110
+ button#swap-btn:hover {
111
+ background-color: #4CAF50;
112
+ color: white;
 
 
 
 
 
 
 
 
113
  }