test2 / style.css
SG34's picture
Update style.css
715d531 verified
Raw History Blame Contribute Delete
1.16 kB
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: #f4f4f9;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#app {
width: 90%;
max-width: 500px;
background: white;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
}
h1 {
margin-bottom: 20px;
font-size: 1.8em;
}
#question-box, #result-container {
margin-bottom: 20px;
}
.option-btn {
background: #007BFF;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
font-size: 1em;
margin: 10px;
cursor: pointer;
transition: background 0.3s;
}
.option-btn:hover {
background: #0056b3;
}
.hidden {
display: none;
}
#progress {
margin-top: 20px;
}
#mbti-image {
max-width: 100%;
margin-top: 20px;
}
#restart-btn {
background: #28a745;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 1em;
cursor: pointer;
transition: background 0.3s;
}
#restart-btn:hover {
background: #1e7e34;
}