GarGerry commited on
Commit
ee21f6e
·
verified ·
1 Parent(s): c3b15d4

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +36 -18
style.css CHANGED
@@ -1,4 +1,3 @@
1
- /* Resetting and global styles */
2
  * {
3
  margin: 0;
4
  padding: 0;
@@ -7,7 +6,7 @@
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,26 +15,25 @@ body {
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,6 +43,21 @@ input, select {
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,7 +66,7 @@ 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,7 +80,6 @@ span {
67
  color: #555;
68
  }
69
 
70
- /* Button styles */
71
  button {
72
  padding: 12px 20px;
73
  background-color: #4CAF50;
@@ -85,7 +97,6 @@ button:hover {
85
  background-color: #45a049;
86
  }
87
 
88
- /* Result box styles */
89
  #result {
90
  margin-top: 20px;
91
  font-size: 20px;
@@ -98,20 +109,27 @@ button:hover {
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,7 +143,7 @@ footer {
125
  }
126
  }
127
 
128
- /* Responsiveness for larger screens */
129
  @media (min-width: 769px) {
130
  .container {
131
  max-width: 700px;
 
 
1
  * {
2
  margin: 0;
3
  padding: 0;
 
6
 
7
  body {
8
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
+ background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
10
  display: flex;
11
  justify-content: center;
12
  align-items: center;
 
15
  position: relative;
16
  }
17
 
 
18
  .container {
19
  background: #ffffff;
20
  border-radius: 15px;
21
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
22
  padding: 40px;
23
  width: 100%;
24
  max-width: 600px;
25
  text-align: center;
26
+ position: relative;
27
  margin: 0 20px;
28
  }
29
 
30
+ h1 {
31
+ font-size: 2rem;
 
 
32
  margin-bottom: 20px;
33
+ color: #2D3A3A;
34
+ font-weight: 600;
35
  }
36
 
 
37
  input, select {
38
  padding: 12px;
39
  margin: 10px 0;
 
43
  border: 1px solid #E0E0E0;
44
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
45
  transition: all 0.3s ease;
46
+ appearance: none;
47
+ -webkit-appearance: none;
48
+ -moz-appearance: none;
49
+ background-color: #fff;
50
+ color: #555;
51
+ }
52
+
53
+ /* Styling dropdown pilihan */
54
+ select {
55
+ background-image: url('https://img.icons8.com/ios/452/down-squared.png');
56
+ background-repeat: no-repeat;
57
+ background-position: right 10px center;
58
+ background-size: 20px;
59
+ padding-right: 40px;
60
+ font-size: 16px;
61
  }
62
 
63
  input:focus, select:focus {
 
66
  box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
67
  }
68
 
69
+ /* Gaya untuk selector mata uang */
70
  .currency-selectors {
71
  display: flex;
72
  justify-content: center;
 
80
  color: #555;
81
  }
82
 
 
83
  button {
84
  padding: 12px 20px;
85
  background-color: #4CAF50;
 
97
  background-color: #45a049;
98
  }
99
 
 
100
  #result {
101
  margin-top: 20px;
102
  font-size: 20px;
 
109
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
110
  }
111
 
 
112
  footer {
113
+ width: 100%;
114
+ background-color: #2D3A3A;
115
+ color: #fff;
116
+ text-align: center;
117
+ padding: 10px 0;
118
  margin-top: 20px;
119
+ border-radius: 8px;
120
  }
121
 
122
+ footer p {
123
+ font-size: 14px;
124
+ }
125
+
126
+ /* Responsif untuk Mobile */
127
  @media (max-width: 768px) {
128
  .container {
129
  padding: 30px;
130
  max-width: 100%;
131
  }
132
+
133
  h1 {
134
  font-size: 1.5rem;
135
  }
 
143
  }
144
  }
145
 
146
+ /* Responsif untuk tampilan yang lebih besar (Tablet ke atas) */
147
  @media (min-width: 769px) {
148
  .container {
149
  max-width: 700px;