Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
@@ -3,6 +3,7 @@ body {
|
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
box-sizing: border-box;
|
|
|
6 |
}
|
7 |
|
8 |
.navbar {
|
@@ -42,6 +43,9 @@ body {
|
|
42 |
background-color: white;
|
43 |
padding: 40px 20px;
|
44 |
margin-top: 20px;
|
|
|
|
|
|
|
45 |
}
|
46 |
|
47 |
.converter-container {
|
@@ -55,6 +59,7 @@ body {
|
|
55 |
border-radius: 12px;
|
56 |
border: 2px solid #ccc;
|
57 |
background-color: #f8f8f8;
|
|
|
58 |
}
|
59 |
|
60 |
.currency-box {
|
@@ -73,6 +78,7 @@ body {
|
|
73 |
padding: 15px;
|
74 |
font-size: 16px;
|
75 |
width: 100%;
|
|
|
76 |
border-radius: 8px;
|
77 |
border: 1px solid #ccc;
|
78 |
box-sizing: border-box;
|
@@ -92,6 +98,8 @@ body {
|
|
92 |
flex-direction: column;
|
93 |
margin: 10px;
|
94 |
flex-grow: 1;
|
|
|
|
|
95 |
}
|
96 |
|
97 |
.currency-group label {
|
@@ -112,10 +120,9 @@ body {
|
|
112 |
background-color: #006400; /* Dark Green */
|
113 |
color: white;
|
114 |
cursor: pointer;
|
115 |
-
padding:
|
116 |
-
border-radius:
|
117 |
border: none;
|
118 |
-
transition: background-color 0.3s;
|
119 |
font-size: 20px;
|
120 |
margin: 10px 0;
|
121 |
height: 50px;
|
|
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
box-sizing: border-box;
|
6 |
+
overflow-x: hidden; /* Prevent horizontal scroll */
|
7 |
}
|
8 |
|
9 |
.navbar {
|
|
|
43 |
background-color: white;
|
44 |
padding: 40px 20px;
|
45 |
margin-top: 20px;
|
46 |
+
display: flex;
|
47 |
+
justify-content: center;
|
48 |
+
align-items: center;
|
49 |
}
|
50 |
|
51 |
.converter-container {
|
|
|
59 |
border-radius: 12px;
|
60 |
border: 2px solid #ccc;
|
61 |
background-color: #f8f8f8;
|
62 |
+
box-sizing: border-box;
|
63 |
}
|
64 |
|
65 |
.currency-box {
|
|
|
78 |
padding: 15px;
|
79 |
font-size: 16px;
|
80 |
width: 100%;
|
81 |
+
max-width: 400px;
|
82 |
border-radius: 8px;
|
83 |
border: 1px solid #ccc;
|
84 |
box-sizing: border-box;
|
|
|
98 |
flex-direction: column;
|
99 |
margin: 10px;
|
100 |
flex-grow: 1;
|
101 |
+
width: 100%;
|
102 |
+
max-width: 180px;
|
103 |
}
|
104 |
|
105 |
.currency-group label {
|
|
|
120 |
background-color: #006400; /* Dark Green */
|
121 |
color: white;
|
122 |
cursor: pointer;
|
123 |
+
padding: 12px 20px;
|
124 |
+
border-radius: 8px;
|
125 |
border: none;
|
|
|
126 |
font-size: 20px;
|
127 |
margin: 10px 0;
|
128 |
height: 50px;
|