Update style.css
Browse files
style.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*
|
2 |
* {
|
3 |
margin: 0;
|
4 |
padding: 0;
|
@@ -7,7 +7,7 @@
|
|
7 |
|
8 |
body {
|
9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
10 |
-
background: linear-gradient(135deg, #
|
11 |
display: flex;
|
12 |
justify-content: center;
|
13 |
align-items: center;
|
@@ -21,93 +21,92 @@ body {
|
|
21 |
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
22 |
padding: 40px;
|
23 |
width: 100%;
|
24 |
-
max-width:
|
25 |
text-align: center;
|
26 |
-
margin: 0 20px;
|
27 |
}
|
28 |
|
29 |
header {
|
30 |
-
border-bottom: 2px solid #333;
|
31 |
-
padding-bottom: 15px;
|
32 |
margin-bottom: 20px;
|
33 |
}
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
input, select {
|
36 |
padding: 12px;
|
37 |
margin: 10px 0;
|
38 |
width: 100%;
|
39 |
font-size: 16px;
|
40 |
border-radius: 8px;
|
41 |
-
border: 1px solid #
|
42 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
43 |
-
transition:
|
44 |
}
|
45 |
|
46 |
input:focus, select:focus {
|
47 |
-
border:
|
48 |
outline: none;
|
49 |
-
box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
|
50 |
}
|
51 |
|
52 |
.currency-selectors {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
display: flex;
|
54 |
align-items: center;
|
55 |
gap: 10px;
|
56 |
}
|
57 |
|
58 |
#swapButton {
|
59 |
-
background-color: #
|
60 |
color: white;
|
61 |
border: none;
|
62 |
border-radius: 50%;
|
63 |
padding: 10px;
|
64 |
-
font-size: 16px;
|
65 |
cursor: pointer;
|
66 |
-
|
67 |
}
|
68 |
|
69 |
#swapButton:hover {
|
70 |
-
background-color: #
|
71 |
}
|
72 |
|
73 |
button {
|
74 |
-
padding: 12px
|
75 |
-
background-color: #
|
76 |
color: white;
|
77 |
border: none;
|
78 |
border-radius: 8px;
|
79 |
-
|
80 |
-
font-size: 18px;
|
81 |
-
font-weight: 600;
|
82 |
cursor: pointer;
|
83 |
transition: background-color 0.3s ease;
|
84 |
}
|
85 |
|
86 |
button:hover {
|
87 |
-
background-color: #
|
88 |
}
|
89 |
|
90 |
#result {
|
91 |
margin-top: 20px;
|
92 |
-
font-size:
|
93 |
font-weight: bold;
|
94 |
color: #333;
|
95 |
-
background-color: #
|
96 |
padding: 15px;
|
97 |
border-radius: 8px;
|
98 |
-
text-transform: uppercase;
|
99 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
100 |
}
|
101 |
|
102 |
footer {
|
103 |
-
border-top: 2px solid #333;
|
104 |
-
padding-top: 15px;
|
105 |
margin-top: 20px;
|
106 |
-
|
107 |
-
|
108 |
-
@media (max-width: 768px) {
|
109 |
-
.container {
|
110 |
-
padding: 30px;
|
111 |
-
max-width: 100%;
|
112 |
-
}
|
113 |
}
|
|
|
1 |
+
/* Reset styles */
|
2 |
* {
|
3 |
margin: 0;
|
4 |
padding: 0;
|
|
|
7 |
|
8 |
body {
|
9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
10 |
+
background: linear-gradient(135deg, #1E90FF, #87CEFA); /* Mirip dengan warna contoh */
|
11 |
display: flex;
|
12 |
justify-content: center;
|
13 |
align-items: center;
|
|
|
21 |
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
22 |
padding: 40px;
|
23 |
width: 100%;
|
24 |
+
max-width: 500px;
|
25 |
text-align: center;
|
|
|
26 |
}
|
27 |
|
28 |
header {
|
|
|
|
|
29 |
margin-bottom: 20px;
|
30 |
}
|
31 |
|
32 |
+
header h1 {
|
33 |
+
font-size: 24px;
|
34 |
+
color: #333;
|
35 |
+
font-weight: bold;
|
36 |
+
}
|
37 |
+
|
38 |
input, select {
|
39 |
padding: 12px;
|
40 |
margin: 10px 0;
|
41 |
width: 100%;
|
42 |
font-size: 16px;
|
43 |
border-radius: 8px;
|
44 |
+
border: 1px solid #ccc;
|
45 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
46 |
+
transition: border-color 0.3s;
|
47 |
}
|
48 |
|
49 |
input:focus, select:focus {
|
50 |
+
border-color: #1E90FF;
|
51 |
outline: none;
|
|
|
52 |
}
|
53 |
|
54 |
.currency-selectors {
|
55 |
+
display: flex;
|
56 |
+
justify-content: space-between;
|
57 |
+
align-items: center;
|
58 |
+
gap: 10px;
|
59 |
+
margin: 15px 0;
|
60 |
+
}
|
61 |
+
|
62 |
+
.selector-group {
|
63 |
display: flex;
|
64 |
align-items: center;
|
65 |
gap: 10px;
|
66 |
}
|
67 |
|
68 |
#swapButton {
|
69 |
+
background-color: #1E90FF;
|
70 |
color: white;
|
71 |
border: none;
|
72 |
border-radius: 50%;
|
73 |
padding: 10px;
|
|
|
74 |
cursor: pointer;
|
75 |
+
font-size: 16px;
|
76 |
}
|
77 |
|
78 |
#swapButton:hover {
|
79 |
+
background-color: #104E8B;
|
80 |
}
|
81 |
|
82 |
button {
|
83 |
+
padding: 12px;
|
84 |
+
background-color: #1E90FF;
|
85 |
color: white;
|
86 |
border: none;
|
87 |
border-radius: 8px;
|
88 |
+
font-size: 16px;
|
|
|
|
|
89 |
cursor: pointer;
|
90 |
transition: background-color 0.3s ease;
|
91 |
}
|
92 |
|
93 |
button:hover {
|
94 |
+
background-color: #104E8B;
|
95 |
}
|
96 |
|
97 |
#result {
|
98 |
margin-top: 20px;
|
99 |
+
font-size: 18px;
|
100 |
font-weight: bold;
|
101 |
color: #333;
|
102 |
+
background-color: #f8f8f8;
|
103 |
padding: 15px;
|
104 |
border-radius: 8px;
|
|
|
105 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
106 |
}
|
107 |
|
108 |
footer {
|
|
|
|
|
109 |
margin-top: 20px;
|
110 |
+
font-size: 14px;
|
111 |
+
color: #666;
|
|
|
|
|
|
|
|
|
|
|
112 |
}
|