145 lines
2.4 KiB
CSS
145 lines
2.4 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 20px;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
form {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
input[type="text"],
|
|
select {
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
border: 1px solid #d9534f;
|
|
}
|
|
|
|
.result h2 {
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.result p {
|
|
text-align: center;
|
|
}
|
|
|
|
.details-toggle {
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
|
|
.details-content {
|
|
display: none;
|
|
}
|
|
|
|
.details-toggle::after {
|
|
font-family: 'Font Awesome 5 Free';
|
|
content: "\f107";
|
|
display: inline-block;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.details-toggle.open::after {
|
|
content: "\f106";
|
|
}
|
|
|
|
ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
ul li {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
}
|
|
a {
|
|
color: #20a53a;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
@media screen and (min-width: 768px) {
|
|
input[type="text"],
|
|
select {
|
|
width: 16%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type="submit"] {
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: 1px solid #d9534f;
|
|
cursor: pointer;
|
|
width: 6%;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.result {
|
|
margin-top: 15px;
|
|
padding: 10px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
|
|
.result .info-container {
|
|
box-sizing: border-box;
|
|
padding: 10px;
|
|
margin: 15px 0 5px 0;
|
|
border: 1px solid #d9534f;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 767px) {
|
|
input[type="text"],
|
|
select {
|
|
border-radius: 30px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input[type="submit"] {
|
|
border-radius: 30px;
|
|
padding: 10px 20px;
|
|
font-size: 16px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.result {
|
|
margin-top: 15px;
|
|
padding: 10px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
|
|
}
|
|
}
|