93 lines
1.6 KiB
CSS
93 lines
1.6 KiB
CSS
/* General Styles */
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f4f4f4;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background-color: #ffffff;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
label {
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
input, select {
|
|
padding: 8px;
|
|
font-size: 1rem;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
background-color: #f9f9f9;
|
|
width: 100%;
|
|
}
|
|
|
|
input[type="number"] {
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
input[type="number"]::-webkit-outer-spin-button,
|
|
input[type="number"]::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
button {
|
|
padding: 10px;
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
.result {
|
|
margin-top: 20px;
|
|
padding: 20px;
|
|
background-color: #e8f5e9;
|
|
border-radius: 5px;
|
|
border: 1px solid #4CAF50;
|
|
color: #388e3c;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
text-decoration: none;
|
|
color: #4CAF50;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
a:hover {
|
|
color: #388e3c;
|
|
}
|