GarGerry commited on
Commit
680fcd9
·
verified ·
1 Parent(s): 73cc482

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +16 -6
style.css CHANGED
@@ -22,17 +22,18 @@ body {
22
  padding: 40px;
23
  width: 100%;
24
  max-width: 400px;
25
- text-align: center;
26
  }
27
 
28
  header h1 {
29
  font-size: 24px;
30
  color: #333;
 
31
  margin-bottom: 20px;
32
  }
33
 
34
  label {
35
  display: block;
 
36
  font-weight: bold;
37
  margin-bottom: 5px;
38
  color: #555;
@@ -40,11 +41,11 @@ label {
40
 
41
  input {
42
  padding: 12px;
43
- margin-bottom: 15px;
44
  width: 100%;
45
  font-size: 16px;
46
  border-radius: 8px;
47
  border: 1px solid #ccc;
 
48
  text-align: center;
49
  font-weight: bold;
50
  }
@@ -53,12 +54,15 @@ input {
53
  display: flex;
54
  align-items: center;
55
  justify-content: space-between;
56
- gap: 10px;
57
- margin-bottom: 15px;
58
  }
59
 
60
  .currency-group {
61
- width: 45%;
 
 
 
 
62
  }
63
 
64
  #swapButton {
@@ -68,7 +72,10 @@ input {
68
  border-radius: 50%;
69
  padding: 10px;
70
  cursor: pointer;
71
- font-size: 16px;
 
 
 
72
  }
73
 
74
  #swapButton:hover {
@@ -91,6 +98,7 @@ button[type="submit"] {
91
  border-radius: 8px;
92
  font-size: 16px;
93
  cursor: pointer;
 
94
  }
95
 
96
  button[type="submit"]:hover {
@@ -105,6 +113,7 @@ button[type="submit"]:hover {
105
  background-color: #f8f8f8;
106
  padding: 15px;
107
  border-radius: 8px;
 
108
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
109
  }
110
 
@@ -112,4 +121,5 @@ footer {
112
  margin-top: 20px;
113
  font-size: 14px;
114
  color: #666;
 
115
  }
 
22
  padding: 40px;
23
  width: 100%;
24
  max-width: 400px;
 
25
  }
26
 
27
  header h1 {
28
  font-size: 24px;
29
  color: #333;
30
+ text-align: center;
31
  margin-bottom: 20px;
32
  }
33
 
34
  label {
35
  display: block;
36
+ font-size: 14px;
37
  font-weight: bold;
38
  margin-bottom: 5px;
39
  color: #555;
 
41
 
42
  input {
43
  padding: 12px;
 
44
  width: 100%;
45
  font-size: 16px;
46
  border-radius: 8px;
47
  border: 1px solid #ccc;
48
+ margin-bottom: 20px;
49
  text-align: center;
50
  font-weight: bold;
51
  }
 
54
  display: flex;
55
  align-items: center;
56
  justify-content: space-between;
57
+ margin-bottom: 20px;
 
58
  }
59
 
60
  .currency-group {
61
+ flex: 1;
62
+ }
63
+
64
+ .currency-group:not(:last-child) {
65
+ margin-right: 10px;
66
  }
67
 
68
  #swapButton {
 
72
  border-radius: 50%;
73
  padding: 10px;
74
  cursor: pointer;
75
+ font-size: 18px;
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: center;
79
  }
80
 
81
  #swapButton:hover {
 
98
  border-radius: 8px;
99
  font-size: 16px;
100
  cursor: pointer;
101
+ width: 100%;
102
  }
103
 
104
  button[type="submit"]:hover {
 
113
  background-color: #f8f8f8;
114
  padding: 15px;
115
  border-radius: 8px;
116
+ text-align: center;
117
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
118
  }
119
 
 
121
  margin-top: 20px;
122
  font-size: 14px;
123
  color: #666;
124
+ text-align: center;
125
  }