Testinghh / style.css
GarGerry's picture
Update style.css
c490b4c verified
raw
history blame
2.01 kB
/* Reset styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #f7f8fa, #e7ebf0);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: #333;
}
.container {
background: #ffffff;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
padding: 40px;
width: 100%;
max-width: 400px;
}
header h1 {
font-size: 24px;
color: #333;
text-align: center;
margin-bottom: 20px;
}
label {
display: block;
font-size: 14px;
font-weight: bold;
margin-bottom: 5px;
color: #555;
}
input {
padding: 12px;
width: 100%;
font-size: 16px;
border-radius: 8px;
border: 1px solid #ccc;
margin-bottom: 20px;
text-align: center;
font-weight: bold;
}
.currency-selectors {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
.currency-group {
flex: 1;
}
.currency-group:not(:last-child) {
margin-right: 10px;
}
#swapButton {
background-color: #ffffff;
color: #333;
border: 1px solid #ccc;
border-radius: 50%;
padding: 10px;
cursor: pointer;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
}
#swapButton:hover {
background-color: #f1f1f1;
}
select {
padding: 12px;
font-size: 14px;
border-radius: 8px;
border: 1px solid #ccc;
width: 100%;
}
button[type="submit"] {
padding: 12px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
width: 100%;
}
button[type="submit"]:hover {
background-color: #0056b3;
}
.result-box {
margin-top: 20px;
font-size: 16px;
font-weight: bold;
color: #333;
background-color: #f8f8f8;
padding: 15px;
border-radius: 8px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
footer {
margin-top: 20px;
font-size: 14px;
color: #666;
text-align: center;
}