200 lines
3.3 KiB
CSS
200 lines
3.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;
|
|
}
|
|
a{
|
|
text-decoration: none;
|
|
}
|
|
.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%;
|
|
height: 68px;
|
|
text-align: center;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: #000;
|
|
background: #CEEACA;
|
|
box-shadow: 1px 2px 2px rgba(0,0,0,0.4);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.question-title:hover{
|
|
background: #FCFF00;
|
|
}
|
|
.but{
|
|
width: 99%;
|
|
height: 40px;
|
|
background-color: #D3D3D3;
|
|
margin-bottom: 25px;
|
|
text-align: center;
|
|
line-height: 40px;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
color: #000000;
|
|
padding: 10px 0 50px 0;
|
|
transition: margin-top 0.3s;
|
|
cursor: pointer;
|
|
}
|
|
hr{
|
|
width: 100%;
|
|
}
|
|
.ctrl-bar{
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin: 20px 0;
|
|
}
|
|
.endtime{
|
|
margin-left: 20%;
|
|
}
|
|
.endtime span{
|
|
margin-right: 16px;
|
|
}
|
|
.pushbut{
|
|
margin-right: 20%;
|
|
}
|
|
.pushbut button{
|
|
margin-right: 10px;
|
|
}
|
|
.quetype{
|
|
margin-top: 20px;
|
|
padding: 20px 20%;
|
|
width: 99%;
|
|
border: 1px solid #b3b3b3;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.quetype button {
|
|
font-size: 16px;
|
|
line-height: 16px;
|
|
padding: 1px 25px;
|
|
}
|
|
|
|
.question-item {
|
|
width: 99%;
|
|
margin: 20px 0;
|
|
padding: 20px;
|
|
background: #fff;
|
|
border: 1px solid #ddd;
|
|
box-shadow: 1px 2px 2px rgba(0,0,0,0.1);
|
|
position: relative;
|
|
}
|
|
|
|
.question-header {
|
|
display: block;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.question-content input[type="text"] {
|
|
width: 100%;
|
|
padding: 8px;
|
|
margin-bottom: 10px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.option-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.option-item input[type="text"] {
|
|
margin-left: 10px;
|
|
width: 80%;
|
|
}
|
|
|
|
.delete-btn {
|
|
padding: 2px 8px;
|
|
background: #ff4d4f;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ctrl-btns {
|
|
display: none;
|
|
position: absolute;
|
|
bottom: 10px;
|
|
right: 10px;
|
|
gap: 10px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
padding: 5px;
|
|
border-radius: 4px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.ctrl-btns button {
|
|
padding: 2px 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.quelist{
|
|
width: 100%;
|
|
}
|
|
|
|
.question-item:hover .ctrl-btns {
|
|
display: flex;
|
|
}
|
|
|
|
.question-content {
|
|
margin-bottom: 40px;
|
|
} |