Spaces:
Sleeping
Sleeping
Update templates/sip_calculator.html
Browse files
templates/sip_calculator.html
CHANGED
|
@@ -21,14 +21,19 @@
|
|
| 21 |
border-radius: 10px;
|
| 22 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 23 |
text-align: center;
|
| 24 |
-
width:
|
|
|
|
|
|
|
|
|
|
| 25 |
}
|
| 26 |
input, select, button {
|
| 27 |
-
width: 100%;
|
| 28 |
-
padding:
|
|
|
|
| 29 |
margin: 5px 0;
|
| 30 |
border-radius: 5px;
|
| 31 |
border: 1px solid #ccc;
|
|
|
|
| 32 |
}
|
| 33 |
h1 {
|
| 34 |
color: #333;
|
|
|
|
| 21 |
border-radius: 10px;
|
| 22 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 23 |
text-align: center;
|
| 24 |
+
width: 80%;
|
| 25 |
+
max-width: 1200px;
|
| 26 |
+
margin: 0 auto;
|
| 27 |
+
height: auto;
|
| 28 |
}
|
| 29 |
input, select, button {
|
| 30 |
+
width: calc(100% - 10px); /* Subtracts margin or padding to avoid overflow */
|
| 31 |
+
padding: 15px;
|
| 32 |
+
font-size: 15px;
|
| 33 |
margin: 5px 0;
|
| 34 |
border-radius: 5px;
|
| 35 |
border: 1px solid #ccc;
|
| 36 |
+
box-sizing: border-box; /* Ensures borders and padding fit inside */
|
| 37 |
}
|
| 38 |
h1 {
|
| 39 |
color: #333;
|