mbtiS / style.css
jenny00816's picture
Update style.css
b8aa87a verified
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
color: #333;
}
.container {
max-width: 800px;
margin: 2rem auto;
padding: 1rem;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #4a90e2;
}
p {
text-align: center;
font-size: 1.1rem;
}
.question-block {
margin: 1rem 0;
padding: 1rem;
border-bottom: 1px solid #ddd;
}
.question-block p {
font-weight: bold;
}
.question-block label {
display: block;
margin: 0.3rem 0;
cursor: pointer;
}
button {
display: block;
margin: 2rem auto;
padding: 0.8rem 1.5rem;
font-size: 1rem;
border: none;
border-radius: 4px;
background-color: #4a90e2;
color: #fff;
cursor: pointer;
}
button:hover {
background-color: #357ab8;
}
.hidden {
display: none;
}
#result-text {
white-space: pre-wrap;
font-size: 1rem;
line-height: 1.5;
margin-bottom: 1rem;
padding: 1rem;
background-color: #fafafa;
border: 1px solid #ddd;
border-radius: 4px;
}
#result-image {
display: block;
max-width: 200px;
margin: 1rem auto;
}