Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
* {
|
2 |
margin: 0;
|
3 |
padding: 0;
|
@@ -6,7 +7,7 @@
|
|
6 |
|
7 |
body {
|
8 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
9 |
-
background: linear-gradient(135deg, #
|
10 |
display: flex;
|
11 |
justify-content: center;
|
12 |
align-items: center;
|
@@ -15,30 +16,26 @@ body {
|
|
15 |
position: relative;
|
16 |
}
|
17 |
|
|
|
18 |
.container {
|
19 |
background: #ffffff;
|
20 |
border-radius: 15px;
|
21 |
-
box-shadow: 0
|
22 |
padding: 40px;
|
23 |
width: 100%;
|
24 |
max-width: 600px;
|
25 |
text-align: center;
|
26 |
-
|
27 |
}
|
28 |
|
|
|
29 |
header {
|
30 |
-
|
31 |
-
|
32 |
-
padding: 10px 0;
|
33 |
-
border-radius: 8px;
|
34 |
margin-bottom: 20px;
|
35 |
}
|
36 |
|
37 |
-
|
38 |
-
font-size: 2rem;
|
39 |
-
color: #fff;
|
40 |
-
}
|
41 |
-
|
42 |
input, select {
|
43 |
padding: 12px;
|
44 |
margin: 10px 0;
|
@@ -48,21 +45,6 @@ input, select {
|
|
48 |
border: 1px solid #E0E0E0;
|
49 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
50 |
transition: all 0.3s ease;
|
51 |
-
appearance: none;
|
52 |
-
-webkit-appearance: none;
|
53 |
-
-moz-appearance: none;
|
54 |
-
background-color: #fff;
|
55 |
-
color: #555;
|
56 |
-
}
|
57 |
-
|
58 |
-
/* Styling dropdown pilihan */
|
59 |
-
select {
|
60 |
-
background-image: url('https://img.icons8.com/ios/452/down-squared.png');
|
61 |
-
background-repeat: no-repeat;
|
62 |
-
background-position: right 10px center;
|
63 |
-
background-size: 20px;
|
64 |
-
padding-right: 40px;
|
65 |
-
font-size: 16px;
|
66 |
}
|
67 |
|
68 |
input:focus, select:focus {
|
@@ -71,7 +53,7 @@ input:focus, select:focus {
|
|
71 |
box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
|
72 |
}
|
73 |
|
74 |
-
/*
|
75 |
.currency-selectors {
|
76 |
display: flex;
|
77 |
justify-content: center;
|
@@ -85,6 +67,7 @@ span {
|
|
85 |
color: #555;
|
86 |
}
|
87 |
|
|
|
88 |
button {
|
89 |
padding: 12px 20px;
|
90 |
background-color: #4CAF50;
|
@@ -102,6 +85,7 @@ button:hover {
|
|
102 |
background-color: #45a049;
|
103 |
}
|
104 |
|
|
|
105 |
#result {
|
106 |
margin-top: 20px;
|
107 |
font-size: 20px;
|
@@ -114,27 +98,20 @@ button:hover {
|
|
114 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
115 |
}
|
116 |
|
|
|
117 |
footer {
|
118 |
-
|
119 |
-
|
120 |
-
color: #fff;
|
121 |
-
text-align: center;
|
122 |
-
padding: 10px 0;
|
123 |
margin-top: 20px;
|
124 |
-
border-radius: 8px;
|
125 |
}
|
126 |
|
127 |
-
|
128 |
-
font-size: 14px;
|
129 |
-
}
|
130 |
-
|
131 |
-
/* Responsif untuk Mobile */
|
132 |
@media (max-width: 768px) {
|
133 |
.container {
|
134 |
padding: 30px;
|
135 |
max-width: 100%;
|
136 |
}
|
137 |
-
|
138 |
h1 {
|
139 |
font-size: 1.5rem;
|
140 |
}
|
@@ -148,7 +125,7 @@ footer p {
|
|
148 |
}
|
149 |
}
|
150 |
|
151 |
-
/*
|
152 |
@media (min-width: 769px) {
|
153 |
.container {
|
154 |
max-width: 700px;
|
|
|
1 |
+
/* Resetting and global 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, #D9E4EC, #F5F7FA); /* Soft gradient background */
|
11 |
display: flex;
|
12 |
justify-content: center;
|
13 |
align-items: center;
|
|
|
16 |
position: relative;
|
17 |
}
|
18 |
|
19 |
+
/* Container styles for the content */
|
20 |
.container {
|
21 |
background: #ffffff;
|
22 |
border-radius: 15px;
|
23 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Soft shadow for elevation */
|
24 |
padding: 40px;
|
25 |
width: 100%;
|
26 |
max-width: 600px;
|
27 |
text-align: center;
|
28 |
+
margin: 0 20px;
|
29 |
}
|
30 |
|
31 |
+
/* Header section */
|
32 |
header {
|
33 |
+
border-bottom: 2px solid #333; /* Header border */
|
34 |
+
padding-bottom: 15px;
|
|
|
|
|
35 |
margin-bottom: 20px;
|
36 |
}
|
37 |
|
38 |
+
/* Form styles */
|
|
|
|
|
|
|
|
|
39 |
input, select {
|
40 |
padding: 12px;
|
41 |
margin: 10px 0;
|
|
|
45 |
border: 1px solid #E0E0E0;
|
46 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
47 |
transition: all 0.3s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
input:focus, select:focus {
|
|
|
53 |
box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
|
54 |
}
|
55 |
|
56 |
+
/* Styling for currency selectors */
|
57 |
.currency-selectors {
|
58 |
display: flex;
|
59 |
justify-content: center;
|
|
|
67 |
color: #555;
|
68 |
}
|
69 |
|
70 |
+
/* Button styles */
|
71 |
button {
|
72 |
padding: 12px 20px;
|
73 |
background-color: #4CAF50;
|
|
|
85 |
background-color: #45a049;
|
86 |
}
|
87 |
|
88 |
+
/* Result box styles */
|
89 |
#result {
|
90 |
margin-top: 20px;
|
91 |
font-size: 20px;
|
|
|
98 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
99 |
}
|
100 |
|
101 |
+
/* Footer section styles */
|
102 |
footer {
|
103 |
+
border-top: 2px solid #333; /* Footer border */
|
104 |
+
padding-top: 15px;
|
|
|
|
|
|
|
105 |
margin-top: 20px;
|
|
|
106 |
}
|
107 |
|
108 |
+
/* Responsiveness for mobile screens */
|
|
|
|
|
|
|
|
|
109 |
@media (max-width: 768px) {
|
110 |
.container {
|
111 |
padding: 30px;
|
112 |
max-width: 100%;
|
113 |
}
|
114 |
+
|
115 |
h1 {
|
116 |
font-size: 1.5rem;
|
117 |
}
|
|
|
125 |
}
|
126 |
}
|
127 |
|
128 |
+
/* Responsiveness for larger screens */
|
129 |
@media (min-width: 769px) {
|
130 |
.container {
|
131 |
max-width: 700px;
|