135 lines
2.3 KiB
CSS
135 lines
2.3 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
background: #C3C3C3;
|
|
}
|
|
header {
|
|
background-color: #CF9A30;
|
|
color: #EEE8E4;
|
|
text-align: start;
|
|
padding: 20px;
|
|
display: flex;
|
|
}
|
|
main {
|
|
padding: 30px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.box {
|
|
width: 90%;
|
|
padding: 14px;
|
|
background-color: #EBEBEB;
|
|
box-shadow: 1px 2px 2px rgba(0,0,0,0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
.quesen{
|
|
width: 32px;
|
|
height: 32px;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
line-height: 24px;
|
|
color: #CF9A30;
|
|
border-radius: 50px;
|
|
padding-top: 5px;
|
|
background-color: #EBEBEB;
|
|
position: absolute;
|
|
font-style: normal;
|
|
top: 14px;
|
|
left: 60px;
|
|
}
|
|
.title{
|
|
margin-left: 80px;
|
|
font-size: 24px;
|
|
line-height: 20px;
|
|
font-weight: bold;
|
|
margin-right: 60px;
|
|
}
|
|
.nav-bar a {
|
|
line-height: 20px;
|
|
font-size: 20px;
|
|
color: #EEE8E4;
|
|
border: 2px solid #c78501;
|
|
padding: 2px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.question-title {
|
|
width: 100%;
|
|
padding: 20px;
|
|
text-align: center;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
background: #CEEACA;
|
|
margin-bottom: 20px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.question-info {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
background: #fff;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.question-item {
|
|
width: 100%;
|
|
margin: 10px 0;
|
|
padding: 20px;
|
|
background: #fff;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.question-item-title {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.option-item {
|
|
margin: 10px 0;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.option-item input[type="radio"],
|
|
.option-item input[type="checkbox"] {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.text-answer {
|
|
width: 100%;
|
|
min-height: 100px;
|
|
padding: 10px;
|
|
margin-top: 10px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 2px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.back-button {
|
|
margin-top: 20px;
|
|
padding: 5px 15px;
|
|
background: #CF9A30;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 2px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.back-button:hover {
|
|
background: #c78501;
|
|
}
|
|
|
|
.question-list{
|
|
width: 100%;
|
|
} |