Update style.css
Browse files
style.css
CHANGED
|
@@ -1,26 +1,40 @@
|
|
| 1 |
-
/*
|
| 2 |
* {
|
| 3 |
margin: 0;
|
| 4 |
padding: 0;
|
| 5 |
box-sizing: border-box;
|
| 6 |
}
|
| 7 |
|
|
|
|
| 8 |
body {
|
| 9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 10 |
-
background: linear-gradient(135deg, #
|
| 11 |
display: flex;
|
|
|
|
| 12 |
justify-content: center;
|
| 13 |
align-items: center;
|
| 14 |
height: 100vh;
|
| 15 |
color: #333;
|
| 16 |
-
position: relative;
|
| 17 |
}
|
| 18 |
|
| 19 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
.container {
|
| 21 |
background: #ffffff;
|
| 22 |
border-radius: 15px;
|
| 23 |
-
box-shadow: 0
|
| 24 |
padding: 40px;
|
| 25 |
width: 100%;
|
| 26 |
max-width: 600px;
|
|
@@ -28,14 +42,14 @@ body {
|
|
| 28 |
margin: 0 20px;
|
| 29 |
}
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
padding-bottom: 15px;
|
| 35 |
margin-bottom: 20px;
|
|
|
|
| 36 |
}
|
| 37 |
|
| 38 |
-
/* Form
|
| 39 |
input, select {
|
| 40 |
padding: 12px;
|
| 41 |
margin: 10px 0;
|
|
@@ -44,6 +58,8 @@ input, select {
|
|
| 44 |
border-radius: 8px;
|
| 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 |
|
|
@@ -53,21 +69,7 @@ input:focus, select:focus {
|
|
| 53 |
box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
|
| 54 |
}
|
| 55 |
|
| 56 |
-
/* Styling
|
| 57 |
-
.currency-selectors {
|
| 58 |
-
display: flex;
|
| 59 |
-
justify-content: center;
|
| 60 |
-
align-items: center;
|
| 61 |
-
gap: 10px;
|
| 62 |
-
}
|
| 63 |
-
|
| 64 |
-
span {
|
| 65 |
-
font-size: 18px;
|
| 66 |
-
font-weight: 500;
|
| 67 |
-
color: #555;
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
/* Button styles */
|
| 71 |
button {
|
| 72 |
padding: 12px 20px;
|
| 73 |
background-color: #4CAF50;
|
|
@@ -85,61 +87,18 @@ button:hover {
|
|
| 85 |
background-color: #45a049;
|
| 86 |
}
|
| 87 |
|
| 88 |
-
/*
|
| 89 |
-
#result {
|
| 90 |
-
margin-top: 20px;
|
| 91 |
-
font-size: 20px;
|
| 92 |
-
font-weight: bold;
|
| 93 |
-
color: #333;
|
| 94 |
-
background-color: #f4f4f4;
|
| 95 |
-
padding: 15px;
|
| 96 |
-
border-radius: 8px;
|
| 97 |
-
text-transform: uppercase;
|
| 98 |
-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 99 |
-
}
|
| 100 |
-
|
| 101 |
-
/* Footer section styles */
|
| 102 |
footer {
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
.container {
|
| 111 |
-
padding: 30px;
|
| 112 |
-
max-width: 100%;
|
| 113 |
-
}
|
| 114 |
-
|
| 115 |
-
h1 {
|
| 116 |
-
font-size: 1.5rem;
|
| 117 |
-
}
|
| 118 |
-
|
| 119 |
-
input, select {
|
| 120 |
-
font-size: 14px;
|
| 121 |
-
}
|
| 122 |
-
|
| 123 |
-
button {
|
| 124 |
-
font-size: 16px;
|
| 125 |
-
}
|
| 126 |
}
|
| 127 |
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
.
|
| 131 |
-
max-width: 700px;
|
| 132 |
-
}
|
| 133 |
-
|
| 134 |
-
h1 {
|
| 135 |
-
font-size: 2.5rem;
|
| 136 |
-
}
|
| 137 |
-
|
| 138 |
-
input, select {
|
| 139 |
-
font-size: 18px;
|
| 140 |
-
}
|
| 141 |
-
|
| 142 |
-
button {
|
| 143 |
-
font-size: 20px;
|
| 144 |
-
}
|
| 145 |
}
|
|
|
|
| 1 |
+
/* Reset CSS */
|
| 2 |
* {
|
| 3 |
margin: 0;
|
| 4 |
padding: 0;
|
| 5 |
box-sizing: border-box;
|
| 6 |
}
|
| 7 |
|
| 8 |
+
/* Body styling */
|
| 9 |
body {
|
| 10 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 11 |
+
background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
|
| 12 |
display: flex;
|
| 13 |
+
flex-direction: column;
|
| 14 |
justify-content: center;
|
| 15 |
align-items: center;
|
| 16 |
height: 100vh;
|
| 17 |
color: #333;
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
+
/* Header styling */
|
| 21 |
+
header {
|
| 22 |
+
width: 100%;
|
| 23 |
+
background-color: #333;
|
| 24 |
+
color: white;
|
| 25 |
+
padding: 15px 0;
|
| 26 |
+
text-align: center;
|
| 27 |
+
font-size: 1.2rem;
|
| 28 |
+
font-weight: bold;
|
| 29 |
+
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
|
| 30 |
+
margin-bottom: 20px;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
/* Container styling */
|
| 34 |
.container {
|
| 35 |
background: #ffffff;
|
| 36 |
border-radius: 15px;
|
| 37 |
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
| 38 |
padding: 40px;
|
| 39 |
width: 100%;
|
| 40 |
max-width: 600px;
|
|
|
|
| 42 |
margin: 0 20px;
|
| 43 |
}
|
| 44 |
|
| 45 |
+
.container h1 {
|
| 46 |
+
font-size: 2rem;
|
| 47 |
+
color: #2D3A3A;
|
|
|
|
| 48 |
margin-bottom: 20px;
|
| 49 |
+
text-transform: uppercase;
|
| 50 |
}
|
| 51 |
|
| 52 |
+
/* Form inputs and selects */
|
| 53 |
input, select {
|
| 54 |
padding: 12px;
|
| 55 |
margin: 10px 0;
|
|
|
|
| 58 |
border-radius: 8px;
|
| 59 |
border: 1px solid #E0E0E0;
|
| 60 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
| 61 |
+
background-color: #fff;
|
| 62 |
+
color: #555;
|
| 63 |
transition: all 0.3s ease;
|
| 64 |
}
|
| 65 |
|
|
|
|
| 69 |
box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
|
| 70 |
}
|
| 71 |
|
| 72 |
+
/* Styling dropdown and conversion button */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
button {
|
| 74 |
padding: 12px 20px;
|
| 75 |
background-color: #4CAF50;
|
|
|
|
| 87 |
background-color: #45a049;
|
| 88 |
}
|
| 89 |
|
| 90 |
+
/* Footer styling */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
footer {
|
| 92 |
+
width: 100%;
|
| 93 |
+
background-color: #333;
|
| 94 |
+
color: white;
|
| 95 |
+
text-align: center;
|
| 96 |
+
padding: 10px 0;
|
| 97 |
+
position: absolute;
|
| 98 |
+
bottom: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
}
|
| 100 |
|
| 101 |
+
footer p {
|
| 102 |
+
margin: 0;
|
| 103 |
+
font-size: 0.9rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
}
|