Update style.css
Browse files
style.css
CHANGED
@@ -1,112 +1,75 @@
|
|
1 |
-
/*
|
2 |
-
|
|
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
-
box-sizing: border-box;
|
6 |
-
}
|
7 |
-
|
8 |
-
body {
|
9 |
-
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
10 |
-
background: #001F3F; /* Background biru tua */
|
11 |
display: flex;
|
12 |
justify-content: center;
|
13 |
-
align-items:
|
14 |
min-height: 100vh;
|
15 |
-
|
16 |
-
overflow-y: auto; /* Scroll vertikal */
|
17 |
}
|
18 |
|
19 |
.container {
|
20 |
-
background:
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
width: 100%;
|
25 |
-
max-width:
|
26 |
-
margin-bottom: 20px;
|
27 |
}
|
28 |
|
|
|
29 |
header h1 {
|
30 |
-
font-size: 28px;
|
31 |
-
color: #333;
|
32 |
text-align: center;
|
33 |
-
margin-bottom:
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
}
|
35 |
|
36 |
label {
|
37 |
display: block;
|
38 |
-
font-size: 16px;
|
39 |
-
font-weight: bold;
|
40 |
margin-bottom: 8px;
|
41 |
color: #555;
|
42 |
}
|
43 |
|
44 |
-
input {
|
45 |
-
padding: 15px;
|
46 |
width: 100%;
|
47 |
-
|
48 |
-
border-radius: 10px;
|
49 |
-
border: 1px solid #ccc;
|
50 |
-
margin-bottom: 20px;
|
51 |
-
text-align: center;
|
52 |
-
font-weight: bold;
|
53 |
-
}
|
54 |
-
|
55 |
-
.currency-selectors {
|
56 |
-
display: flex;
|
57 |
-
align-items: center;
|
58 |
-
justify-content: space-between;
|
59 |
-
margin-bottom: 20px;
|
60 |
-
}
|
61 |
-
|
62 |
-
.input-group select {
|
63 |
-
padding: 15px;
|
64 |
font-size: 16px;
|
65 |
-
border
|
66 |
-
border:
|
67 |
-
width: 100%;
|
68 |
}
|
69 |
|
|
|
70 |
.swap-group {
|
71 |
-
|
72 |
-
|
73 |
-
margin: 20px 0;
|
74 |
}
|
75 |
|
76 |
#swapButton {
|
77 |
-
background-color: #
|
78 |
-
|
79 |
-
border: 2px solid #ccc;
|
80 |
border-radius: 50%;
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
justify-content: center;
|
85 |
-
align-items: center;
|
86 |
cursor: pointer;
|
87 |
-
|
88 |
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
89 |
transition: background-color 0.3s ease;
|
90 |
}
|
91 |
|
92 |
#swapButton:hover {
|
93 |
-
background-color: #
|
94 |
-
}
|
95 |
-
|
96 |
-
.result-box {
|
97 |
-
margin-top: 20px;
|
98 |
-
font-size: 18px;
|
99 |
-
font-weight: bold;
|
100 |
-
color: #333;
|
101 |
-
background-color: #f8f8f8;
|
102 |
-
padding: 20px;
|
103 |
-
border-radius: 10px;
|
104 |
-
text-align: center;
|
105 |
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
106 |
}
|
107 |
|
108 |
-
|
109 |
-
|
|
|
110 |
border: none;
|
111 |
border-radius: 8px;
|
112 |
padding: 12px 20px;
|
@@ -114,54 +77,31 @@ input {
|
|
114 |
color: white;
|
115 |
font-weight: bold;
|
116 |
cursor: pointer;
|
117 |
-
|
|
|
118 |
transition: background-color 0.3s ease;
|
119 |
}
|
120 |
|
121 |
-
|
122 |
-
background-color: #5faad7;
|
123 |
}
|
124 |
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
|
|
|
|
129 |
text-align: center;
|
|
|
|
|
|
|
130 |
}
|
131 |
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
input {
|
139 |
-
font-size: 16px;
|
140 |
-
}
|
141 |
-
|
142 |
-
select {
|
143 |
-
font-size: 14px;
|
144 |
-
padding: 12px;
|
145 |
-
}
|
146 |
-
|
147 |
-
#swapButton {
|
148 |
-
width: 50px;
|
149 |
-
height: 50px;
|
150 |
-
font-size: 20px;
|
151 |
-
}
|
152 |
-
|
153 |
-
#convertButton {
|
154 |
-
font-size: 16px;
|
155 |
-
padding: 12px;
|
156 |
-
}
|
157 |
-
|
158 |
-
header h1 {
|
159 |
-
font-size: 24px;
|
160 |
-
}
|
161 |
-
}
|
162 |
-
|
163 |
-
@media (min-width: 769px) {
|
164 |
-
.container {
|
165 |
-
max-width: 700px;
|
166 |
-
}
|
167 |
}
|
|
|
1 |
+
/* General */
|
2 |
+
body {
|
3 |
+
font-family: Arial, sans-serif;
|
4 |
margin: 0;
|
5 |
padding: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
display: flex;
|
7 |
justify-content: center;
|
8 |
+
align-items: center;
|
9 |
min-height: 100vh;
|
10 |
+
background-color: #f5f5f5;
|
|
|
11 |
}
|
12 |
|
13 |
.container {
|
14 |
+
background: white;
|
15 |
+
padding: 20px;
|
16 |
+
border-radius: 8px;
|
17 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
18 |
width: 100%;
|
19 |
+
max-width: 400px;
|
|
|
20 |
}
|
21 |
|
22 |
+
/* Header */
|
23 |
header h1 {
|
|
|
|
|
24 |
text-align: center;
|
25 |
+
margin-bottom: 20px;
|
26 |
+
color: #333;
|
27 |
+
}
|
28 |
+
|
29 |
+
/* Form Groups */
|
30 |
+
.form-group {
|
31 |
+
margin-bottom: 15px;
|
32 |
}
|
33 |
|
34 |
label {
|
35 |
display: block;
|
|
|
|
|
36 |
margin-bottom: 8px;
|
37 |
color: #555;
|
38 |
}
|
39 |
|
40 |
+
input, select {
|
|
|
41 |
width: 100%;
|
42 |
+
padding: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
font-size: 16px;
|
44 |
+
border: 1px solid #ddd;
|
45 |
+
border-radius: 4px;
|
|
|
46 |
}
|
47 |
|
48 |
+
/* Swap Button */
|
49 |
.swap-group {
|
50 |
+
text-align: center;
|
51 |
+
margin: 15px 0;
|
|
|
52 |
}
|
53 |
|
54 |
#swapButton {
|
55 |
+
background-color: #87CEFA; /* Biru Langit */
|
56 |
+
border: none;
|
|
|
57 |
border-radius: 50%;
|
58 |
+
padding: 10px;
|
59 |
+
font-size: 18px;
|
60 |
+
color: white;
|
|
|
|
|
61 |
cursor: pointer;
|
62 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
|
63 |
transition: background-color 0.3s ease;
|
64 |
}
|
65 |
|
66 |
#swapButton:hover {
|
67 |
+
background-color: #5faad7; /* Biru Langit Gelap */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
}
|
69 |
|
70 |
+
/* Convert Button */
|
71 |
+
.convert-button {
|
72 |
+
background-color: #87CEFA;
|
73 |
border: none;
|
74 |
border-radius: 8px;
|
75 |
padding: 12px 20px;
|
|
|
77 |
color: white;
|
78 |
font-weight: bold;
|
79 |
cursor: pointer;
|
80 |
+
width: 100%;
|
81 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
82 |
transition: background-color 0.3s ease;
|
83 |
}
|
84 |
|
85 |
+
.convert-button:hover {
|
86 |
+
background-color: #5faad7;
|
87 |
}
|
88 |
|
89 |
+
/* Result Box */
|
90 |
+
.result-box {
|
91 |
+
margin-top: 15px;
|
92 |
+
padding: 10px;
|
93 |
+
font-size: 16px;
|
94 |
+
color: #333;
|
95 |
text-align: center;
|
96 |
+
background-color: #f9f9f9;
|
97 |
+
border: 1px solid #ddd;
|
98 |
+
border-radius: 4px;
|
99 |
}
|
100 |
|
101 |
+
/* Footer */
|
102 |
+
footer {
|
103 |
+
text-align: center;
|
104 |
+
margin-top: 20px;
|
105 |
+
font-size: 14px;
|
106 |
+
color: #aaa;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
}
|